Reply To: Help with MyBook World Edition – newbie to Linux

#15017
EVILRipper
Participant

They probably have moved? Maybe he found it the first time while scanning, and now the files are somewhere else. (Mounted in different dir?)

Simple fix:

locate songs

Should result with a line with a file called songs.db or songs3.db.
(Probably at /usr/var/cache/mt-daapd/songs.db)
This is mt-daapd’s stored database.

How do we fix the database?
– Shutdown mt-daapd
… Not sure:

/etc/init.d/mt-daapd stop

– Delete the database

rm /usr/var/cache/mt-daapd/songs.db

Or whatever is the path to the songs database

– Start mt-daapd
Again not sure:

/etc/init.d/mt-daapd start

The start/stopping code is for debian. I actually doubt this works on your linux distro. I hope you know how to stop/start mt-daapd?

After successfully following those steps, it should start scanning on startup, because his database is gone.
It will scan in the music dir you entered in the mt-daapd.conf file. (As you probably already know)

Hope this will fix your problem, although it is only a workaround. Maybe you can think of the reason why the files have gone missing/moved?

Kind regards,
Erik