Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: chrislaurie on November 13, 2009, 08:51:51 AM

Title: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: chrislaurie on November 13, 2009, 08:51:51 AM
I want to upgrade my squeezecenter to the new squeezeboxserver. So far I have uninstallled squeezecenter via yum and then installed squeezeboxserver via yum, using the wiki http://wiki.contribs.org/SqueezeCenter (http://wiki.contribs.org/SqueezeCenter) and replacing the names etc as I go along.

The result looks good but the service won't start - I get the following in the log file:

Use of uninitialized value in subroutine entry at /usr/share/squeezeboxserver/CPAN/YAML/Syck.pm line 75

Does anybody have any idea on how to overcome this?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: chrislaurie on November 13, 2009, 12:04:38 PM
Seems to be an issue with SqueezeBoxServer:
http://forums.slimdevices.com/showthread.php?t=70120 (http://forums.slimdevices.com/showthread.php?t=70120)
http://forums.slimdevices.com/showthread.php?t=69507 (http://forums.slimdevices.com/showthread.php?t=69507)
http://forums.slimdevices.com/showthread.php?t=70472 (http://forums.slimdevices.com/showthread.php?t=70472)

The /var/lib/squeezeboxserver/prefs/server.prefs file is empty. I don't know why, bt seems like the RH/Centos install via yum is wonky.

I tried to copy and edit my old server.prefs  from squeezecenter but no luck.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on November 27, 2009, 01:06:48 AM
Did you find any solution to this? I'm stuck with the same problem :-(

Regards, Mark Leman
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: chrislaurie on November 27, 2009, 07:58:39 AM
Not yet. I uninstalled SqueezeboxServer and reverted back to 7.33. I just checked the above slimdevices forum threads and on 21 Nov 2009 some guy said the problem is still there.

I'll try again in a month or so to see if they fixed it. I think there is something amiss with rpm, a file is being left out or was not initialised properly.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on November 27, 2009, 04:49:18 PM
I did get a bit further by

Code: [Select]
touch  /var/lib/squeezeboxserver/prefs/server.prefs
chown squeezeboxserver:squeezeboxserver /var/lib/squeezeboxserver/prefs/server.prefs
service squeezeboxserver start

I did at one point edit server.prefs and put a space in it so it was not zero bytes long, I can't recall if that was needed ;-)

But at some point I noticed server.prefs had filled up with lots of config values.
 
I noticed "allowedHosts:" line in server.prefs was set to my external IP so I changed that to my internal one.
 
