Tuesday, April 3, 2012

Upgrading Logitech Media Server on Ubuntu

Now I've pretty much given up trying to run my slimserver natively on Solaris due to lack of free time, I thought I'd remind myself how to upgrade in Ubuntu (running in a virtual box) as I am a total noob...

  1. cp -pr /var/lib/squeezeboxserver /var/lib/squeezeboxserver.old
  2. wget http://downloads.slimdevices.com/LogitechMediaServer_v7.7.2/logitechmediaserver_7.7.2_all.deb
  3. dpkg --purge logitechmediaserver
  4. dpkg -i logitechmediaserver_7.7.2_all.deb
  5. If any problems are present such as the plugins tab not showing the 3rd party option, then repeat step 2, then mv /var/lib/squeezeboxserver /var/lib/squeezeboxserver.old and repeat step 3.
  6. Revert to original preferences by
    1. /etc/rc3.d/S20logitechmediaserver stop
    2. mv /var/lib/squeezeboxserver/prefs /var/lib/squeezeboxserver/prefs.orig
    3. cp -pr  /var/lib/squeezeboxserver.old/prefs /var/lib/squeezeboxserver
    4.  /etc/rc3.d/S20logitechmediaserver start
And that's it. The config was saved even though I "purged" and the server started up again automatically and started a rescan of my library.