Bugzilla – Bug 15426
Applets must be reinstalled after firmware upgrade
Last modified: 2011-05-06 12:59:32 UTC
I am running Squeezebox Server 7.5 on a Synology DS-107+, which means I frequently get firmware updates to my Controller. I am currently running version 7.5.0-r8290 I have a few applets installed on my Controller, but every time the firmware has been upgraded, I need to reinstall them before they work. This is not so big a problem with the ones that are installed from repositories, because I can just use the "Reinstall all" feature, and they are working again, but I also have a few applets that I have installed manually (by placing them in the /usr/share/jive/applets folder). The weird thing is that if I SSH into the Controller and look in the applets folder, all the applet files are still there, including the ones that are not working - but I have to upload them again (overwriting the existing files) and reboot the Controller before the applets work. The files that I'm uploading are completely identical to the ones that are already there, so it doesn't make sense that they don't work - does it?
(In reply to comment #0) > I have a few applets installed on my Controller, but every time the firmware > has been upgraded, I need to reinstall them before they work. This one seems to have been taken care of with the "Reinstall after firmware upgrade" feature in the latest firmware (7.5.0-r8313). > but I also > have a few applets that I have installed manually (by placing them in the > /usr/share/jive/applets folder). This one persists, though.
(In reply to comment #1) > (In reply to comment #0) > > I have a few applets installed on my Controller, but every time the firmware > > has been upgraded, I need to reinstall them before they work. > > This one seems to have been taken care of with the "Reinstall after firmware > upgrade" feature in the latest firmware (7.5.0-r8313). Correction: Applets are not working at all now, no matter whether I reinstall them manually or I use the automatic "Reinstall after FW upgrade" option.
> Correction: Applets are not working at all now, no matter whether I reinstall > them manually or I use the automatic "Reinstall after FW upgrade" option. I am changing the Importance to major, as this bug now affects all applets: After firmware upgrade, none of my applets are working. Reinstalling from the Controller does not help - the only solution is to open an SSH connection to the Controller and manually upload the applet files to /usr/share/jive/applets. Again, the files are already in the folder, so all I do is to overwrite them with identical files, but it works, and the normal reinstall does not. I'm now using FW version 8380.
Felix is this in your area?
(In reply to comment #4) > Felix is this in your area? Just a quick update: I am now on firmware 8432 and the problem remains. It was solved momentarily around version 8391 (if I recall correctly), but the problem came back with the next firmware. I have found out that after a firmware upgrade the folders of the applets in question have been emptied, so it is not the case (as initially described) that all the applet files are there after the upgrade - only the main folder of the applet remains, but all content has been erased. Hope this helps.
Chris - not really. I think Triode is the architect of this feature.
Adrian - is this something you've been working on?
7.5 is intended to reinstall all applets installed via applet installer and is succesfully doing it for me on radio and touch. Could this be a problem with controller (must admit I've not tested that). Can you confirm the test case. You need an active server when you upgrade the firmware as the squeezeplay application will wait 5 seconds and then try to connect to the servers and then reinstall the applets. Can you confirm your server is available at the point the firware upgrade happens. Is there any error in /var/log/messages when you install via applet installer?
(In reply to comment #8) > 7.5 is intended to reinstall all applets installed via applet installer and is > succesfully doing it for me on radio and touch. This morning when I installed firmware 7.5.0-r8462, there was a slight change of behaviour: This time, a few of my applets "survived" the upgrade, while others still didn't. These applets were still there after the upgrade: CustomClock ScreenSwitcher Weather while these directories under /usr/share/jive/applets were empty: DanskRadio DaylightClock Lyrics SqueezeIR > Could this be a problem with controller (must admit I've not tested that). Can > you confirm the test case. You need an active server when you upgrade the > firmware as the squeezeplay application will wait 5 seconds and then try to > connect to the servers and then reinstall the applets. Can you confirm your > server is available at the point the firware upgrade happens. Yes, I have an active server connection after FW upgrades. > Is there any error in /var/log/messages when you install via applet installer? The missing applets do not appear in the applet installer (and no, the "Whow inly recommended applets" is not checked), so I can't check. I am attaching my current messages file.
Created attachment 6495 [details] /var/log/messages file from SB Controller
If the missing applets don't appear in the applet installer list then this will explain why they are not automatically reinstalled. What happens is that the firmware upgrade removes all applets. When the device restarts after the upgrade it then sends a query to the server(s) to get the latest list of applets using its new version number. If there are responses which match the applet names which were installed and auto install is enabled it will then automatically reinstall them. Note this means it may reinstall a newer version as it installs the version which the server has responded to. So it sounds like you problem this time is the applets missing from the applet installer list. I don't know why that is - it could be because these applets are no longer in the repos you have defined or that they are not valid for the version of firmware you are now running. To check this you could enable plugin.extensions debugging on the server before you go into the applet installer screen to see which applets it is finding.
Perhaps the solution for you, Mikkel, is to use a release version of the firmware to more accurately simulate a user experience, so that you don't have to reinstall constantly.
(In reply to comment #12) > Perhaps the solution for you, Mikkel, is to use a release version of the > firmware to more accurately simulate a user experience, so that you don't have > to reinstall constantly. You mean install a stable release of SBS (i.e. 7.4)? I never had this problem when I ran SBS 7.4, so I'm sure it would solve the problem. Still, this must be a bug in 7.5, so it would be better to get it fixed. But as Adrian notes (thanks for explaining!), it might just be that the applets that are not installed are not officially compatible with SBS 7.5, and therefore they are not reinstalled after the upgrade.
Moving lower-priority bugs to next target
I think this is addressed by the feature of applet installer in 7.5 to reinstall after upgrade (selectable as an option from its top level menu). Suggest we close this bug and report any bugs against that functionality if people find cases where it does not work.
Closing this bug as suggested by Adrian.
Apps are remaining after the FW upgrade from 7.5 to 7.6