now the service starts, /var/log/messages contains no problems, but it must have died because "service squeezeboxserver stop" does not find the service to stop :-(

I found the squeezebox wiki page on debugging install issues and am working through that, will report back later....

Regards, Mark Leman
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: chrislaurie on November 27, 2009, 05:43:37 PM
I also got that far. Have you checked /var/log/squeezeboxserver ?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on November 27, 2009, 08:18:41 PM
Having looked in /etc/rc.d/init.d/squeezeboxserver and  /etc/sysconfig/squeezeboxserver I found the squeezeboxserver executable in /usr/libexec
 
So I tried:
Code: [Select]
/usr/libexec/squeezeboxserver --prefsdir=/var/lib/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver --cachedir=/var/lib/squeezeboxserver/cache --charset=utf8
but it does not like running as root, so I tried
Code: [Select]
sudo -u squeezeboxserver /usr/libexec/squeezeboxserver --prefsdir=/var/lib/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver --cachedir=/var/lib/squeezeboxserver/cache --charset=utf8
and got:
Code: [Select]
[09-11-27 16:38:31.9852] main::init (320) Starting Squeezebox Server (v7.4.1, r28947, Tue Oct 20 07:59:38 PDT 2009) perl 5.008005
Segmentation fault

Hum, no clue in /var/log/messages or /var/log/squeezeboxserver :-( and just to make it worse I tried to install the rpm using yum on a Fedora12 virtual machine I made the other day and it worked first go :-( :-(

(and now this reply is not appearing properly in IE8 but is in chrome - prehaps this is not a good day to debug ;) )
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on November 27, 2009, 11:16:56 PM
Just to rub salt in to the wounds, I quickly tried an install on an SME8b4 virtual machine using my notes from yesterday and it worked!

Notes on install of Squeezebox server to SME8b4 based on Contribs.org howto:

Read http://wiki.contribs.org/SqueezeCenter
Saw http://www.mysqueezebox.com/download
Looked in http://repos.slimdevices.com/yum/squeezecenter/release/
Saw that 'SqueezeCenter' is now 'Squeezebox Server' so tried:

Code: [Select]
db yum_repositories set squeezecenter-release repository \
BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/ \
EnableGroups no \
GPGCheck no \
GPGKey http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter \
Name 'SqueezeCenter Release Repository' \
Visible no \
status disabled

Code: [Select]
signal-event yum-modify

Code: [Select]
yum --enablerepo=squeezecenter-release install squeezeboxserver

Did not need 'ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99squeezecenter' as RPM appears to do the job now
Code: [Select]
db configuration set squeezeboxserver service \
status enabled \
TCPPorts 9000,3483 \
UDPPorts 9000,3483 \
access private
Code: [Select]
signal-event remoteaccess-update
Code: [Select]
mkdir -p /opt/squeezeboxserver/playlists
mkdir -p /opt/squeezeboxserver/music
chown squeezeboxserver:squeezeboxserver /opt/squeezeboxserver/playlists
chown squeezeboxserver:squeezeboxserver /opt/squeezeboxserver/music
Code: [Select]
service squeezeboxserver start

Successfully navigated to http://myserver:9000/
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: christian on November 29, 2009, 03:27:16 PM
markleman,
Once you are comfortable with the changes for sme8, could you update the wiki accordingly?

and once that is done you can update status at:
http://wiki.contribs.org/SME8.0_Contribs_QA

Thanks. It will help others.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on November 29, 2009, 09:36:43 PM
Quote
Once you are comfortable with the changes for sme8, could you update the wiki accordingly?
Of course :-). I had the sme8b4 virtual machine ready because I was trying to check the howto I wrote for firefiymedia server ran. Unfortunatly that fell at the first hurdle and I have not had time to resolve the issue.

Regards, Mark Leman
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on December 01, 2009, 07:29:17 PM
I followed this up at http://forums.slimdevices.com/showthread.php?t=69507 and the advice there was that the version of perl on Centos4 is causing the problem.  I will try to check this out with a virgin install on SME and Centos4.x in two virtual machines followed by a test install of  squeezeboxserver.

If it turns out correct then I am not sure where it leaves  squeezeboxserver  on SME7. I can't recall seeing instructions for upgrading perl on SME and considering how much of SME uses perl it might be a bit risky. At least virtual machines are disposable  ;-)

Personally if I can't upgrade Perl I will probably migrate over to SME8b4.

Regards, Mark Leman
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on December 04, 2009, 12:55:36 AM
:) :) :) :)
Following a lot of help and advice from user mherger over on the slimdevices forums I have it working  - squeezeboxserver-7.4.1-1 on SME7 that is!
:) :) :) :)

The method is to install Perl 5.10.0 in parallel with the existing perl version on SME7 and then apply a few patches to make squeezeboxserver use it.

I will test procedure again on a fresh SME7 virtual machine and then write it up, if you can't wait have a look at http://forums.slimdevices.com/showthread.php?t=69507

Regards, Mark Leman
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on December 08, 2009, 01:43:22 AM
Tonight I have tested my install notes on a fresh virtual SME7. The notes are below but without much fancy formatting, instead I am creating a how-to page http://wiki.contribs.org/SqueezeBoxServer (http://wiki.contribs.org/SqueezeBoxServer) to document them.

ssh to server as root:

db yum_repositories set squeezecenter-release repository \
BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/ \
EnableGroups no \
GPGCheck no \
GPGKey http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter \
Name 'SqueezeCenter Release Repository' \
Visible no \
status disabled

