NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
mherger
Feb 07, 2012Aspirant
Getting "Installation failed" on updates, even on success
Hi, I'm working on an add-on which is returning a generic "Failed to install addon" (ADDON_INST_FAIL) error message when I install it on top of an existing installation (update). At the same time I...
WhoCares_
Feb 07, 2012Mentor
Well, the thing is that the "RESTART_APACHE" thing is a bit misleading. What it means is that you should say "Y" there when you app absolutely requires Apache to be restarted. Now since every add-on comes with it's own tiny piece of Apache config, every add-on actually requires Apache to be restarted on install and removal ;) That's why the line in the remove.sh is present. On the older systems (Sparc, x86) this didn't hurt since install/upgrade/remove processes were started in their own subprocess and were working independently from Apache. On ARM however you'll have the same problem as with installing: since everything is now down in an Apache child process, killing Apache will effectively severe the communications channel between the process and it's monitoring Apache task. To fix this, either apply the same patch as given for the install part or remove the line completely for ARM. You may also want to check out my repo at https://gitorious.org/readynas to get a more sophisticated SDK - although I don't know whether I updated the remove.sh template with the workaround there already.
-Stefan
-Stefan
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!