Instructions for upgrading to official LMS version 7.9
Posted: Wed Mar 22, 2017 1:55 pm
Hi folks,
Thanks to a couple of google-translated german squeezebox forums I've managed to update LMS to the official 7.9 release. Ultimately it came down to an error in the routines.sh file which prevented SSOAS/SSODS from recognizing anything higher than version 7.8.
While an easier method may be possible, the fix below does require some command line skill (but certainly not much... my own capacity here is very basic). For info, I'm running ADM 2.6.6.RCF2 on an AS6104T.
1) login to your NAS via ssh:
If you don't know how to do this, the easiest route may be to install the app 'Shell in a Box' from AppCentral and then launch that, using your admin credentials to login. Alternatively this can be done using Putty on windows (http://www.chiark.greenend.org.uk/~sgtatham/putty/ or Terminal on a mac.
Note: if you haven't already done so, you may first need to enable ssh access on your NAS, which can be done via: Services > Terminal (port 22 should already be set).
2) find the routines.sh file:
From the root directory, use 'find' to search for the routines.sh file:
It may take a few seconds, but the terminal should output something that includes the following (or similar): ./volume1/.@plugins/AppCentral/lms/ssoas/libexec/ssods/routines.sh
3) just to be safe, make a copy of the current routines.sh file and place it in the admin's home folder:
4) using the vi editor, edit routines.sh to accept the 7.9 upgrade:
This will open the file in the vi editor.
Press "a" to enter edit mode.
Scroll down, using the down arrow, to find the line:
(this was on line 69/444 in my file)
Edit this line to add a "9" in the sequence of allowed versions. In other words, it should read:
Save the file and exit the vi editor by pressing ":wq" (i.e. write and quit; don't forget the colon)
And that's it... close the ssh terminal and proceed to use the instructions from here viewtopic.php?f=54&t=4037 to upgrade LMS to 7.9 via http://NAS-IP:9099.
PS - you can download the recently-released official LMS version 7.9 here: http://downloads.slimdevices.com/Logite ... -7.9.0.tgz
Ideally this fix gets incorporated into an official Asustor LMS package eventually (cc: , but in the meantime, I hope this works as smoothly for others as it did for me.
Thanks to a couple of google-translated german squeezebox forums I've managed to update LMS to the official 7.9 release. Ultimately it came down to an error in the routines.sh file which prevented SSOAS/SSODS from recognizing anything higher than version 7.8.
While an easier method may be possible, the fix below does require some command line skill (but certainly not much... my own capacity here is very basic). For info, I'm running ADM 2.6.6.RCF2 on an AS6104T.
1) login to your NAS via ssh:
If you don't know how to do this, the easiest route may be to install the app 'Shell in a Box' from AppCentral and then launch that, using your admin credentials to login. Alternatively this can be done using Putty on windows (http://www.chiark.greenend.org.uk/~sgtatham/putty/ or Terminal on a mac.
Note: if you haven't already done so, you may first need to enable ssh access on your NAS, which can be done via: Services > Terminal (port 22 should already be set).
2) find the routines.sh file:
Code: Select all
cd /
Code: Select all
find -name "routines.sh"
3) just to be safe, make a copy of the current routines.sh file and place it in the admin's home folder:
Code: Select all
cd ./volume1/.@plugins/AppCentral/lms/ssoas/libexec/ssods/
Code: Select all
cp routines.sh routines.sh ~
Code: Select all
vi ./volume1/.@plugins/AppCentral/lms/ssoas/libexec/ssods/routines.sh
Press "a" to enter edit mode.
Scroll down, using the down arrow, to find the line:
Code: Select all
ssversion=`sed -n 's/^[^#]*\$VERSION[ \t]*=[ \t]*'"'"'\([012345678\.]*\)'"'"'[ \t]*;/\1/p' ${SSBIN} 2>/dev/null`
Edit this line to add a "9" in the sequence of allowed versions. In other words, it should read:
Code: Select all
ssversion=`sed -n 's/^[^#]*\$VERSION[ \t]*=[ \t]*'"'"'\([0123456789\.]*\)'"'"'[ \t]*;/\1/p' ${SSBIN} 2>/dev/null`
And that's it... close the ssh terminal and proceed to use the instructions from here viewtopic.php?f=54&t=4037 to upgrade LMS to 7.9 via http://NAS-IP:9099.
PS - you can download the recently-released official LMS version 7.9 here: http://downloads.slimdevices.com/Logite ... -7.9.0.tgz
Ideally this fix gets incorporated into an official Asustor LMS package eventually (cc: , but in the meantime, I hope this works as smoothly for others as it did for me.