signal-event yum-modify

yum --enablerepo=squeezecenter-release install squeezeboxserver

db configuration set squeezeboxserver service \
status enabled \
TCPPorts 9000,3483 \
UDPPorts 9000,3483 \
access private

signal-event remoteaccess-update

mkdir -p /opt/squeezeboxserver/playlists
mkdir -p /opt/squeezeboxserver/music
chown squeezeboxserver:squeezeboxserver /opt/squeezeboxserver/playlists
chown squeezeboxserver:squeezeboxserver /opt/squeezeboxserver/music

cd /usr/local
wget http://www.herger.net/slim/perl510.tgz
tar -xzf perl510.tgz

check perl has installed ok with:
/usr/local/perl510/bin/perl5.10.0 -v

ln -s /usr/local/perl510/bin/perl5.10.0 /usr/local/bin/
ln -s /usr/share/squeezeboxserver/CPAN/ /usr/libexec/CPAN

Next 3 stages need to be repeated after any upgrade.

edit first line of '/usr/libexec/squeezeboxserver' and '/usr/libexec/squeezeboxserver-scanner'
from
#!/usr/bin/perl -w
to
#!/usr/local/bin/perl5.10.0 -w

edit '/usr/lib/perl5/vendor_perl/Slim/bootstrap.pm'

At line 142 add
@INC = grep { $_ !~ /5\.8/ } @INC;

To test:
sudo -u squeezeboxserver /usr/libexec/squeezeboxserver --prefsdir=/var/lib/squeezeboxserver/prefs --logdir=/var/log/squeezeboxserver --cachedir=/var/lib/squeezeboxserver/cache --charset=utf8 --d_startup --s_stdout

ctrl-c will stop

To start service
service squeezeboxserver start

access web interface at 'http://my_servers_ip:9000/'

logs are in /var/log/squeezeboxserver/

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on December 08, 2009, 02:43:51 AM
Chris - please could you edit the name of this thread and add [Solved] to it.
Title: [Solved] Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: chrislaurie on December 13, 2009, 09:43:16 AM
I can confirm the methodology as put in the wiki works. I now have SqueezeboxServer running on SME7.4

Thanks A LOT to Mark Leman for sorting out this issue!

Now if I can figure out (or find someone who has already), how to add mplayer to SME, then I can alos listen to the BBC streams...

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: tmort on December 17, 2009, 12:26:17 PM
I'm trying to install squeezeboxserver via the method in the wiki and am not having any success.  I started with the commands at the beginning (I tried it two ways:

[root@localhost ~]# db yum_repositories set squeezecenter-release repository \
> BaseURL http://repos.slimdevices.com/yum/squeezecenter/release/
-bash: db: command not found
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# db yum_repositories set squeezecenter-release repository \
>
-bash: db: command not found


Does this method still work, is something broken or am I doing something wrong?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: Stefano on December 17, 2009, 02:53:44 PM
I suspect that something is broken, as "db" command should work

please search th forums and bugzilla; if you don't find anything usefull, please raise a bug in bugzilla, thank you
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on February 02, 2010, 07:58:58 PM
Thanks!

Got 7.4.1. working now. I was quite used to it because I ran this version on my Windows workstation  :oops: before getting everything working on the SMEserver.

7.4.1 has some benefits over 7.3, for example adding tracks to the current playlist which I missed as soon as I switched  ;)
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on April 09, 2010, 09:58:41 PM
Works like a charm! Just updated to 7.5.0
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: markleman on April 09, 2010, 10:06:11 PM
Excellent, I am glad the instructions still work fine  :-).
I had not noticed that 7.5 was out yet - so thats the next 30mins gone!

Regards, Mark Leman
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 16, 2010, 02:32:09 PM
Tried this install this on 7.5.1, had an error saying invalid repository now when I try again I get this;

[root@****** ~]# yum --enablerepo=squeezecenter-release install squeezeboxserver
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

Any ideas? Im sure its not a bug and that I'm missing something obvious!

G
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: Stefano on July 16, 2010, 03:19:10 PM
just wait for yum to finish, then retry
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 19, 2010, 03:46:09 PM
Stefano

Tried again today still have;

Existing lock /var/run/yum.pid: another copy is running. Aborting.

Can I stop yum manually?

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: Stefano on July 19, 2010, 03:53:28 PM
no, you should go to bugzilla and file a bug.. :-)
thank you
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 19, 2010, 03:59:19 PM
maxdog, Stefano

I thought that it is safe enough to just delete /var/run/yum.pid under those circumstances
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 19, 2010, 04:08:25 PM
no, you should go to bugzilla and file a bug.. :-)
thank you

thanks Stefano, have done
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 19, 2010, 04:26:33 PM
maxdog, Stefano

I thought that it is safe enough to just delete /var/run/yum.pid under those circumstances

Mary

thanks for your swift reply

 /var/run/yum.pid doesn't appear to exist? :(

Cheers

G

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: CharlieBrady on July 19, 2010, 04:31:12 PM
I thought that it is safe enough to just delete /var/run/yum.pid under those circumstances

No, that is not a good idea.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 19, 2010, 10:09:41 PM
maxdog

From a previous post I made.

> Existing lock /var/run/yum.pid: another copy is running.

Indicates another yum process started before the previous one had completed. Could be because you were impatient or maybe the network or Internet lost the connection during the yum process.

Please allow ample time for yum to finish, a large update could take 10 or 20 minutes and even longer on a slow connection.
Typically 5 minutes or so with a fast server & fast broadband connection.

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 19, 2010, 10:22:24 PM
Here is the bug report
http://bugs.contribs.org/show_bug.cgi?id=6134

Something strange is going on, refer to the bug report.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 27, 2010, 12:38:28 PM
OK so the bug has been closed and I still cant install squeezebox;

Existing lock /var/run/yum.pid: another copy is running.

server has been rebooted and left for 30 mins

then;

[root@newton ~]# ps ax|grep yum
 3526 ?        Ss     0:00 runsv yum
 3569 ?        S      0:00 /usr/local/bin/multilog t s5000000 /var/log/yum
 6129 pts/0    S+     0:00 grep yum

and

[root@newton ~]# killall yum
yum: no process killed


'I'm out of my depth here. Something horrible is going on but I'm not sure what.'
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 27, 2010, 01:44:42 PM
maxdog

Did you correct the base URL of that repo as per comment 22 in the bug ?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 28, 2010, 01:16:06 PM
Mary

I did try that though Charlie did explain they weren't needed in comment 24, result was the same.
I'm away for a couple of weeks now so will start from the top when I get back, thanks for your help.

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 28, 2010, 08:37:09 PM
maxdog

Are you following the instructions here
http://wiki.contribs.org/SqueezeBoxServer#Installation

The bug report mentions trying to install an rpm named squeezebox, but the rpm to install is squeezeboxserver
ie from the wiki do
yum --enablerepo=squeezecenter-release install squeezeboxserver

If you look in
http://repos.slimdevices.com/yum/squeezecenter/release/
you see the rpm's available

As I see the issue, and Charlie correctly identified that in the bug report, you are asking yum to find and install squeezebox, which does not exist !

Try again following the wiki more carefully.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 29, 2010, 08:32:45 AM

Hi Mary

I'm following the instuctions here:

http://wiki.contribs.org/SqueezeBoxServer

for stable release



Tried this install this on 7.5.1, had an error saying invalid repository now when I try again I get this;

[root@****** ~]# yum --enablerepo=squeezecenter-release install squeezeboxserver
Loading "fastestmirror" plugin
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

Any ideas? Im sure its not a bug and that I'm missing something obvious!

G
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: Stefano on July 29, 2010, 09:06:05 AM
just a curiosity: is your server connected to internet?
did you run the test from admin console?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 29, 2010, 11:40:47 AM
Stefano

Yes internet is connected - Ive just VPN'd the server from my current location and re run the test - reports 'Internet connection successful'

