PDA

View Full Version : LMS Wouldn't Scan And Now Won't Even Start!



EvilWhistler
2012-10-15, 20:42
Hi there.

Okay, so I've been running LMS 7.7.2 and have a Squeezebox Radio, and all has been great until a few days ago. For some reason at that time the server simply started hanging during the scheduled library scan. It would say it was at stage 1, scanning directories, but the timer next to the progress bar would not start counting up and eight hours later it says it's still scanning....when I abort the scan it has not found anything.

So I abandoned the scheduled scan and tried just doing a manual scan....same result.

Next on the list of things to try was to uninstall and re install LMS, and now the server won't start at all. The icon in the system tray is grey and says the server is stopped. When I open the Control Panel and click Start Logitech Media Server is says it is starting, but five to ten seconds later it says it is stopped. I can't log into my mysqueezebox.com account because that option is grayed out, I can't add a media destination to scan for the same reason, so now I'm really stuck. Have tried a few more uninstalls and re-installs, and even tried installing the 7.8.0 beta version of LMS, but no version of the server will start.

Any thoughts? Thanks.

Nigel.

EdinburghMusician
2012-10-21, 12:39
Hi, first, sorry for a querysome problem as my first post.

Similar problem dude. I have been using my setup for a few months with mostly no problems. Recently, I realised my music was not updating to new songs I added to iTunes. I tried a clearing the cache and rescanning, the scan was doing nothing just sitting at directory scan. I kept trying to abort and restart - nothing. I uninstalled lms and reinstalled - nothing. Now I have no music. I can still listen to the radio, so the squeezeboxes are still working as is my ipeng.

Anyone have any ideas what is wrong, what I can do? I'm really stuck. Thanks.

EdinburghMusician
2012-10-21, 14:56
So, Further to my first post above, I reinstalled and took a look at the log when the lms first start up. For anyone who can help, please please help, I'm not a techie, I am just a user and I'm totally lost:

[12-10-21 22:35:34.7815] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
[12-10-21 22:35:37.2502] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[12-10-21 22:35:37.2823] Slim::Schema::init (162) Warning: Creating new database - empty, outdated or invalid database found
[12-10-21 22:35:50.0002] Slim::Plugin::MusicMagic::Plugin::initPlugin (268) Can't connect to port 10002 - MusicIP disabled.
[12-10-21 22:35:51.9356] main::checkDataSource (1072) Warning: Schema updated or no media found in the database, initiating scan.
[12-10-21 22:39:13.9846] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
[12-10-21 22:39:19.9689] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[12-10-21 22:39:29.8902] main::checkDataSource (1072) Warning: Schema updated or no media found in the database, initiating scan.

The final three lines are from when i closed and reopened LMS. Help, please. I'm at the end of my rope tbh.

Mnyb
2012-10-22, 04:23
So, Further to my first post above, I reinstalled and took a look at the log when the lms first start up. For anyone who can help, please please help, I'm not a techie, I am just a user and I'm totally lost:

[12-10-21 22:35:34.7815] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
[12-10-21 22:35:37.2502] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[12-10-21 22:35:37.2823] Slim::Schema::init (162) Warning: Creating new database - empty, outdated or invalid database found
[12-10-21 22:35:50.0002] Slim::Plugin::MusicMagic::Plugin::initPlugin (268) Can't connect to port 10002 - MusicIP disabled.
[12-10-21 22:35:51.9356] main::checkDataSource (1072) Warning: Schema updated or no media found in the database, initiating scan.
[12-10-21 22:39:13.9846] main::init (354) Starting Logitech Media Server (v7.7.2, r33893, Wed Mar 14 05:47:42 PDT 2012) perl 5.014001
[12-10-21 22:39:19.9689] Slim::Utils::SQLiteHelper::postConnect (359) Optimizing DB because of missing or empty sqlite_stat1 table
[12-10-21 22:39:29.8902] main::checkDataSource (1072) Warning: Schema updated or no media found in the database, initiating scan.

The final three lines are from when i closed and reopened LMS. Help, please. I'm at the end of my rope tbh.

let it complete it's scan do not abort .

EdinburghMusician
2012-10-22, 11:15
let it complete it's scan do not abort .

The scan wouldn't even get past the initial directory scan so it never completed. However, I've found out why the problem was occurring: my anti virus had decided that some file was a Trojan and had vaulted it without telling me. When I uninstalled and reinstalled the file was replicated so, when I ran a manual virus scan to check every last possible problem, I saw the file flagged. One file exception later and the system is up and running perfectly.

Tanks for your suggestion though.
Leo