Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread Michael Herger

No you can see on that folder listing it hasn't been updated for 8 days.


Right. Now I'm utterly confused: the scanner should run in its own 
process, logging to its own log file. I don't understand why its logging 
would go to server.log. Is this a customized installation, or pretty 
much standard .deb file on some Debian based system? Or pCP?

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


Re: [SlimDevices: SqueezeCenter] Local Player/Squeezelite Crashing

2021-08-30 Thread Michael Herger

I'm having trouble keeping the Local Player stable; it'll run for 24
hours or more, then suddenly crash. The log shows:


[21-08-29 21:26:36.6387] Slim::Schema::Storage::throw_exception
(121) Error: DBI Exception: DBD::SQLite::st execute failed: database is
locked [for Statement "DELETE FROM tracks WHERE ( id = ? )" with
ParamValues: 1=739418]


That's not the player crashing, but the server locking up. Are you 
running scheduled scans? Could this be around the time when such a scan 
happens? It looks as if two processes were trying to modify the database.

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


Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread jezbo


mherger wrote: 
> The scanner.log is always created anew. If you check timestamps you'd 
> see they are updated, right?

No you can see on that folder listing it hasn't been updated for 8 days.



muso developer
6 x SB3, 4 x SBBoom, 1 x SBTouch, rPi-4 based LMS on 2TB SSD (80,000+
tracks)
Marantz, Denyo, & Bantam amps, 
Harbeth, Mordaunt Short & Monitor Audio speakers
Heed Canamp + Beyerdynamic headphones

jezbo's Profile: http://forums.slimdevices.com/member.php?userid=9888
View this thread: http://forums.slimdevices.com/showthread.php?t=115063

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


[SlimDevices: SqueezeCenter] Local Player/Squeezelite Crashing

2021-08-30 Thread typecrazy789


I'm having trouble keeping the Local Player stable; it'll run for 24
hours or more, then suddenly crash. The log shows:


[21-08-29 21:26:36.6387] Slim::Schema::Storage::throw_exception
(121) Error: DBI Exception: DBD::SQLite::st execute failed: database is
locked [for Statement "DELETE FROM tracks WHERE ( id = ? )" with
ParamValues: 1=739418]
[21-08-29 21:26:36.6391] Slim::Schema::Storage::throw_exception (121)
Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/Slim/Schema/Storage.pm line
121)
frame 1: Slim::Schema::Storage::throw_exception
(/DBIx/Class/Storage/DBI.pm line 1006)
frame 2: DBIx::Class::Storage::DBI::__ANON__
(/DBIx/Class/Storage/DBI.pm line 1287)
frame 3: DBIx::Class::Storage::DBI::_dbh_execute
(/DBIx/Class/Storage/DBI.pm line 590)
frame 4: (eval) (/DBIx/Class/Storage/DBI.pm line 581)
frame 5: DBIx::Class::Storage::DBI::dbh_do
(/DBIx/Class/Storage/DBI.pm line 1297)
frame 6: DBIx::Class::Storage::DBI::_execute
(/DBIx/Class/Storage/DBI.pm line 1429)
frame 7: DBIx::Class::Storage::DBI::delete (/DBIx/Class/Row.pm line
556)
frame 8: DBIx::Class::Row::delete
(/DBIx/Class/Relationship/CascadeActions.pm line 19)
frame 9: DBIx::Class::Relationship::CascadeActions::delete
(/Slim/Schema.pm line 2380)
frame 10: Slim::Schema::_checkValidity (/Slim/Schema.pm line 829)
frame 11: Slim::Schema::objectForUrl (/Slim/Player/Song.pm line 89)
frame 12: Slim::Player::Song::new
(/Slim/Player/StreamingController.pm line 673)
frame 13: Slim::Player::StreamingController::_getNextTrack
(/Slim/Player/StreamingController.pm line 927)
frame 14: Slim::Player::StreamingController::_RetryOrNext
(/Slim/Player/StreamingController.pm line 287)
frame 15: Slim::Player::StreamingController::_eventAction
(/Slim/Player/StreamingController.pm line 2230)
frame 16: Slim::Player::StreamingController::playerReadyToStream
(/Slim/Player/Squeezebox2.pm line 153)
frame 17: Slim::Player::Squeezebox2::statHandler
(/Slim/Networking/Slimproto.pm line 852)
frame 18: Slim::Networking::Slimproto::_stat_handler
(/Slim/Networking/Slimproto.pm line 401)
frame 19: Slim::Networking::Slimproto::client_readable
(/Slim/Networking/IO/Select.pm line 122)
frame 20: (eval) (/Slim/Networking/IO/Select.pm line 118)
frame 21: Slim::Networking::IO::Select::__ANON__
(/Slim/Networking/IO/Select.pm line 167)
frame 22: (eval) (/Slim/Networking/IO/Select.pm line 167)
frame 23: Slim::Networking::IO::Select::loop (slimserver.pl line
730)
frame 24: main::idle (slimserver.pl line 680)
frame 25: main::main (slimserver.pl line 131)
frame 26: PerlSvc::Interactive (/PerlSvc.pm line 99)
frame 27: PerlSvc::_interactive (slimserver.pl line 0)
frame 28: (eval) (slimserver.pl line 0)

