Reply To: Really Stuck Now…

#16836
EVILRipper
Participant

It dies when it tries to access the database.
My guess is the user running the mt-daapd process does not have read and/or write access to the database.

so make sure the user running mt-daapd has read and write access in the dir where it’s probably trying to create the database, if it doesn’t already exist.

Mine’s at /usr/var/cache/mt-daapd/songs.db
But somehow I remember having it at /var/cache/mt-daapd/songs.db

chmod and chown it to make sure it has access.
How to easily check if a user has write access in a dir?
touch it!

sudo -u  touch bla

this will run the command “touch bla” as the given user.
The user which runs mt-daapd should be in the /etc/mt-daapd.conf file.
“touch bla” attempts to create an empty file called bla in the current folder.

Hope this helps.