Bugzilla – Bug 3262
Crash on rescan when album moved/deleted
Last modified: 2006-04-12 09:48:26 UTC
I've just moved one of my albums to a different location in the folder that slimserver scans. I then did a rescan for new and changed music and the server crashed with the following message: 2006-04-12 15:14:45.4696 DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails at /usr/local/slimserver/lib/Class/DBI.pm line 835. Can't delete file:///data/music/Borrowed/Air/Moon%20Safari/01-La%20Femme%20D%27Argent.flac: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails at /usr/local/slimserver/lib/Class/DBI.pm line 835. at /usr/local/slimserver/Slim/DataStores/DBI/DBIStore.pm line 728 2006-04-12 15:14:45.6924 Shutting down plugins... 2006-04-12 15:14:45.7108 Grab Playlist Shutting Down -- 0.5 I doubt it's relevant, but I have two directories at the top level of the scanned folder, one called Borrowed and one called CDs. I moved a folder called Air, containing another folder called Moon Safari with flacs in it, from Borrowed to CDs (after a successful morning's shopping). I'm running R6908 with my database held in MySQL.
Max - this should be fixed already. However, you'll need to drop and recreate your schema. Please see change 6815