Any ideas what might be triggering this or do I need to post more of the
log? I'm presuming this is the "database is locked" issue but I'm not
sure what that might be referring to. Thanks in advance!



typecrazy789's Profile: http://forums.slimdevices.com/member.php?userid=68049
View this thread: http://forums.slimdevices.com/showthread.php?t=115065

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread Michael Herger

It's odd though because I'd already installed libdigest-sha-perl when
trying to fix it:


Oh, please install libdigest-sha1-perl, too
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread Michael Herger

OK I've just invoked another *rescan playlists* through the CLI and it
finished OK this time (in 21 seconds). My scanner.log still has the same


I was pretty sure this was some temporary "accident". Good to know it's 
working as expected!



5 lines from 8 days ago though, should a playlist scan be logged there?
Should I check file permissions?


The scanner.log is always created anew. If you check timestamps you'd 
see they are updated, right?


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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-30 Thread bstrulo


mherger wrote: 
> If you started the panel from the command line, would you get to see any
> 
> error? Or in the event log?

Start from the command line: immediately returns, then splash screen,
then nothing.

Nothing in the event log.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread intraclast


Hi,

I've removed the installation, and installed the arm version as
follows:

Code:

sudo apt-get remove --purge logitechmediaserver
  
  wget 
https://downloads.slimdevices.com/nightly/8.2/lms/e8392d8321caa9dbc4d49c6548a7ed7a6fc976c2/logitechmediaserver_8.2.1~1628483320_arm.deb
  
  sudo dpkg -i logitechmediaserver_8.2.1~1628483320_arm.deb



I still the same message when running the server manually with
--d_startup

Code:

The following modules failed to load: Digest::SHA1



It's odd though because I'd already installed libdigest-sha-perl when
trying to fix it:

Code:

osmc@vero4k:~$ apt list libdigest-sha-perl
  Listing... Done
  libdigest-sha-perl/oldstable 6.02-1+b1 arm64
  libdigest-sha-perl/oldstable,now 6.02-1+b1 armhf [installed]



Like you say I shouldn't have to manually install all this, at least I
never did before when I was installing on my Vero4k.  It was always the
all.deb packaged I had used before.

Thanks again for all your help.



intraclast's Profile: http://forums.slimdevices.com/member.php?userid=41806
View this thread: http://forums.slimdevices.com/showthread.php?t=115062

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


Re: [SlimDevices: SqueezeCenter] SSOTS still needed on QNAP 4.2.6 and QLogitechMediaServer v2.2.1 (=LMS 8.3.0) ??

2021-08-30 Thread dolodobendan


daksol wrote: 
> Without SSOTS is it possible to stop/start/restart the LMS via web
> interface?

QLMS has no own web interface. You can start and stop QLMS like any
other app in QNAP's AppCenter.



QLMS 8.3@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=115056

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


Re: [SlimDevices: SqueezeCenter] SSOTS still needed on QNAP 4.2.6 and QLogitechMediaServer v2.2.1 (=LMS 8.3.0) ??

2021-08-30 Thread daksol


Without SSOTS is it possible to stop/start/restart the LMS via web
interface?

Or only by commandline with commands like as per below (stop, start,
restart)


Code:

/etc/init.d/services.sh restart



Thanks



daksol's Profile: http://forums.slimdevices.com/member.php?userid=52603
View this thread: http://forums.slimdevices.com/showthread.php?t=115056

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


Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread jezbo


Permissions on scanner.log look OK:

pi@raspberrypi:/var/log/squeezeboxserver $ ls -l
total 480
-rw-r--r-- 1 squeezeboxserver nogroup  0 Feb 20  2021 perfmon.log
-rw-r--r-- 1 squeezeboxserver nogroup608 Aug 22 14:30 scanner.log
-rw-r--r-- 1 squeezeboxserver nogroup 293981 Aug 30 17:34 server.log
-rw-r--r-- 1 squeezeboxserver nogroup  50681 Aug 28 21:37
server.log.1.gz
-rw-r--r-- 1 squeezeboxserver nogroup  27811 Aug 27 23:22
server.log.2.gz
-rw-r--r-- 1 squeezeboxserver nogroup  25441 Aug 26 09:05
server.log.3.gz
-rw-r--r-- 1 squeezeboxserver nogroup   8748 Aug 25 09:03
server.log.4.gz
-rw-r--r-- 1 squeezeboxserver nogroup  63173 Aug 22 22:18
server.log.5.gz