I think there may have been a problem accessing the repo when I first tried it, then I get the problem when I subsequently try to install.

Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 29, 2010, 12:11:57 PM
maxdog

Does
yum update
appear to run without error ?

What does this show
db yum_repositories show squeezecenter-release

I just followed the wiki instructions to add the release repo and run the yum install and it works fine first go, so something is not right with your system.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on July 29, 2010, 12:25:44 PM
Hi Mary

Yes Yum update runs without error and I've also installed RKhunter while the problem exists with Squeezeboxserver.

Last login: Thu Jul 29 10:34:32 2010 from 192.168.1.222
[root@newton ~]# db yum_repositories show squeezecenter-release
squeezecenter-release=repository
    BaseURL=http://repos.slimdevices.com/yum/squeezecenter/release/
    EnableGroups=no
    GPGCheck=no
    GPGKey=http://repos.slimdevices.com/yum/squeezecenter/RPM-GPG-KEY-SqueezeCenter
    Name=SqueezeCenter Release Repository
    Visible=no
    status=disabled
[root@newton ~]#


Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on July 29, 2010, 03:53:46 PM
maxdog

do

yum clean all

& then try the installing squeezeboxserver again
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: janet on August 01, 2010, 01:17:17 AM
maxdog

Quote
I'm following the instructions here:
http://wiki.contribs.org/SqueezeBoxServer
for stable release

......Which says to install the package named squeezeboxserver.
In the bug report you use strace commands which refer to a package named squeezebox. Charlie did ask for that, but he also said to change the name if you used a different yum install "differentpackage" command.

I think you should re-open the bug report and re-submit the correct diagnostic information that Charlie asked for, but using the correct command appropriate for what you are trying to do.
ie you should have done
 strace -f -s500 -o/tmp/yi.strace yum install -y squeezeboxserver

Whereas Bug report Comments said
> > [root@newton ~]# strace -f -s500 -o/tmp/yi.strace yum install -y squeezebox
> > Loading "fastestmirror" plugin
> > Loading "protect-packages" plugin
> > Loading "installonlyn" plugin
> > Loading "smeserver" plugin
> > Setting up Install Process
> > Setting up repositories
> > Loading mirror speeds from cached hostfile
> > Reading repository metadata in from local files
> > Excluding Packages from CentOS - os
> > Finished
> > Excluding Packages from CentOS - updates
> > Finished
> > Parsing package install arguments
> > No Match for argument: squeezebox
> > Nothing to do
> > cat: /var/run/yum.pid: No such file or directory
> > [root@newton ~]#
>
> I don't see a yum "another copy running" error message here - do you?
>
> This is the problem you have been telling us about:
>
>   Existing lock /var/run/yum.pid: another copy is running. Aborting.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: maxdog on August 01, 2010, 11:52:21 AM

Mary

did as you suggested;



maxdog

do

yum clean all

& then try the installing squeezeboxserver again


then squeezeboxserver installed cleanly

many thanks for your help

 
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on September 18, 2011, 08:25:06 PM
Hi all,

I managed to get SBS 7.6.1 - r33110 up and running via the method mentioned earlier in this topic.

1 one changed, the location to add @INC = grep { $_ !~ /5\.8/ } @INC; in bootstrap.pm changed from line 142 to 143.

I have a problem however. When I install new plugins, the SBS keeps requesting to restart. No matter how many times I tried (button in SBS, from root by using service squeezeboxserver stop and start, and even a full reboot), it keeps requesting to restart.

The log in /var/log/squeezeboxserver states":
Code: [Select]
[11-09-18 20:01:24.9980] Slim::Utils::Misc::msg (1236) Warning: [20:01:24.9973] cannot unlink file for /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE: Permission denied at /usr/lib/perl5/vendor_perl/Slim/Utils/PluginManager.pm line 776
[11-09-18 20:01:24.9996] Slim::Utils::Misc::msg (1236) Warning: [20:01:24.9992] cannot restore permissions to 0100644 for /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE:  at /usr/lib/perl5/vendor_perl/Slim/Utils/PluginManager.pm line 776

