Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


(well, one remaining issue, which I don't think is related, is that on a
restart it will hang for a lng time, many minutes, running 100% cpu
with this being the final message in the logs:

[19-05-11 20:40:21.1934] Plugins::TrackStat::Storage::refreshTracks
(1242) TrackStat: Synchronizing TrackStat data, please wait...

)



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


Well, that was fun.

The answer?

MANY MANY ".dpkg-new" and ".dpkg-tmp" files scattered throughout the
/usr/share/perl5/Slim/ tree. Once I'd trawled through these and renamed
the most recent one to the correct name, LMS is starting up just fine
and running perfectly, with all plugins in place.

Long and short answer: broken DPKG update.



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


Don't know if its' relevant but on enabling debug for "server.plugins"
I'm getting lots of:

[19-05-11 17:07:30.8917] Slim::Utils::Strings::string (526) Error:
missing string PLUGIN_FAVORITES_ADD
[19-05-11 17:07:30.8923] Slim::Utils::Strings::string (526) Error:
missing string PLUGIN_FAVORITES_REMOVE



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


Hmm, so the explanation for port 9090 not working is simple .. the CLI
interface runs as a plugin, and no plugins are currently working .. !

Any ideas on debugging that?



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


So on startup I got the following:

2019-05-11 16:52:31 squeezeboxserver_safe started.
[19-05-11 16:52:31.9410] main::init (387) Starting Logitech Media Server
(v7.9.2, 1557550305, Sat May 11 07:16:51 CEST 2019) perl 5.028001 -
i686-linux-gnu-thread-multi-64int
[19-05-11 16:52:32.1993] Slim::Control::Request::execute (1868) Request
in error, returning
[19-05-11 16:52:32.3760] Slim::Networking::SqueezeNetwork::_error (576)
Unable to login to SN: Invalid mysqueezebox.com username or password.
[19-05-11 16:52:32.3761] Slim::Networking::SqueezeNetwork::_init_error
(185) Unable to login to mysqueezebox.com, sync is disabled: Invalid
mysqueezebox.com username or password. (https://www.mysqueezebox.com)
[19-05-11 16:52:32.3764] Slim::Networking::SqueezeNetwork::_init_error
(201) mysqueezebox.com sync init failed: Invalid mysqueezebox.com
username or password., will retry in 261000
(https://www.mysqueezebox.com)
[19-05-11 16:52:34.1719] Slim::Web::Cometd::handler (422)
errorNeedsClient: 00:04:20:26:3b:cd, status, -, 10, menu:menu,
useContextMenu:1, subscribe:600
[19-05-11 16:55:10.0281] Slim::Networking::IO::Select::__ANON__ (131)
Error: Select task failed calling Slim::Web::HTTP::processHTTP: Can't
call method "findUrl" on an undefined value at
/usr/share/perl5/Slim/Web/Pages/Trackinfo.pm line 33.
; fh=Slim::Web::HTTP::ClientConn=GLOB(0x58775fc)
[19-05-11 16:55:34.3103] Slim::Utils::Misc::msg (1253) Warning:
[16:55:34.3101] Use of uninitialized value in concatenation (.) or
string at /usr/share/squeezeboxserver/HTML/Default/cmdwrappers_Default
line 26.
[19-05-11 16:55:34.3106] Slim::Utils::Misc::msg (1253) Warning:
[16:55:34.3105] Use of uninitialized value in concatenation (.) or
string at /usr/share/squeezeboxserver/HTML/Default/cmdwrappers_Default
line 26.


and now I literally have zero Plugin support. Although plugins still
exist in /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins the
Server Settings page that allows you to select plugins is -blank-,
nothing there at all just the text that says "You can install Plugins
below".. except you can't..

The rest of the files are unchanged, the cache folder contains all my
original plugins, the prefs for those plugins are still there in
/var/lib/squeezeboxserver and so on.



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


Yuck. Well, LMS has started, but I'm not happy about the mess of perl
modules all over my box (well, this OS was built nearly 20 years ago and
upgraded ever since, I guess it's time to do a reinstall!), and it looks
like I need to reinstall the skin to get the webserver interface looking
nice again after the LMS upgrade.

So, I kinda trust Debian to do upgrades that keep *debian* alive, but
I'd have to admit there's more and more anciliaries that break each time
I do it ..!



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


More perl nonsense:

# /usr/sbin/squeezeboxserver
"my" variable $err masks earlier declaration in same scope at
/usr/share/squeezeboxserver/CPAN/AnyEvent/Handle.pm line 1773.
Compilation failed in require at /usr/share/perl5/Slim/Web/HTTP.pm line
12.
BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Web/HTTP.pm
line 12.
Compilation failed in require at /usr/share/perl5/Slim/Player/Client.pm
line 33.
Compilation failed in require at /usr/share/perl5/Slim/Utils/Alarm.pm
line 48.
BEGIN failed--compilation aborted at
/usr/share/perl5/Slim/Utils/Alarm.pm line 48.
Compilation failed in require at /usr/share/perl5/Slim/Buttons/Alarm.pm
line 12.
BEGIN failed--compilation aborted at
/usr/share/perl5/Slim/Buttons/Alarm.pm line 12.
Compilation failed in require at /usr/share/perl5/Slim/Buttons/Common.pm
line 41.
BEGIN failed--compilation aborted at
/usr/share/perl5/Slim/Buttons/Common.pm line 41.
Compilation failed in require at /usr/sbin/squeezeboxserver line 230.
BEGIN failed--compilation aborted at /usr/sbin/squeezeboxserver line
230.



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread Michael Herger

.. so it compiled as root, but when running as "squeezeboxserver" it's
falling over because of really odd permissions down the
/usr/share/perl5/Slim tree.


chmod -R a+r /usr/share/perl5/Slim


--

Michael
___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


Well, I found the slimserver-vendor CPAN git libraries and ran
"buildme.sh" and tried to copy in the arch/5.28/i686-.. folder to the
base /usr/lib/squeezeboxserver/CPAN/arch folder.
This works to a point, as root I get this:

# /usr/sbin/squeezeboxserver
[19-05-11 15:30:22.6350] main::init (387) Starting Logitech Media Server
(v7.9.2, 1557550305, Sat May 11 07:16:51 CEST 2019) perl 5.028001 -
i686-linux-gnu-thread-multi-64int
[19-05-11 15:30:22.6386] main::changeEffectiveUserAndGroup (1004)
Warning: Logitech Media Server must not be run as root!  Trying user
squeezeboxserver instead.
[19-05-11 15:30:22.6435] Slim::Utils::PluginManager::init (74) Failed to
load plugin downloader: Can't locate Slim/Utils/PluginDownloader.pm:  
/usr/share/squeezeboxserver/CPAN/arch/5.28/i686-linux-gnu-thread-multi-64int/Slim/Utils/PluginDownloader.pm:
Permission denied at /usr/share/perl5/Slim/Utils/PluginManager.pm line
69.
[19-05-11 15:30:22.7067] main::init (513) Warning: Can't locate
Slim/Networking/SqueezeNetwork.pm:  
/usr/share/squeezeboxserver/CPAN/arch/5.28/i686-linux-gnu-thread-multi-64int/Slim/Networking/SqueezeNetwork.pm:
Permission denied at /usr/sbin/squeezeboxserver line 513.


.. so it compiled as root, but when running as "squeezeboxserver" it's
falling over because of really odd permissions down the
/usr/share/perl5/Slim tree.

Still looking at this now.



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2019-05-11 Thread drmatt


Hi all,
Can anyone remind me the process for rebuilding LMS for a new perl
release? I wound up with perl 5.28.1 while trying to get something else
working on my i386 server and even the latest nightlies don't seem to
support it yet .. :(
I downloaded from here
http://downloads.slimdevices.com/nightly/?ver=7.9
Cheers!



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..

drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2018-12-08 Thread baggins


DJanGo wrote: 
> After you fiddle that out - the wiki would be proud of having a fedora
> Howto like the Debian one ;-)

Well actually, two years ago I fiddled that out when I installed LMS,
totally unaware of the perl hassles. It was only later that I realised
there were some issues with perl and possibly other stuff. 
Unfortunately I have no idea anymore what I did then...
That is in fact the reason why that server is still running F23. I
disabled all updates in order to avoid breaking LMS... 

So it looks like I would have to do a forced update of the rpm
package...

On the other hand, I also downloaded the tarball and gave that a try on
another machine without issues. So I could use that instead. I only
wonder how upgrades are done then...



baggins's Profile: http://forums.slimdevices.com/member.php?userid=63843
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2018-12-08 Thread DJanGo


baggins wrote: 
> Your link refers to a Debian install. Is there also some documentation
> available for Fedora?

After you fiddle that out - the wiki would be proud of having a fedora
Howto like the Debian one ;-)



DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2018-12-08 Thread baggins


DJanGo wrote: 
> Always start with making a backup
> 
> then find your perl version
> 
> find the matching lms here
> http://wiki.slimdevices.com/index.php/Debian_Package#Supported_Perl_Versions
> 
> upgrade perl
> http://rpm.pbone.net/index.php3?stat=3&search=perl&srodzaj=3&dist[]=100


Thanks.

My perl version is:
$ perl -v|grep 5
This is perl 5, version 22, subversion 2 (v5.22.2) built for
x86_64-linux-thread-multi

That seems to be OK for 7.9.2
Your link refers to a Debian install. Is there also some documentation
available for Fedora?



baggins's Profile: http://forums.slimdevices.com/member.php?userid=63843
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Upgrading LMS

2018-12-08 Thread DJanGo


Always start with making a backup

then find your perl version

find the matching lms here
http://wiki.slimdevices.com/index.php/Debian_Package#Supported_Perl_Versions

upgrade perl
http://rpm.pbone.net/index.php3?stat=3&search=perl&srodzaj=3&dist[]=100



DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=109858

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix