QNAP: Logitech Media Server Upgrade (TS-670)

How to upgrade.

  1. Download tarball from http://downloads.slimdevices.com/nightly/index.php. Currently 7.7 stream.

    For TS-670: “Logitech Media Server: Unix Tarball (for Perl 5.8-5.18, i386, x86_64, i386 FreeBSD, ARM EABI, PowerPC)”

    Tip: From QNAP CLI, use wget: wget http://downloads.slimdevices.com/nightly/7.8/sc/8df5e68/logitechmediaserver-7.7.4-1397251079.tgz

  2. Browse to http://nas:9099.
  3. Click Status and stop SSOTS service.

Note: My TS-670 (QTS: 4.0.7) Public directory is in /share/CACHEDEV1_DATA/ as opposed to /share/MD0_DATA/ and there is very little space available in MD0_DATA. To get around this, I created a symlink.

  1. Move / Copy the downloaded file to /share/CACHEDEV1_DATA/Public,
  2. Set permissions on /share/CACHEDEV1_DATA/Public:

    chown 777 /share/CACHEDEV1_DATA/Public

    chgrp everyone /share/CACHEDEV1_DATA/Public

  3. Rename the file: mv logitechmediaserver-x.x.x-xyz.tgz
    squeezeboxserver-x.x.x-xyz.tgz
    .
  4. Change directory: cd /share/MD0_DATA/
  5. Create directory Public: mkdir Public
  6. Set permission on the new Public directory:

    chown 777 /share/CACHEDEV1_DATA/Public

    chgrp everyone /share/CACHEDEV1_DATA/Public

  7. Change directory to new Public directory: cd Public.
  8. Create symbolic link to actual file:

    ln -s /share/Public/squeezeboxserver-7.7.4-1397251079.tgz squeezeboxserver-7.7.4-1397251079.tgz (substituting the name of your file).

    This creates a symlink (symbolic link) to the actual file, allowing the file to reside where there is plenty of space, whilst SSOTS can detect it in its hardcoded locations.

  9. Click Tools > Upgrade SqueezeboxServer > Next.
  10. The new version will (should) be listed.

  11. Click Install squeezeboxserver-7.7.4-1397251079.tgz
  12. Once finished, click start Squeezebox Server.

 

 

I too had the same issues as described in the following reference: http://forum.qnap.com/viewtopic.php?f=123&t=75086&start=15

 

For reference, my file system.

 

Filesystem            Size        Used         Available Use%     Mounted on

Versions

7.x stream is the Logitech media server, whereas 10.x is the new-ish UE version. For the UE version, and I quote:

You may not want to upgrade if: You use the Logitech Media Server to play music from attached NAS storage devices or using 3rd party developer plug-ins. The Smart Radio platform does not support NAS nor Squeezebox 3rd party developer plug-ins.

Therefore, as I only have a Smart Radio, I guess there’s no point in upgrading, although, I am not exactly sure what the UE binaries give you. I tried installing 7.9.x, however I got an error “Unsupported Version”.

 

Scan file system

Nothing to do with LMS, but I rebooted and got a file system error. My attempts to check the disk.

Reference: http://dev.mensfeld.pl/2013/08/qnap-nas-file-system-not-clean-examination-failed-cannot-unmount-disk/

Requires 64-bit version of e2fsck. Check version: /opt/sbin/fsck ? Returns:

[/] # /opt/sbin/fsck

fsck 1.41.14 (22-Dec-2010)

e2fsck 1.41.14 (22-Dec-2010)

Use ipkg to update: ipkg install e2tools.

/etc/init.d/services.sh stop

/etc/init.d/opentftp.sh stop

/etc/init.d/Qthttpd.sh stop

umount
/dev/mapper/cachedev1

e2fsck -f -v
-C 0 /dev/mapper/cachedev1

mount
/dev/mapper/cachedev1

reboot

 

Couldn’t get e2fsck to work:

Attempted to update e2fsck, using ipkg, but the newest version in ipkg was 1.41.14 (22 Dec 2010). Shutdown service and umount’d file system then using web gui, ran check on Volumes, using Actions > Check File System, then rebooted.

Most QNAP’s seem to be /dev/md0.

If you can’t umount, check what has a lock on the file system: lsfo +f – /dev/mapper/cachedev1

One thought on “QNAP: Logitech Media Server Upgrade (TS-670)

Please feel free to leave a comment...