Anybody has any idea why the permission is denied?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: cactus on September 18, 2011, 09:35:57 PM
Anybody has any idea why the permission is denied?
What is the output of:
Code: [Select]
ls -la /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on September 18, 2011, 09:47:35 PM
Code: [Select]
-rw-r--r--  1 root root 17987 Apr  8  2010 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE

aha, so a simple chmod to 755 of this directory could do the trick?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on September 18, 2011, 09:50:21 PM
Strange thing going on, all my other plugins directories are OK, but the files are all -rw-r--r--
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: cactus on September 18, 2011, 10:01:05 PM
Code: [Select]
-rw-r--r--  1 root root 17987 Apr  8  2010 /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/AutoRescan/LICENSE

aha, so a simple chmod to 755 of this directory could do the trick?
I doubt that, it is owned by root, not sure why, but my guess it should not be root:root. Is squeezebox ran under apache? Is it run as a seperate process if so under what credentials?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on September 18, 2011, 10:21:54 PM
How can I find out?

Latest log entry's after restart:

Code: [Select]
[11-09-18 22:19:57.8175] Slim::Utils::Misc::msg (1236) Warning: [22:19:57.8172] Use of uninitialized value in split at /usr/lib/perl5/vendor_perl/Slim/Control/Queries.pm line 3957

[11-09-18 22:19:57.1158] Slim::Utils::Misc::msg (1236) Warning: [22:19:57.1153] Use of uninitialized value $protocol in hash element at /usr/lib/perl5/vendor_perl/Slim/Player/ProtocolHandlers.pm line 43.
[11-09-18 22:19:57.1163] Slim::Utils::Misc::msg (1236) Warning: [22:19:57.1160] Use of uninitialized value $protocol in exists at /usr/lib/perl5/vendor_perl/Slim/Player/ProtocolHandlers.pm line 47.
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: cactus on September 18, 2011, 10:25:03 PM
There seems to go something wrong in the SqueezeBox Slimserver code. I think you are better off in slimdevices forums  at http://forums.slimdevices.com
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on November 02, 2011, 09:27:46 AM
Anybody already updated to 7.7.0, now called Logitech Media Server ?
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: holck on November 02, 2011, 09:54:08 PM
I did, and it works :-)

One thing to note:
The wiki http://wiki.contribs.org/SqueezeBoxServer (http://wiki.contribs.org/SqueezeBoxServer) tells you to add a line of code after line 142 in the file  /usr/lib/perl5/vendor_perl/Slim/bootstrap.pm . This is not line 142 anymore.

You should around line 148 find some code like
Code: [Select]
        # This works like 'use lib'
        # prepend our directories to @INC so we look there first.
        unshift @INC, @SlimINC;

And change this to
Code: [Select]
        # This works like 'use lib'
        # prepend our directories to @INC so we look there first.
        @INC = grep { $_ !~ /5\.8/ } @INC;
        unshift @INC, @SlimINC;
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on November 02, 2011, 09:59:29 PM
OK, also the line

Code: [Select]
yum --enablerepo=squeezecenter-release install squeezeboxserver
has to be changed to

Code: [Select]
yum --enablerepo=squeezecenter-release install logitechmediaserver
I did an install on a new SME 7.5.1 VMWare server. For me it even works without changing the bootstrap.pm file  :-?

DLNA streaming of movies straight to my Philips TV worked very well by the way! Also music streaming to the TV works quite well. Not that I will ever use it with the Squeezebox receiver next to it, but anyway.......
Title: Re: Upgrade to squeezeboxserver from squeezecenter - service won't start
Post by: SuperGrover on December 17, 2011, 05:02:22 PM
Haha, updated to 7.7.1:

(http://i282.photobucket.com/albums/kk247/DaSuperGrover/Schermafdrukop2011-12-17135257.png)

but status bar still states:

(http://i282.photobucket.com/albums/kk247/DaSuperGrover/Schermafdrukop2011-12-17135334.png)

For the rest, also my plugin problems disappeared after installing 7.7.0