muso developer
6 x SB3, 4 x SBBoom, 1 x SBTouch, rPi-4 based LMS on 2TB SSD (80,000+
tracks)
Marantz, Denyo, & Bantam amps, 
Harbeth, Mordaunt Short & Monitor Audio speakers
Heed Canamp + Beyerdynamic headphones

jezbo's Profile: http://forums.slimdevices.com/member.php?userid=9888
View this thread: http://forums.slimdevices.com/showthread.php?t=115063

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


Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread jezbo


OK I've just invoked another *rescan playlists* through the CLI and it
finished OK this time (in 21 seconds). My scanner.log still has the same
5 lines from 8 days ago though, should a playlist scan be logged there?
Should I check file permissions?

These extra lines were in server.log:

[21-08-30 17:22:40.7839] Slim::Utils::Scanner::Local::rescan (179)
Discovering audio files in /storage/music/playlist
[21-08-30 17:22:41.5426] Slim::Utils::Scanner::Local::__ANON__ (191)
Start processing found tracks
[21-08-30 17:22:41.5429] Slim::Utils::Scanner::Local::__ANON__ (199)
Connect do DB
[21-08-30 17:22:41.5432] Slim::Utils::Scanner::Local::__ANON__ (202) Get
latest ID
[21-08-30 17:22:41.5438] Slim::Utils::Scanner::Local::__ANON__ (224)
Delete temporary table if exists
[21-08-30 17:22:41.5442] Slim::Utils::Scanner::Local::__ANON__ (227)
Re-build temporary table
[21-08-30 17:22:42.5247] Slim::Utils::Scanner::Local::__ANON__ (276) Get
deleted tracks count
[21-08-30 17:22:43.2766] Slim::Utils::Scanner::Local::__ANON__ (283) Get
new tracks count
[21-08-30 17:22:43.2772] Slim::Utils::Scanner::Local::__ANON__ (288) Get
changed tracks count
[21-08-30 17:22:43.2784] Slim::Utils::Scanner::Local::deleteTracks (519)
Removing deleted audio files (0)
[21-08-30 17:22:43.2787] Slim::Utils::Scanner::Local::__ANON__ (301)
Scanning new audio files (0)
[21-08-30 17:22:43.2790] Slim::Utils::Scanner::Local::__ANON__ (381)
Rescanning changed audio files (1)
[21-08-30 17:22:43.2831] Slim::Utils::Scanner::Local::changed (1094)
Handling changed playlist file:///storage/music/playlist/%23Oldies.m3u
[21-08-30 17:22:43.2952] Slim::Utils::Scanner::Local::new (905) Handling
new playlist file:///storage/music/playlist/%23Oldies.m3u
[21-08-30 17:22:44.3074] Slim::Music::Artwork::updateStandaloneArtwork
(234) Starting updateStandaloneArtwork for 3920 albums
[21-08-30 17:23:02.8694] Slim::Music::Artwork::precacheAllArtwork (657)
Starting precacheArtwork for 18 albums
[21-08-30 17:23:04.3263] Slim::Music::Artwork::__ANON__ (808)
precacheArtwork finished in 1.4560170173645
[21-08-30 17:23:04.4973] Plugins::TrackStat::Storage::refreshTracks
(1242) TrackStat: Synchronizing TrackStat data, please wait...
[21-08-30 17:23:42.6957] Plugins::TrackStat::Storage::refreshTracks
(1891) TrackStat: Synchronizing TrackStat data finished
[21-08-30 17:23:42.6973] Plugins::CustomScan::Scanner::refreshData
(1975) CustomScan: Synchronizing Custom Scan data, please wait...
[21-08-30 17:23:45.7136] Plugins::CustomScan::Scanner::refreshData
(2325) CustomScan: Synchronization finished
[21-08-30 17:23:45.9904] Plugins::CustomScan::Scanner::initDatabase
(114) CustomScan: Creating database tables
[21-08-30 17:24:20.1077] Slim::Utils::Misc::msg (1341) Warning:
[17:24:20.1072] APE: [Ran out of tag data before number of items was
reached] /storage/music/flac/2007_03/Life on Mars Series 1 Soundtrack/27
Status Quo - Good Thinking.mp3
[21-08-30 17:26:39.5294] Slim::Utils::Misc::msg (1341) Warning:
[17:26:39.5289] APE: [Tag larger than maximum possible size]
/storage/music/flac/2009_12/The Blues Preachers - 2008 - Dry Long So
[320]=/The Blues Preachers - Dry Long So - 01 - Pay Day.mp3
[21-08-30 17:26:39.5413] Slim::Utils::Misc::msg (1341) Warning:
[17:26:39.5409] APE: [Tag larger than maximum possible size]
/storage/music/flac/2009_12/The Blues Preachers - 2008 - Dry Long So
[320]=/The Blues Preachers - Dry Long So - 02 - Big Road Blues.mp3

So it looks like the original problem is gone, and no "readonly
database" errors in the log either - I'll keep an eye on either
happening again.



muso developer
6 x SB3, 4 x SBBoom, 1 x SBTouch, rPi-4 based LMS on 2TB SSD (80,000+
tracks)
Marantz, Denyo, & Bantam amps, 
Harbeth, Mordaunt Short & Monitor Audio speakers
Heed Canamp + Beyerdynamic headphones

jezbo's Profile: http://forums.slimdevices.com/member.php?userid=9888
View this thread: http://forums.slimdevices.com/showthread.php?t=115063

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


Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in

2021-08-30 Thread dolodobendan


mherger wrote: 
> > Erm, can you think of any reason why this error would NOT appear when
> > info logging control.command? I alternated between info and error
> > logging when restarting LMS and I could only observe this with the
> > default error level logging. :confused:
> 
> Hmm... I quickly skimmed code, but I didn't see any obvious difference.
> 
> But that does sound like a pointer.

Do you want me to check what happens with other log levels?



QLMS 8.3@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=111288

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


Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread jezbo


mherger wrote: 
> Well, that matters very much. Could you please share the full
> scanner.log? And how exactly you start the rescan (exact command).

Well since I did my last re-install a couple of days ago, I've taken
care not to invoke it through the CLI, and the reinstall seems to clear
the logs, but the CLI command was exactly what I quoted, ie:

RESCAN PLAYLISTS

Interestingly, though I just invoked a rescan of playlists through the
web interface today, this is all that is in my scanner log:

[21-08-22 14:29:38.9176] main::main (206) Starting Logitech Media Server
scanner (v8.2.0, 1627922070, Tue Aug  3 11:40:14 CEST 2021) perl
5.028001
[21-08-22 14:29:39.2392] Slim::Schema::forceCommit (2177) Warning:
Trying to commit transactions before DB is initialized!
[21-08-22 14:30:10.6746] Slim::Music::Import::runImporter (578) Starting
Slim::Media::MediaFolderScan scan
[21-08-22 14:30:10.6754] Slim::Utils::Scanner::Local::rescan (179)
Discovering audio files in /storage/music/flac
[21-08-22 14:30:10.9851] Slim::Utils::SQLiteHelper::updateProgress (449)
Warning: Server aborted scan, shutting down

That's it, nothing else. The readonly errors were in the main server
log, but as I've said they've been overwritten by my last re-install.



muso developer
6 x SB3, 4 x SBBoom, 1 x SBTouch, rPi-4 based LMS on 2TB SSD (80,000+
tracks)
Marantz, Denyo, & Bantam amps, 
Harbeth, Mordaunt Short & Monitor Audio speakers
Heed Canamp + Beyerdynamic headphones

jezbo's Profile: http://forums.slimdevices.com/member.php?userid=9888
View this thread: http://forums.slimdevices.com/showthread.php?t=115063

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


Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in

2021-08-30 Thread Michael Herger

Erm, can you think of any reason why this error would NOT appear when
info logging control.command? I alternated between info and error
logging when restarting LMS and I could only observe this with the
default error level logging. :confused:


Hmm... I quickly skimmed code, but I didn't see any obvious difference. 
But that does sound like a pointer.

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


Re: [SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread mherger


jezbo wrote: 
> Note: I have noticed some "attempt to write a readonly database" errors
> in log but I don't know if this is related.

Well, that matters very much. Could you please share the full
scanner.log? And how exactly you start the rescan (exact command).



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=115063

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


[SlimDevices: SqueezeCenter] Never-ending rescan of playlists (via the CLI)

2021-08-30 Thread jezbo


If I invoke the 'rescan playlists' CLI command (through Muso, which I
author), I end up with a rescan which apparently never ends. Even a
reboot of LMS (or the pi that it's running on) does not help the
situation, and 'Abort Scan' through the web UI doesn't have any effect
either. See how this has been running for over 2 hours:

35628

The only thing which does seem to stop it is a full re-install of LMS
(with the same version).

However the rescan of playlists when invoked through the web UI is fine,
it only takes 27 seconds:

35629

On the latest stable LMS 8.2.0:

35630


+---+
|Filename: lms.PNG  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35630|
+---+


muso developer
6 x SB3, 4 x SBBoom, 1 x SBTouch, rPi-4 based LMS on 2TB SSD (80,000+
tracks)
Marantz, Denyo, & Bantam amps, 
Harbeth, Mordaunt Short & Monitor Audio speakers
Heed Canamp + Beyerdynamic headphones

jezbo's Profile: http://forums.slimdevices.com/member.php?userid=9888
View this thread: http://forums.slimdevices.com/showthread.php?t=115063

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread Michael Herger

The package installed was *logitechmediaserver_8.2.1~1628483320_all.deb*
from the nightly page


Did you try the -arm version instead?


I don't seem to have a /usr/sbin/CPAN folder.


Did you do a "find /usr/ -name DBI.pm"?


now I just have Digest:SHA1 missing.

I've tried

Code:

 sudo apt-get install digest-sha-perl


That should be libdigest-sha-perl.

But you shouldn't have to install any of them. Please check the LMS 
installation before you add any more stuff.

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread intraclast


The package installed was *logitechmediaserver_8.2.1~1628483320_all.deb*
from the nightly page
(https://downloads.slimdevices.com/nightly/8.2/lms/e8392d8321caa9dbc4d49c6548a7ed7a6fc976c2/logitechmediaserver_8.2.1~1628483320_all.deb)

I don't seem to have a /usr/sbin/CPAN folder.

I have run through the list of modules not installed and resolved most
of them with the following commands:

Code:

sudo apt-get install libdbi-perl
  
  sudo apt-get install libev-perl
  
  sudo apt-get install libxml-parser-perl
  
  sudo apt-get install libjson-xs-perl
  
  sudo apt-get install libyaml-libyaml-perl
  
  sudo apt-get install libsub-name-perl



now I just have Digest:SHA1 missing.

I've tried 

Code:

sudo apt-get install digest-sha-perl


and

Code:

sudo apt-get install libcryptx-perl


but they haven't helped.  And digest-sha1-perl doesn't exist anymore.

I found a 9 year old post on 'stack overflow'
(https://stackoverflow.com/questions/23264359/libdigest-sha1-perl-not-found-on-repositories-ubuntu-12-04)
which details how to install it with cpanminus.  Do I need to do that?

Apologies if my installing these modules muddys the water in terms of
working out what is going on here.

Thanks again.



intraclast's Profile: http://forums.slimdevices.com/member.php?userid=41806
View this thread: http://forums.slimdevices.com/showthread.php?t=115062

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread Michael Herger

It looks like I have a lot of perl modules missing maybe?  Is there a
recommended list of required modules that I can install or is it a case
of working my way through the errors and installing them one by one?


What exact package did you install?

Can you double check DBI.pm isn't available in any of the following 
folders (listed in the log file):


Can't locate DBI.pm in @INC (you may need to install the DBI module) 
(@INC contains:

/usr/sbin/CPAN/arch/5.28/arm-linux-gnueabihf-thread-multi-64int
/usr/sbin/CPAN/arch/5.28/arm-linux-gnueabihf-thread-multi-64int/auto
/usr/sbin/CPAN/arch/5.28
/usr/sbin/CPAN

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-30 Thread Michael Herger

Since it turns out I don't need the Control Panel then I'll keep my
Windows set to UTF-8 but hopefully this report will help others or even
lead to a fix.I felt obliged to try this and I see the same behaviour.


If you started the panel from the command line, would you get to see any 
error? Or in the event log?

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-30 Thread slartibartfast


bstrulo wrote: 
> So I think I may have tracked down the reason it crashes for me (and not
> for others).
> 
> The problem seems to be that I have my code page set to UTF-8 following
> this procedure
> 
> 
> 
> Revert that setting and it runs fine.  When the OS is set to UTF-8 then
> the Control Panel gets as far as the splash screen but then silently
> crashes.
> 
> Since it turns out I don't need the Control Panel then I'll keep my
> Windows set to UTF-8 but hopefully this report will help others or even
> lead to a fix.I felt obliged to try this and I see the same behaviour.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread intraclast


Hi, and thanks again.

That outputted loads to the console. I've pasted into the attachment
below:
35624

It looks like I have a lot of perl modules missing maybe?  Is there a
recommended list of required modules that I can install or is it a case
of working my way through the errors and installing them one by one?

Many thanks


+---+
|Filename: runfromCLI-output.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35624|
+---+


intraclast's Profile: http://forums.slimdevices.com/member.php?userid=41806
View this thread: http://forums.slimdevices.com/showthread.php?t=115062

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


Re: [SlimDevices: SqueezeCenter] Slim::Control::Request::renderAsArray (2233) Error: request should set useIxHashes in

2021-08-30 Thread dolodobendan


I'm glad to hear that. :)

Erm, can you think of any reason why this error would NOT appear when
info logging control.command? I alternated between info and error
logging when restarting LMS and I could only observe this with the
default error level logging. :confused:



QLMS 8.3@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4

dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=111288

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


Re: [SlimDevices: SqueezeCenter] Control Panel for LMS is not starting up after upgrade to 8.0.1, when LMS is running

2021-08-30 Thread bstrulo


So I think I may have tracked down the reason it crashes for me (and not
for others).

The problem seems to be that I have my code page set to UTF-8 following
this procedure

> Change Windows to the UTF-8 locale. To do this go to the Control Panel >
> "Change date, time or number formats" > Administrative tab and then the
> "Change system locale ..." button. In there you check the "Beta: Use
> Unicode UTF-8 for worldwide language support" box and press OK.

Revert that setting and it runs fine.  When the OS is set to UTF-8 then
the Control Panel gets as far as the splash screen but then silently
crashes.

Since it turns out I don't need the Control Panel then I'll keep my
Windows set to UTF-8 but hopefully this report will help others or even
lead to a fix.



bstrulo's Profile: http://forums.slimdevices.com/member.php?userid=15997
View this thread: http://forums.slimdevices.com/showthread.php?t=113424

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread Michael Herger

I've had to attach the journalctl output as its too long to be included
in a post. Does it provide any clues as to what is going on?


Still not that helpful. Hmm... what if you tried to run LMS directly 
from the console? I think something like


/usr/sbin/squeezeboxserver --d_startup

(please find the correct path from the init scripts)
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] fulltextsearch not working on LMS 8.3

2021-08-30 Thread Michael Herger

problem solved. Full rescan did the trick. Sorry for bothering


Good to know, thanks! I should probably work on the trigger.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread intraclast


Thanks for the quick reply.

I've added in the --d_startup.  the server.log file and systemctl status
look the same. The journalctl output is much more verbose (pasted
below). I've had a look through it and not noticed anything obvious. 
The lines before it dies are:


Code:

Aug 30 12:50:48 vero4k squeezeboxserver[14021]: B/DeparsedirsFor: 
Didn't find a match request: [scprefs]
  Aug 30 12:50:50 vero4k squeezeboxserver[14021]: dirsFor: Didn't find a match 
request: [videos]
  Aug 30 12:50:50 vero4k squeezeboxserver[14021]: dirsFor: Didn't find a match 
request: [pictures]
  Aug 30 12:50:51 vero4k systemd[1]: logitechmediaserver.service: Main process 
exited, code=killed, status=4/ILL



So maybe like you suggest it is a permissions issue.  However I've
checked the permissions on where I think the prefs folder is and it all
looks okay to me:

Code:

ls -lt /var/lib/squeezeboxserver
  total 12
  drwxr-xr-x 6 squeezeboxserver nogroup 4096 Aug 30 09:43 cache
  drwxr-xr-x 3 squeezeboxserver nogroup 4096 Aug 30 07:49 prefs
  drwxr-xr-x 2 squeezeboxserver nogroup 4096 Aug  3  2009 Plugins



I've had to attach the journalctl output as its too long to be included
in a post. Does it provide any clues as to what is going on?

35623

Thanks!


+---+
|Filename: journalctl-output.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=35623|
+---+


intraclast's Profile: http://forums.slimdevices.com/member.php?userid=41806
View this thread: http://forums.slimdevices.com/showthread.php?t=115062

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


Re: [SlimDevices: SqueezeCenter] Stuttering audio output

2021-08-30 Thread Man in a van


Crikey !!



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=115047

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


Re: [SlimDevices: SqueezeCenter] fulltextsearch not working on LMS 8.3

2021-08-30 Thread mamema


problem solved. Full rescan did the trick. Sorry for bothering



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=115060

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


Re: [SlimDevices: SqueezeCenter] fulltextsearch not working on LMS 8.3

2021-08-30 Thread mamema


mherger wrote: 
> Oh, and did you run a scan on 8.3 recently? There's a change which
> requires a rescan. It should be triggered automatically, but could fail
> if you switched back and forth between 8.2 and 8.3.

oh, this could be the issue. scanning now and reporting back



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=115060

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


Re: [SlimDevices: SqueezeCenter] Stuttering audio output

2021-08-30 Thread hillbear


I have decided to do a total re-install of EVERYTHING - I will take
pi/digione apart and re-assemble - burn new SD cards - remove and
re-connect all cables in my entire network and hifi system. Everything !
Will let you know how it goes. Thanks for all your input



hillbear's Profile: http://forums.slimdevices.com/member.php?userid=72054
View this thread: http://forums.slimdevices.com/showthread.php?t=115047

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


Re: [SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread Michael Herger

At first I was thinking it was because the version of perl had increased
to 5.28.1 I've seen posts about, I think it was, Synology users who's
LMS broke when the NAS updated to 5.28. But I've also seen reference on
this forum of someone running 'LMS on Debian Bullseye with perl 5.32.1'
(https://forums.slimdevices.com/showthread.php?115024-debian-11-bullseye-issues=1031429=1#post1031429)
successfully.  So is there a problem with perl 5.28 or should LMS work
okay on it?


I think Perl should be good - or you wouldn't even get that one line in 
the log file.


Please edit /etc/default/logitechmediaserver to add --d_startup to the 
startup parameters. Would that give you more information? And did you 
check whether your process does have write permissions on the log and 
prefs folders?

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


[SlimDevices: SqueezeCenter] Installing on OSMC on a Vero4k

2021-08-30 Thread intraclast


Hi,

Firstly, a massive thank you to mherger and the LMS community for
keeping this platform up and running. Its brilliant that I can still use
my squeezebox setup so long after logitech ceased support.

I've been running LMS on my Vero4k running OSMC without issue for ages. 
Last week I upgraded OSMC to the latest August '21 image and LMS refused
to start.  OSMC is built on Debian Buster and is the Vero4k is armhf.

The server.log is not very helpful. This is all it contains:

Code:

[21-08-30 09:43:27.5839] main::init (390) Starting Logitech Media Server 
(v8.2.1, 1628483320, Mon Aug  9 06:46:12 CEST 2021) perl 5.028001 - 
arm-linux-gnueabihf-thread-multi-64int



systemctl status logitechmediaserver reports:

Code:

osmc@vero4k:~$ systemctl status logitechmediaserver
  * logitechmediaserver.service - Logitech Media Server
  Loaded: loaded (/lib/systemd/system/logitechmediaserver.service; enabled; 
vendor preset: enabled)
  Active: failed (Result: signal) since Mon 2021-08-30 09:43:29 BST; 12min ago
  Process: 13783 ExecStart=/usr/sbin/squeezeboxserver --prefsdir $PREFSDIR 
--logdir $LOGDIR --cachedir $CACHEDIR --ch
  Main PID: 13783 (code=killed, signal=ILL)
  
  Aug 30 09:43:23 vero4k systemd[1]: Started Logitech Media Server.
  Aug 30 09:43:25 vero4k squeezeboxserver[13783]: dirsFor: Didn't find a match 
request: [scprefs]
  Aug 30 09:43:27 vero4k squeezeboxserver[13783]: dirsFor: Didn't find a match 
request: [videos]
  Aug 30 09:43:27 vero4k squeezeboxserver[13783]: dirsFor: Didn't find a match 
request: [pictures]
  Aug 30 09:43:29 vero4k systemd[1]: logitechmediaserver.service: Main process 
exited, code=killed, status=4/ILL
  Aug 30 09:43:29 vero4k systemd[1]: logitechmediaserver.service: Failed with 
result 'signal'.



and journalctl -xe shows:

Code:

Aug 30 09:43:23 vero4k systemd[1]: Started Logitech Media Server.
  -- Subject: A start job for unit logitechmediaserver.service has finished 
successfully
  -- Defined-By: systemd
  -- Support: https://www.debian.org/support
  --
  -- A start job for unit logitechmediaserver.service has finished successfully.
  --
  -- The job identifier is 2096.
  Aug 30 09:43:23 vero4k systemd[1]: Reloading.
  Aug 30 09:43:24 vero4k systemd[1]: /lib/systemd/system/smbd.service:9: 
PIDFile= references path below legacy director
  Aug 30 09:43:24 vero4k systemd[1]: /lib/systemd/system/nmbd.service:9: 
PIDFile= references path below legacy director
  Aug 30 09:43:24 vero4k systemd[1]: 
/lib/systemd/system/lircd_helper@.service:6: PIDFile= references path below 
legacy
  Aug 30 09:43:24 vero4k sudo[13668]: pam_unix(sudo:session): session closed 
for user root
  Aug 30 09:43:25 vero4k squeezeboxserver[13783]: dirsFor: Didn't find a match 
request: [scprefs]
  Aug 30 09:43:27 vero4k squeezeboxserver[13783]: dirsFor: Didn't find a match 
request: [videos]
  Aug 30 09:43:27 vero4k squeezeboxserver[13783]: dirsFor: Didn't find a match 
request: [pictures]
  Aug 30 09:43:29 vero4k systemd[1]: logitechmediaserver.service: Main process 
exited, code=killed, status=4/ILL
  -- Subject: Unit process exited
  -- Defined-By: systemd
  -- Support: https://www.debian.org/support
  --
  -- An ExecStart= process belonging to unit logitechmediaserver.service has 
exited.
  --
  -- The process' exit code is 'killed' and its exit status is 4.
  Aug 30 09:43:29 vero4k systemd[1]: logitechmediaserver.service: Failed with 
result 'signal'.
  -- Subject: Unit failed
  -- Defined-By: systemd
  -- Support: https://www.debian.org/support
  --
  -- The unit logitechmediaserver.service has entered the 'failed' state with 
result 'signal'.



Are there any other log locations I should be looking at to get an
indication as to what is going on?

At first I was thinking it was because the version of perl had increased
to 5.28.1 I've seen posts about, I think it was, Synology users who's
LMS broke when the NAS updated to 5.28. But I've also seen reference on
this forum of someone running 'LMS on Debian Bullseye with perl 5.32.1'
(https://forums.slimdevices.com/showthread.php?115024-debian-11-bullseye-issues=1031429=1#post1031429)
successfully.  So is there a problem with perl 5.28 or should LMS work
okay on it?

If anyone is able to assist it would be massively appreciated.  I've
spent many hours over many evenings trying to get this sorted out.  I've
tried perlbrew to build an older install of perl, but then found out
this was for my user only and not system wide.  I've tried various
docker containers, starting with the offical LMS Community one, but they
all fail with an illegal instruction. Most recently I've reinstalled my
vero4k from scratch followed by a native install of LMS but that hasn't
helped either.

Any ideas anybody?

Thanks!



intraclast's Profile: 

Re: [SlimDevices: SqueezeCenter] fulltextsearch not working on LMS 8.3

2021-08-30 Thread mherger


Oh, and did you run a scan on 8.3 recently? There's a change which
requires a rescan. It should be triggered automatically, but could fail
if you switched back and forth between 8.2 and 8.3.



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=115060

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


Re: [SlimDevices: SqueezeCenter] fulltextsearch not working on LMS 8.3

2021-08-30 Thread Michael Herger

@mherger, you sent me here, see the logs:


could you please provide _full_ log files? The 8.2 is eg. missing the 
album search.


What exact keywords did you provide? And is this the exact same collection?
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


[SlimDevices: SqueezeCenter] fulltextsearch not working on LMS 8.3

2021-08-30 Thread mamema


@mherger, you sent me here, see the logs:

with 8.3 - not working
__

[21-08-30 09:42:57.1417]
Slim::Plugin::FullTextSearch::Plugin::createHelperTable (259) Fulltext
search query (album): CREATE  TABLE albumsSearch AS SELECT
SUBSTR(fulltext.id, 33) AS id, FULLTEXTWEIGHT(matchinfo(fulltext)) AS
fulltextweight FROM fulltext WHERE fulltext MATCH 'type:album greg* AND
brown*' 
[21-08-30 09:42:57.2325]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (368) Search token
(track): 'greg* AND brown*'
[21-08-30 09:42:57.2327]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (369) Large
resultset? no
[21-08-30 09:42:57.2333]
Slim::Plugin::FullTextSearch::Plugin::createHelperTable (259) Fulltext
search query (track): CREATE  TABLE tracksSearch AS SELECT
SUBSTR(fulltext.id, 33) AS id, FULLTEXTWEIGHT(matchinfo(fulltext)) AS
fulltextweight FROM fulltext WHERE fulltext MATCH 'type:track greg* AND
brown*' ORDER BY fulltextweight
[21-08-30 09:42:57.2842]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (368) Search token
(playlist): 'greg* AND brown*'
[21-08-30 09:42:57.2844]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (369) Large
resultset? no
[21-08-30 09:42:57.2848]
Slim::Plugin::FullTextSearch::Plugin::createHelperTable (259) Fulltext
search query (playlist): CREATE  TABLE playlistSearch AS SELECT
SUBSTR(fulltext.id, 33) AS id, FULLTEXTWEIGHT(matchinfo(fulltext)) AS
fulltextweight FROM fulltext WHERE fulltext MATCH 'type:playlist greg*
AND brown*' 

with 8.2 - working
__

[21-08-30 09:45:34.2770]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (352) Large
resultset? no
[21-08-30 09:45:34.2773]
Slim::Plugin::FullTextSearch::Plugin::createHelperTable (242) Fulltext
search query (track): CREATE  TABLE tracksSearch AS SELECT id,
FULLTEXTWEIGHT(matchinfo(fulltext)) AS fulltextweight FROM fulltext
WHERE fulltext MATCH 'type:track greg* AND brown*' ORDER BY
fulltextweight
[21-08-30 09:45:34.3268]
Slim::Plugin::FullTextSearch::Plugin::dropHelperTable (249) 
[21-08-30 09:45:34.4122]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (351) Search token
(playlist): 'greg* AND brown*'
[21-08-30 09:45:34.4124]
Slim::Plugin::FullTextSearch::Plugin::parseSearchTerm (352) Large
resultset? no
[21-08-30 09:45:34.4130]
Slim::Plugin::FullTextSearch::Plugin::createHelperTable (242) Fulltext
search query (playlist): CREATE  TABLE playlistSearch AS SELECT id,
FULLTEXTWEIGHT(matchinfo(fulltext)) AS fulltextweight FROM fulltext
WHERE fulltext MATCH 'type:playlist greg* AND brown*' 

___

it seems, with a quick compare, that the search query is different
between the versions.
Of course i have a player connected during search.



mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662
View this thread: http://forums.slimdevices.com/showthread.php?t=115060

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