Bug 13595 - 7.4 install over 7.3.3 doesn't work in Ubuntu
: 7.4 install over 7.3.3 doesn't work in Ubuntu
Status: VERIFIED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.4.0
: PC Ubuntu Linux
: P4 major (vote)
: 7.4.1
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-21 17:17 UTC by Ross Levine
Modified: 2009-10-21 09:45 UTC (History)
7 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Levine 2009-08-21 17:17:57 UTC
2009-08-21 17:11:21 Squeezebox Server died. Restarting.

This is repeated many times in server.log. /etc/init.d/ shows squeezebox, squeezeboxserver, and squeezecenter. Looks to me like 7.3.3 isn't being removed? 

Reproduction steps: install 7.3.3 via downloading the .deb file from our site. While that is running install 7.4 nightly via downloading the .deb file from our site. Squeezebox server doesn't start.
Comment 1 Pat Farrell 2009-08-23 14:56:12 UTC
I have replicated this on Debian Lenny
Comment 2 James Richardson 2009-08-26 21:09:16 UTC
Matt/Mark: this needs to be addressed before release of 7.4, is this possible or should we get Micheal's input as well.
Comment 3 Pat Farrell 2009-09-13 14:35:34 UTC
Again, Debian Lenny....
Latest nightly breaks in a new way. apt-get upgrade output:

WARNING: The following packages cannot be authenticated!
  squeezeboxserver
Install these packages without verification [y/N]? y
Get:1 http://debian.slimdevices.com unstable/main squeezeboxserver 7.4~28505 [26.8MB]
Fetched 26.8MB in 17s (1523kB/s)                                                                                                                
(Reading database ... 85404 files and directories currently installed.)
Preparing to replace squeezeboxserver 7.4~28494 (using .../squeezeboxserver_7.4~28505_all.deb) ...
Stopping Squeezebox Server.
Unpacking replacement squeezeboxserver ...
Setting up squeezeboxserver (7.4~28505) ...
Installing new version of config file /etc/squeezeboxserver/modules.conf ...
chown: changing ownership of `/var/lib/squeezeboxserver/cache/squeezebox-mysql.pid': No such file or directory
dpkg: error processing squeezeboxserver (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 squeezeboxserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comment 4 Mickey Gee 2009-10-06 11:44:05 UTC
More info on this issue from another Ubuntu user:

I now have the Squeezebox Server working. It sees my USB drive and plays the music. I purged the 7.3.3 install (it kept forcing firmware upgrades). When I purged that install, it told me that /var/lib still maintained a squeezecenter folder. So I removed both that folder and the squeezeserver folder. When I re-installed 7.4, it was forced to reconstruct all settings and saw my Music Library
Comment 5 Andy Grundman 2009-10-15 14:40:03 UTC
I can't reproduce this issue:

Debian Lenny fresh install

Installed 7.3.4 deb, SC starts up fine.
  /etc/squeezecenter
  /var/lib/squeezecenter
  /usr/share/squeezecenter
  /usr/share/doc/squeezecenter
  /usr/sbin/squeezecenter_safe
  /usr/sbin/squeezecenter-server
  /usr/sbin/squeezecenter-cleanup
  /usr/sbin/squeezecenter-scanner
  /var/lib/dpkg/info/squeezecenter.*
  /var/log/squeezecenter
  /var/run/squeezecenter.pid

# dpkg -i squeezeboxserver_7.4.1~28871_all.deb 
Selecting previously deselected package squeezeboxserver.
dpkg: considering removing squeezecenter in favour of squeezeboxserver ...
dpkg: yes, will remove squeezecenter in favour of squeezeboxserver.
(Reading database ... 25962 files and directories currently installed.)
Unpacking squeezeboxserver (from squeezeboxserver_7.4.1~28871_all.deb) ...
Stopping SqueezeCenter Audio Server.
Setting up squeezeboxserver (7.4.1~28871) ...
Adding system user `squeezeboxserver' (UID 106) ...
Adding new user `squeezeboxserver' (UID 106) with group `nogroup' ...
Not creating home directory `/usr/share/squeezeboxserver'.
Making sure that Squeezebox Server is not running first: No squeezeboxserve 
found running; none killed.
Starting Squeezebox Server.

This worked perfectly, 7.3.4 was stopped and 7.4 started OK.  Of course, all 
the squeezecenter dirs listed above are left laying around so the filesystem is 
quite a mess, but that's by design.
Comment 6 Ross Levine 2009-10-15 18:43:06 UTC
I'm so far still unable to reproduce this, I'd like to give another few hours at it though. Pat are you still able to reproduce?
Comment 7 Pat Farrell 2009-10-15 18:54:09 UTC
No, I can't. Something changed to improve it.

Perhaps it fixed itself or more likely some other change fixed this as well.

It was easy to reproduce last month.

With the mainline users going to 7.4 with the Radio, if its still a problem, you will be hearing from them.
Comment 8 James Richardson 2009-10-19 10:10:15 UTC
Marking this one as fixed for now, we can reopen it we hear back on the bug after the release of 7.4.1
Comment 9 James Richardson 2009-10-20 07:41:11 UTC
Ross confirms that upgrade install from 7.3.3/7.4.0 functions properly now with 7.4.1