Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working during restart
Please remove this thread. Thanks Zombie's Profile: http://forums.slimdevices.com/member.php?userid=25009 View this thread: http://forums.slimdevices.com/showthread.php?t=117211 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] LMS suddenly stopped working during restart
I located this in the QLogitechMediaServer.log: CAN'T LOCATE SLIM/BOOTSTRAP.PM IN @INC (YOU MAY NEED TO INSTALL THE SLIM::BOOTSTRAP MODULE)[/B] (@INC CONTAINS: /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN/ARCH/5.36/X86_64-LINUX-THREAD-MULTI /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN/ARCH/5.36/X86_64-LINUX-THREAD-MULTI/AUTO /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN/ARCH/5.36.0/X86_64-LINUX-THREAD-MULTI /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN/ARCH/5.36.0/X86_64-LINUX-THREAD-MULTI/AUTO /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN/ARCH/X86_64-LINUX-THREAD-MULTI /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN/ARCH/5.36 /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/LIB /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/CPAN /USR/LOCAL/PERL-5.36/LIB/PERL5/SITE_PERL/5.36.0/X86_64-LINUX-THREAD-MULTI /USR/LOCAL/PERL-5.36/LIB/PERL5/SITE_PERL/5.36.0 /USR/LOCAL/PERL-5.36/LIB/PERL5/5.36.0/X86_64-LINUX-THREAD-MULTI /USR/LOCAL/PERL-5.36/LIB/PERL5/5.36.0) AT [B]/SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/SLIMSERVER.PL LINE 172. BEGIN FAILED--COMPILATION ABORTED AT /SHARE/CACHEDEV2_DATA/.QPKG/LOGITECHMEDIASERVER/SLIMSERVER/SLIMSERVER.PL LINE 172. slimserver.pl line 172 contains this: use Slim::bootstrap; This happened during restart of the server after reinstallation of the UPnP Bridge Zombie's Profile: http://forums.slimdevices.com/member.php?userid=25009 View this thread: http://forums.slimdevices.com/showthread.php?t=117211 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
That said the server should not fail. I'll look into adding a fallback. In case a custom or new, incomplete language was selected we could indeed run into the issue you're seeing. Please give tomorrow's nightly build a try. I added the change to all versions starting 7.7.6. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
I don't know. The errors you get are due to lack of collation string. That string is based on the language you're using - but should never be empty. You don't use a custom-strings file or something? Not intentionally. Is this something I could have started doing unintentionally? Ok, there's something wrong about your language setup: it is indeed set to "NB" - which is not a language choice available in LMS. It must come from some custom-strings.txt file. That said the server should not fail. I'll look into adding a fallback. In case a custom or new, incomplete language was selected we could indeed run into the issue you're seeing. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
> Michael Herger : > Turn off Andy Grundmann's UPnP/DLNA plugin, not the bridge. OK, that one was already off (it's listed under "Inactive plugins" and with the checkbox unchecked). Maybe that was the one I disabled...? I forgot to make a note of the one I actually unchecked and then just searched the settings page for "upnp" afterwards. > And make sure you disable the images/videos from the music folder > settings, Ok, I've done the following: - Left the checkbox for "Music" in place in the folder "C:\Users\sb\Music" - Unchecked everything else One strange thing here: the language settings is "Dansk" (ie. "Danish") instead of the "Norsk" (ie. "Norwegian") I'm pretty sure I put it in once upon a time. I switched it back to "Norsk". Then clicked "Apply" > then run a full wipe & rescan. Hm... the button to do that and the combo box was disabled... it said "Søker" (ie. "Searching") below. I clicked on the "Søker" linke and was switched to the Information tab which showed progress: Detaljer om søk etter mediefiler Finne filer/kataloger: C:\Users\sb\Music (350 av 350) Fullført 00:00:01 Fjerner slettede filer: C:\Users\sb\Music (2 av 2) Fullført 00:00:00 Finner spillelister: C:\Users\sb\Music\Playlists (3 av 3) Fullført 00:00:00 Søker i nye spillelister: C:\Users\sb\Music\Playlists (2 av 2) Fullført 00:00:00 iTunes-importering (1874 av 1874) Fullført 00:00:12 Importere iTunes-spilleliste (22 av 22) Fullført 00:00:06 Serveren har nå søkt gjennom mediebiblioteket. Samlet tid: 00:01:16 (onsdag, desember 28, 2016 / 9:48 ) The search now seems complete. The iTunes library is back in "My Music" in the LMS web interface. > And restart LMS. Ok, done. After the restart the iTunes music was back, the spotify plugin was kind of working but it was very slow. The TIDAL plugin still wasn't present. The checkbox of the "TIDAL (v1.2)" plugin is marked in the plugins tab. The mysqueezebox.com tab said "Aktivert, spillerinnstillinger synkroniseres" (ie. "Activated, player settings will be synchronized). I added the credentials once more anyway and clicked on "Bruk" (ie. "Use"). Using the iTunes library in "My Music" is also very slow, but the music plays on the duet. Suddenly the TIDAL plugin and my podcasts (which were also gone) showed up in the top menu. Everything plays but the response in the web UI is very sluggish. Is this something that will improve in time (ie. with caching) or is it caused by heavy memory use or something else (SqueezeSvr.exe is at 131MB total (I think... translating everything was a really bad decision made by Microsoft)). Speed seems to be picking up as I use it so things are presumably cached as I use them...? > It's probably just a red herring. But the call which is being logged > is reported to come from the Settings/Information web page trying to > show the number of images and movies found in your library. By > disabling the UPnP plugin and image/video scanning this should no > longer happen. It might only be a side-effect, but help with your > situation anyway. Ok, thanks! :-) > BTW: upon your next server restart the server.log file should be > re-created, and the old one moved aside. Make sure you delete it > (server.log.1), as you don't want to run out of disk space... The server.log wasn't recreated (it's currently at 56MB) but the log file seems to have been switched just before midnight: -rw-rw-rw- 1 Administratorer Ingen 56363953 12-28 09:55 server.log -rw-rw-rw- 1 Administratorer Ingen 359765142 12-27 23:44 server.log.0 It seems to be working now, music is playing and all settings seems to be back. Thanks for your help! :-) ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
I don't know. The errors you get are due to lack of collation string. That string is based on the language you're using - but should never be empty. You don't use a custom-strings file or something? Not intentionally. Is this something I could have started doing unintentionally? No, very unlikely. And certainly not without restarting LMS - and the errors start to show up quite a while after the last restart. Are you using the UPnP funcitonality of LMS? I don't think so...? My two squeezeboxen (a duet receiver, and a radio) have been set up manually. Turn off Andy Grundmann's UPnP/DLNA plugin, not the bridge. And make sure you disable the images/videos from the music folder settings, then run a full wipe & rescan. And restart LMS. It's probably just a red herring. But the call which is being logged is reported to come from the Settings/Information web page trying to show the number of images and movies found in your library. By disabling the UPnP plugin and image/video scanning this should no longer happen. It might only be a side-effect, but help with your situation anyway. BTW: upon your next server restart the server.log file should be re-created, and the old one moved aside. Make sure you delete it (server.log.1), as you don't want to run out of disk space... -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
> Michael Herger : > I don't know. The errors you get are due to lack of collation > string. That string is based on the language you're using - but should > never be empty. You don't use a custom-strings file or something? Not intentionally. Is this something I could have started doing unintentionally? >> The file is 14MB so it's too big to post and too big to put into a gist >> (I got a "dead bird" icon when I tried). > Feel free to put a compressed copy to my dropbox: The server.log file had now grown to 350MB, it compressed to 4MB, and I uploaded the compressed files. > Are you using the UPnP funcitonality of LMS? I don't think so...? My two squeezeboxen (a duet receiver, and a radio) have been set up manually. > Do you use it to access photos and movies? No. > If not, make sure you disable the UPnP plugin and try again. Ok, I clicked on "Settings", selected the the "Plugins" tab and unchecked "UPnP/DLNA bridge", and then Apply and then let the LMS restart when asked if it could. Was that the correct way to disable it? The music list that normally should have held the iTunes library was still empty, and TIDAL plugin was gone, but the Spotify plugin had playlists in it after a while (but now they are gone again). ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
Is "NB" short for Norwegian Bokmal? Yes. But your LMS is set to EN? Does it matter? It has been working until it suddenly started failing...? I don't know. The errors you get are due to lack of collation string. That string is based on the language you're using - but should never be empty. You don't use a custom-strings file or something? The file is 14MB so it's too big to post and too big to put into a gist (I got a "dead bird" icon when I tried). Feel free to put a compressed copy to my dropbox: https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a I've put the ending of the file in a gist: https://gist.github.com/steinarb/fa87cf6aaf7bcb7ff66a7efe6d21b7da Are you using the UPnP funcitonality of LMS? Do you use it to access photos and movies? If not, make sure you disable the UPnP plugin and try again. -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
> Michael Herger : >> Operating system: Windows 8 - NB - cp1252 > Is "NB" short for Norwegian Bokmal? Yes. > But your LMS is set to EN? Does it matter? It has been working until it suddenly started failing...? > Did you upgrade Windows, or your antivirus product or something? No. But a game was installled on that computer the same day. > Is it only the web UI, or would these features fail from other UIs as > well? I first noticed the problems when I tried to restart a paused playlist in the squeezer app on android. I first tried on my phone, and then on my tablet, and both reported that there was no connection to mysqueezebox.com >> Below are the LMS log messages from the time LMS started failing. If >> I'm to guess I would say that it looks like a database corruption. > Could you please post more of the file, in particular the end of it? The file is 14MB so it's too big to post and too big to put into a gist (I got a "dead bird" icon when I tried). I've put the ending of the file in a gist: https://gist.github.com/steinarb/fa87cf6aaf7bcb7ff66a7efe6d21b7da The log is currently being filled up with the error messages shown at the end. The log has grown a lot since yesterday. > I do understand LMS does not work properly, but it does not crash > either, does it? LMS is running (at least the web interface is), but there is no data in it: no local music files, no podcasts, no spotify, no tidal >> Log fragment from the LMS server.log follows: >> [16-12-24 17:48:28.3935] Slim::Control::XMLBrowser::_cliQuery_error (1666) >> Error: While retrieving [http://www.mysqueezebox.com/api/wimp/v1/opml]: [A >> mysqueezebox.com account is required for this service. Please access >> Logitech Media Server Settings -> mysqueezebox.com with a web browser to >> configure.] > Do you have your MySB credentials configured in LMS? I used to have, until it suddenly stopped working. The mysqueezebox.com settings in the settings UI of the LMS web interface is currently blank. >> [16-12-25 08:10:32.8619] Slim::Control::Request::execute (1889) Error: While >> trying to run function coderef [Slim::Control::Queries::videoTitlesQuery]: >> [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectrow_array >> failed: near ")": syntax error [for Statement " >> SELECT COUNT(*) FROM ( SELECT videos.titlesearch AS 'videos.titlesearch', >> videos.hash AS 'videos.hash', videos.title AS 'videos.title', >> videos.titlesort AS 'videos.titlesort' FROM videos GROUP BY videos.hash >> ORDER BY videos.titlesort COLLATE) AS t1 >> "] at /Slim/Schema/Storage.pm >> line 126 > That's an odd one, as I don't see any way to get an empty collation > string. Could it be your preference file is corrupted? Hm... where is it? Is it this one c:\ProgramData\Squeezebox\prefs\server.prefs ? I've added it to the end of this message. It doesn't look corrupted. > Or your file system? I hope not. It's a fairly new computer and it seems to be working find otherwise. Thanks! Here comes c:\ProgramData\Squeezebox\prefs\server.prefs : --- _client:00:04:20:17:45:c8: _ts_alarmDefaultVolume: 1482580543 _ts_alarmSnoozeSeconds: 1482580543 _ts_alarmTimeoutSeconds: 1482580543 _ts_alarmfadeseconds: 1482580543 _ts_alarms: 1482580543 _ts_alarmsEnabled: 1482580543 _ts_alarmsaver: 1482580543 _ts_alwaysShowCount: 1482580543 _ts_bass: 1482580543 _ts_bufferThreshold: 1482580543 _ts_currentSong: 1482598038 _ts_digitalVolumeControl: 1482580543 _ts_disableDac: 1482580543 _ts_disabledirsets: 1482580543 _ts_idleBrightness: 1482580543 _ts_idlesaver: 1482580543 _ts_irmap: 1482580543 _ts_lameQuality: 1482580543 _ts_maintainSync: 1482580543 _ts_maxBitrate: 1482650382 _ts_menuItem: 1482650382 _ts_minSyncAdjust: 1482580543 _ts_mp3SilencePrelude: 1482580543 _ts_offsaver: 1482580543 _ts_outputChannels: 1482580543 _ts_packetLatency: 1482580543 _ts_pitch: 1482580543 _ts_playDelay: 1482580543 _ts_playername: 1482580543 _ts_playtrackalbum: 1482580543 _ts_power: 1482580543 _ts_powerOnResume: 1482580543 _ts_preampVolumeControl: 1482580543 _ts_presets: 1482650382 _ts_repeat: 1482580543 _ts_replayGainMode: 1482580543 _ts_screensaver: 1482580543 _ts_screensavertimeout: 1482580543 _ts_scrollMode: 1482580543 _ts_scrollPause: 1482580543 _ts_scrollPauseDouble: 1482580543 _ts_scrollPixels: 1482580543 _ts_scrollPixelsDouble: 1482580543 _ts_scrollRate: 1482580543 _ts_scrollRateDouble: 1482580543 _ts_shuffle: 1482580543 _ts_snLastSyncDown: 1482580543 _ts_snLastSyncUp: 1482580543 _ts_snSyncInterval: 1482580543 _ts_startDelay: 1482580543 _ts_syncPower: 1482580543 _ts_syncVolume: 1482580543 _ts_titleFormat: 1482580543 _ts_titleFormatCurr: 1482580543 _ts_transitionDuration: 1482580543 _ts_transitionSmart: 1482580543 _ts_transitionType: 1482580543 _ts_treble: 1482580543 _ts_volume: 1482580543 _version: 14 alarmDefaultVolume: 50 alarmSnoozeSeconds: 5
Re: [SlimDevices: SqueezeCenter] LMS suddenly stopped working
Operating system: Windows 8 - NB - cp1252 Is "NB" short for Norwegian Bokmal? But your LMS is set to EN? Starting yesterday, LMS started failing for me. The web page opens but nothing plays: Did you upgrade Windows, or your antivirus product or something? Is it only the web UI, or would these features fail from other UIs as well? Below are the LMS log messages from the time LMS started failing. If I'm to guess I would say that it looks like a database corruption. Could you please post more of the file, in particular the end of it? I do understand LMS does not work properly, but it does not crash either, does it? Log fragment from the LMS server.log follows: [16-12-24 17:48:28.3935] Slim::Control::XMLBrowser::_cliQuery_error (1666) Error: While retrieving [http://www.mysqueezebox.com/api/wimp/v1/opml]: [A mysqueezebox.com account is required for this service. Please access Logitech Media Server Settings -> mysqueezebox.com with a web browser to configure.] Do you have your MySB credentials configured in LMS? [16-12-25 08:10:32.8619] Slim::Control::Request::execute (1889) Error: While trying to run function coderef [Slim::Control::Queries::videoTitlesQuery]: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectrow_array failed: near ")": syntax error [for Statement " SELECT COUNT(*) FROM ( SELECT videos.titlesearch AS 'videos.titlesearch', videos.hash AS 'videos.hash', videos.title AS 'videos.title', videos.titlesort AS 'videos.titlesort' FROM videos GROUP BY videos.hash ORDER BY videos.titlesort COLLATE) AS t1 "] at /Slim/Schema/Storage.pm line 126 That's an odd one, as I don't see any way to get an empty collation string. Could it be your preference file is corrupted? Or your file system? -- Michael ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] LMS suddenly stopped working
Versions: Logitech Media Server Version: 7.7.5 - 1416570306 @ Thu Nov 27 07:38:09 CUT 2014 Operating system: Windows 8 - NB - cp1252 Platform Architecture: 8664 Perl Version: 5.14.1 - MSWin32-x86-multi-thread Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1) Starting yesterday, LMS started failing for me. The web page opens but nothing plays: - Clicking on the current songs in the active playlist, nothing happens - The TIDAL plugin doesn't open - In the triode spotify plugin, only the top level opens - The iTunes library is empty Below are the LMS log messages from the time LMS started failing. If I'm to guess I would say that it looks like a database corruption. Is this repairable? Or is the only fix to move away the current database and do a new media scan and re-add the spotify and tidal configuration? Or is the latter stored on mysqueezebox.com so that all I have to do after regenerating the database, is to reconnect to mysqueezebox.com? All comments and hints and tips are appreciated! Thanks! - Steinar Log fragment from the LMS server.log follows: [16-12-24 17:48:28.3935] Slim::Control::XMLBrowser::_cliQuery_error (1666) Error: While retrieving [http://www.mysqueezebox.com/api/wimp/v1/opml]: [A mysqueezebox.com account is required for this service. Please access Logitech Media Server Settings -> mysqueezebox.com with a web browser to configure.] [16-12-24 17:49:40.8497] Slim::Control::XMLBrowser::_cliQuery_error (1666) Error: While retrieving [http://www.mysqueezebox.com/api/wimp/v1/opml]: [A mysqueezebox.com account is required for this service. Please access Logitech Media Server Settings -> mysqueezebox.com with a web browser to configure.] [16-12-24 17:51:23.8035] Slim::Web::JSONRPC::requestWrite (472) Context not found in requestWrite [16-12-24 17:51:49.3072] Slim::Web::JSONRPC::requestWrite (472) Context not found in requestWrite [16-12-25 08:10:32.8251] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectrow_array failed: near ")": syntax error [for Statement " SELECT COUNT(*) FROM ( SELECT videos.titlesearch AS 'videos.titlesearch', videos.hash AS 'videos.hash', videos.title AS 'videos.title', videos.titlesort AS 'videos.titlesort' FROM videos GROUP BY videos.hash ORDER BY videos.titlesort COLLATE) AS t1 "] [16-12-25 08:10:32.8256] Slim::Schema::Storage::throw_exception (122) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/Slim/Schema/Storage.pm line 122) frame 1: Slim::Schema::Storage::throw_exception (/DBIx/Class/Storage/DBI.pm line 1006) frame 2: DBIx::Class::Storage::DBI::__ANON__ (/Slim/Control/Queries.pm line 5181) frame 3: Slim::Control::Queries::videoTitlesQuery (/Slim/Control/Request.pm line 1884) frame 4: (eval) (/Slim/Control/Request.pm line 1884) frame 5: Slim::Control::Request::execute (/Slim/Control/Request.pm line 881) frame 6: Slim::Control::Request::executeRequest (/Slim/Menu/SystemInfo.pm line 278) frame 7: Slim::Menu::SystemInfo::infoLibrary (/Slim/Menu/Base.pm line 172) frame 8: (eval) (/Slim/Menu/Base.pm line 172) frame 9: Slim::Menu::Base::addItem (/Slim/Menu/Base.pm line 142) frame 10: Slim::Menu::Base::menu (/Slim/Web/Settings/Server/Status.pm line 33) frame 11: Slim::Web::Settings::Server::Status::handler (/Slim/Web/HTTP.pm line 1128) frame 12: Slim::Web::HTTP::generateHTTPResponse (/Slim/Web/HTTP.pm line 930) frame 13: Slim::Web::HTTP::processURL (/Slim/Web/HTTP.pm line 734) frame 14: Slim::Web::HTTP::processHTTP (/Slim/Networking/IO/Select.pm line 139) frame 15: (eval) (/Slim/Networking/IO/Select.pm line 123) frame 16: Slim::Networking::IO::Select::__ANON__ (/Slim/Networking/IO/Select.pm line 184) frame 17: (eval) (/Slim/Networking/IO/Select.pm line 184) frame 18: Slim::Networking::IO::Select::loop (slimserver.pl line 694) frame 19: main::idle (slimserver.pl line 59) frame 20: PerlSvc::Startup (/PerlSvc.pm line 95) frame 21: PerlSvc::_startup (slimserver.pl line 0) frame 22: (eval) (slimserver.pl line 0) [16-12-25 08:10:32.8619] Slim::Control::Request::execute (1889) Error: While trying to run function coderef [Slim::Control::Queries::videoTitlesQuery]: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectrow_array failed: near ")": syntax error [for Statement " SELECT COUNT(*) FROM ( SELECT videos.titlesearch AS 'videos.titlesearch', videos.hash AS 'videos.hash', videos.title AS 'videos.title', videos.titlesort AS 'videos.titlesort' FROM videos GROUP BY videos.hash ORDER BY videos.titlesort COLLATE) AS t1 "] at /Slim/Schema/Storage.pm line 126 ] [16-12-25 08:10:32.8628] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectrow_array failed: near ")": syntax error [for Statement " SELECT COUNT(*) FROM ( SELECT images.hash AS 'images.hash', images