Tx, in the end somehow running the lmsupdate cmd again downloaded 8.1.0
and it upgraded fine.
It'd be really good if the LMS stable release upgrade could be done via
the UI and in an easy form, like it is on Windows (the taskbar icon
shows an update is available and downloaded, you can review the new
changes and then it's one click to update).
As it tends to be a sporadic thing, it's easy to forget all the various
steps.
Code:
--------------------
$ sudo lms-update.sh -r
###############################################################
This script will update the Logitech Media Server extension
usage: /usr/local/bin/lms-update.sh [-u] [-d] [-m] [-r] [-s] [-t]
-u Unattended Execution
-d Debug, Temp files not erased
-m Manual download Link Check for LMS update
-r Reload LMS after Update
-s Skip Update from GitHub
-t Test building, but do not move extension to tce directory
--mm <version> Force the version you want to update. (eg 7.9.1)
Automatic Reload Enabled
###############################################################
Press Enter to continue, or Ctrl-c to exit and change options
Updateing Script from Github...
Connecting to raw.githubusercontent.com (151.101.60.133:443)
lms-update.sh 100% |********************************| 15780 0:00:00
ETA
Relaunching Script in 3 seconds
Updateing Slimserver customizations from Github...
Connecting to raw.githubusercontent.com (151.101.60.133:443)
custom-strings.txt 100% |********************************| 1180 0:00:00
ETA
Connecting to raw.githubusercontent.com (151.101.60.133:443)
picore-update.html 100% |********************************| 1240 0:00:00
ETA
Connecting to raw.githubusercontent.com (151.101.60.133:443)
Custom.pm 100% |********************************| 2697 0:00:00
ETA
Connecting to raw.githubusercontent.com (151.101.60.133:443)
slimserver 100% |********************************| 3957 0:00:00
ETA
Downloading update from
http://downloads.slimdevices.com/LogitechMediaServer_v8.1.0/logitechmediaserver-8.1.0-noCPAN.tgz
Connecting to downloads.slimdevices.com (13.35.193.89:80)
logitechmediaserver- 100% |********************************| 20.3M 0:00:00
ETA
Loading Local Extension squashfs-tools.tcz
All files tested good.
Checking Dependancies for squashfs-tools.tcz...
squashfs-tools.tcz already on system....OK
Dependancy check complete for squashfs-tools.tcz.
squashfs-tools.tcz: OK
Updating from /tmp/slimupdate/logitechmediaserver-8.1.0-noCPAN.tgz
Extracting Update.../
Tar Extraction Complete, Building Updated Extension Filesystem
Press Enter to continue, or Ctrl-c to exit
Updateing Script from Github...
Connecting to raw.githubusercontent.com (151.101.60.133:443)
lms-update.sh 100% |********************************| 15780 0:00:00
ETA
Relaunching Script in 3 seconds
Updateing Slimserver customizations from Github...
Connecting to raw.githubusercontent.com (151.101.60.133:443)
custom-strings.txt 100% |********************************| 1180 0:00:00
ETA
Connecting to raw.githubusercontent.com (151.101.60.133:443)
picore-update.html 100% |********************************| 1240 0:00:00
ETA
Connecting to raw.githubusercontent.com (151.101.60.133:443)
Custom.pm 100% |********************************| 2697 0:00:00
ETA
Connecting to raw.githubusercontent.com (151.101.60.133:443)
slimserver 100% |********************************| 3957 0:00:00
ETA
Downloading update from
http://downloads.slimdevices.com/LogitechMediaServer_v8.1.0/logitechmediaserver-8.1.0-noCPAN.tgz
Connecting to downloads.slimdevices.com (13.35.193.89:80)
logitechmediaserver- 100% |********************************| 20.3M 0:00:00
ETA
Loading Local Extension squashfs-tools.tcz
All files tested good.
Checking Dependancies for squashfs-tools.tcz...
squashfs-tools.tcz already on system....OK
Dependancy check complete for squashfs-tools.tcz.
squashfs-tools.tcz: OK
Updating from /tmp/slimupdate/logitechmediaserver-8.1.0-noCPAN.tgz
Extracting Update.../
Tar Extraction Complete, Building Updated Extension Filesystem
Press Enter to continue, or Ctrl-c to exit
Update in progress .../tmp/slimupdate/lms-update.sh
Done Updating Files. The files are ready to be packed into the new extension
Press Enter to continue, or Ctrl-c to exit
Creating extension, it may take a while ... especially on rpi 0/A/B/A+/B+
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /tmp/slimserver.tcz, block size 131072.
[=============================================================/] 2429/2429
100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, no xattrs
duplicates are removed
Filesystem size 20386.09 Kbytes (19.91 Mbytes)
44.76% of uncompressed filesystem size (45545.48 Kbytes)
Inode table size 26929 bytes (26.30 Kbytes)
29.18% of uncompressed inode table size (92284 bytes)
Directory table size 26751 bytes (26.12 Kbytes)
44.27% of uncompressed directory table size (60430 bytes)
Number of duplicate files found 63
Number of inodes 2855
Number of files 2250
Number of fragments 163
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 605
Number of ids (unique uids + gids) 2
Number of uids 1
root (0)
Number of gids 1
staff (50)
Ready to Reload LMS, Press Enter to Continue
--------------------
------------------------------------------------------------------------
mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=112456
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix