PDA

View Full Version : SB Server resets or crashes ?



reniera
2010-11-14, 16:28
Implementing WPA at home, I was playing around with the Radio but I couldn't connect to the collection. I logged in thru the web application and I was surprised to see the initial configuration panel of the squeezebox server !?!? (asking for the squeezenetwork userid and pwd, asking for the language...). I had no choice than go thru this process and then I noticed that all my artists/albums were still available but the collection name was lost. The server entered a full rescan and it seems to delete all the records one by one ...

The only thing I could have done is a factory reset of the radio but I guess it wouldn't reset the server, would it ?

The last message in the log is :

[10-11-14 19:27:38.4831] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Player::Source::__ANON__: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 149.
; fh=Slim::Plugin::LastFM::ProtocolHandler=GLOB(0x43 e1060)
[10-11-14 19:27:38.4938] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Player::Source::__ANON__: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 149.
; fh=Slim::Plugin::LastFM::ProtocolHandler=GLOB(0x43 e1060)
[10-11-14 19:31:17.0477] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Player::Source::__ANON__: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/share/perl5/Slim/Networking/IO/Select.pm line 149.
; fh=Slim::Plugin::LastFM::ProtocolHandler=GLOB(0x39 22d78)
2010-11-14 20:40:43 squeezeboxserver_safe started.
[10-11-14 20:40:59.6526] main::init (345) Starting Squeezebox Server (v7.6.0, r31479, Sat Oct 30 02:02:39 PDT 2010) perl 5.010001
[10-11-14 20:41:14.3635] Slim::Utils::PluginManager::load (330) Warning: Couldn't call Plugins::TrackStat::Plugin->initPlugin: Can't call method "dbh" on an undefined value at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Storage.pm line 67.
[10-11-14 20:41:16.1849] Slim::Networking::IO::Select::__ANON__ (146) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: ; fh=IO::Socket::INET=GLOB(0x3512b30)
[10-11-14 20:41:17.8122] Slim::Control::Request::execute (1926) Error: While trying to run function coderef [Slim::Control::Queries::statusQuery]: [Not a reference at /usr/share/perl5/Slim/Control/Queries.pm line 5530.
]
[10-11-15 00:08:46.0913] Slim::Utils::Scanner::Local::rescan (143) Discovering files in /media/musique
[10-11-15 00:14:48.1839] Slim::Utils::Scanner::Local::__ANON__ (215) Removing deleted files (13337)
[10-11-15 00:14:51.4814] Slim::Utils::Scanner::Local::__ANON__ (268) Scanning new files (0)
[10-11-15 00:14:51.4838] Slim::Utils::Scanner::Local::__ANON__ (321) Rescanning changed files (0)
[10-11-15 00:14:57.0246] Slim::Utils::Scanner::Local::deleted (422) Handling deleted track file:///media/musique/CD/-...
[10-11-15 00:14:57.0246] Slim::Utils::Scanner::Local::deleted (422) Handling deleted track file:///media/musique/CD/-...
[10-11-15 00:14:57.0246] Slim::Utils::Scanner::Local::deleted (422) Handling deleted track file:///media/musique/CD/-...
[10-11-15 00:14:57.0246] Slim::Utils::Scanner::Local::deleted (422) Handling deleted track file:///media/musique/CD/-...
[10-11-15 00:14:57.0246] Slim::Utils::Scanner::Local::deleted (422) Handling deleted track file:///media/musique/CD/-...


Can someone help me understand why the server lost its config ?
Thanks,

linvale
2010-11-15, 06:23
Always very disturbing when you read your files have been deleted - the good news is that Squeezecenter never physical alters your music files - it stores addresses to them and details about them in a database. From the log file you can see that is is having problems connecting to your files (it counts them as not here - hence a 0 value). When playing with WPA did you alter your security permissions for your files anywhere - can you access the files through windows explorer? My guess is that it will come back if you look and check you have access to the files over the network. In addition a pysical backup of your music, preferably stored away from your main source will ease that sinking feeling ...;-)

reniera
2010-11-15, 17:05
Tonight, I had a power drop and my devices are unable to reconnect. They ask me to select 'a' collection although my server name shows on the screen.

I go in the web interface and it asks me again what's my squeezebox account (data are prefilled, I just need to press 'next'), where my files are located (I need to select the directories). I also need to select the language again.
Only 600 of the songs are recognised.
I do a full scan and they all reappear...
I also notice that the name of my collection is gone.

So it was not related to the WLAN setup.

Bottomline, it's just the server loosing some pieces of its config ... How can this happen ?? I'm on 7.6.0 - r31479. has this been reported already ?

Soulkeeper
2010-11-15, 17:56
If the power drops and you don't have a UPS, you may lose all sorts of files, depending on what the hard drive was writing at the time.