Here's a fairly significant new problem. I've updated to the latest rev of 7.9 and removed the tweak database plugin. I stopped the server, deleted everything in the cache, then restarted. The server fails to scan the library and scanner.log shows the following:
I can manually run a full wipe and rescan after this and the library is scanned successfully, with scanner.log showing no errors.Code:[14-05-10 02:44:33.7133] main::main (202) Starting Logitech Media Server scanner (v7.9.0, TRUNK, UNKNOWN) perl 5.014001 [14-05-10 02:44:34.4477] Slim::Schema::forceCommit (2109) Warning: Trying to commit transactions before DB is initialized! [14-05-10 02:44:35.1040] Slim::Utils::DbCache::_init_db (275) Warning: DBD::SQLite::db do failed: SQL logic error or missing database cannot VACUUM from within a transaction at C:/Program Files (x86)/Logitech Media Server 7.9/server/Slim/Utils/DbCache.pm line 243. Delete the file C:\ProgramData\Squeeze\70\cache\artwork.db and start from scratch. [14-05-10 02:45:08.0571] main::main (298) Warning: Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=C:\ProgramData\Squeeze\70\cache\artwork.db at C:/Program Files (x86)/Logitech Media Server 7.9/server/scanner.pl line 298. [14-05-10 02:45:08.0574] main::main (298) Warning: Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=C:\ProgramData\Squeeze\70\cache\artwork.db at C:/Program Files (x86)/Logitech Media Server 7.9/server/scanner.pl line 298. [14-05-10 02:45:08.0580] main::main (301) Error: Failed when calling Slim::Schema->wipeAllData: [Unable to read/create C:\ProgramData\Squeeze\70\cache\artwork.db] [14-05-10 02:45:08.0583] main::main (302) Error: This is a fatal error. Exiting
Results 1 to 10 of 1175
Thread: 7.9 Problems/Bugs
-
2014-05-10, 02:14 #1
7.9 Problems/Bugs
-
2014-05-10, 13:37 #2
7.9 Problems/Bugs
Thanks a lot for that report! Hmm... might be the scanner is launched before the server is opening that file for the first time. Will fix this asap.
-
2014-05-12, 05:42 #3
7.9 Problems/Bugs
> Here's a fairly significant new problem. I've updated to the latest rev
> of 7.9 and removed the tweak database plugin. I stopped the server,
> deleted everything in the cache, then restarted. The server fails to
> scan the library and scanner.log shows the following:
I haven't been able to reproduce this issue. I removed all *.db files
from the cache folder, started LMS, scanned without any problem. I still
re-arranged the statements in that area a bit. Could you please try to
reproduce? Thanks!
--
Michael
-
2014-05-12, 06:02 #4
I haven't updated yet. I'm trying it again with whatever version I had from yesterday.
Yep, same failure.
Code:[14-05-12 06:55:40.9070] main::main (202) Starting Logitech Media Server scanner (v7.9.0, TRUNK, UNKNOWN) perl 5.014001 [14-05-12 06:55:41.5320] Slim::Schema::forceCommit (2109) Warning: Trying to commit transactions before DB is initialized! [14-05-12 06:55:42.1570] Slim::Utils::DbCache::_init_db (275) Warning: DBD::SQLite::db do failed: SQL logic error or missing database cannot VACUUM from within a transaction at C:/Program Files (x86)/Logitech Media Server 7.9/server/Slim/Utils/DbCache.pm line 243. Delete the file C:\ProgramData\Squeeze\70\cache\artwork.db and start from scratch. [14-05-12 06:56:15.0788] main::main (298) Warning: Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=C:\ProgramData\Squeeze\70\cache\artwork.db at C:/Program Files (x86)/Logitech Media Server 7.9/server/scanner.pl line 298. [14-05-12 06:56:15.0791] main::main (298) Warning: Issuing rollback() due to DESTROY without explicit disconnect() of DBD::SQLite::db handle dbname=C:\ProgramData\Squeeze\70\cache\artwork.db at C:/Program Files (x86)/Logitech Media Server 7.9/server/scanner.pl line 298. [14-05-12 06:56:15.0798] main::main (301) Error: Failed when calling Slim::Schema->wipeAllData: [Unable to read/create C:\ProgramData\Squeeze\70\cache\artwork.db] [14-05-12 06:56:15.0801] main::main (302) Error: This is a fatal error. Exiting
-
2014-05-12, 06:14 #5
-
2014-05-12, 06:25 #6
7.9 Problems/Bugs
Do you see any related errors in server.log around the same time? And you are running from the source, aren't you?
-
2014-05-12, 06:35 #7
No, just the usual messages when started with no database.
Code:[14-05-12 07:06:28.4696] main::init (368) Starting Logitech Media Server (v7.9.0, TRUNK, UNKNOWN) perl 5.014001 [14-05-12 07:06:29.7978] Slim::Utils::SQLiteHelper::postConnect (370) Optimizing DB because of missing or empty sqlite_stat1 table [14-05-12 07:06:29.8043] Slim::Schema::forceCommit (2109) Warning: Trying to commit transactions before DB is initialized! [14-05-12 07:06:29.8146] Slim::Schema::init (162) Warning: Creating new database - empty, outdated or invalid database found [14-05-12 07:06:30.4065] main::checkDataSource (1092) Warning: Schema updated or no media found in the database, initiating scan. [14-05-12 07:07:05.7912] Slim::Utils::SQLiteHelper::postConnect (370) Optimizing DB because of missing or empty sqlite_stat1 table [14-05-12 07:07:05.7976] Slim::Schema::forceCommit (2109) Warning: Trying to commit transactions before DB is initialized!
FWIW, the latest 7.8.1 has no problems starting and scanning with an empty cache.
-
2014-05-12, 10:11 #8
- Join Date
- May 2008
- Location
- Netherlands
- Posts
- 873
Not trying to hijack tis thread, but I'm unable to run a 'changed & new' scan, however a 'clean & scan' completes succesfully. (And about 15 min. faster than before (about 52.000 tracks)
Last edited by verypsb; 2014-05-12 at 10:49.
Please vote:
bug 1330 New music should work on creation date
bug 17963 New and changed doesn't handle changed files
bug 17799 Use a separator such as 'Also appears on' when viewing the albums by an artist
bug 18054 Add support for 'Set Subtitle'/'Disc Subtitle' (ID3v2.4 TSST/ID3V2.3 TIT3)
1x Boom, 1x Classic, 4x Controller, 1x Radio, 4x Receiver, 2x Touch
-
2014-05-12, 10:35 #9
7.9 Problems/Bugs
> Not trying to hijack tis thread, but I'm unable run a 'changed & new'
> scan, however a 'clean & scan' completes succesfully. (And about 15 min.
> faster than before (about 52.000 tracks)
>
Are you using any 3rd party plugins, iTunes?
-
2014-05-12, 10:53 #10
Last edited by kidstypike; 2014-05-12 at 11:01. Reason: adding picture
Server - LMS 8.2.0 Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library, playlists & LMS cache on SSD (ntfs)
Study - Pi3B/pCP 7.0.1/pi screen/Hifiberry DAC HAT Ruark MR1 Mk2
Lounge - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
Garage - Squeezebox Boom + Fostex sub
Dining Room - Pi3B/Bluetooth/Echo Show 8
Spares - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi