Reply To: SVN-1450 nslu2 cant open DB

#7958
rpedde
Participant

@fizze wrote:

<25>Dec 15 17:45:37 mt-daapd[24339]: Query: vacuum
<25>Dec 15 17:45:37 mt-daapd[24339]: Error: disk I/O error

yeah, that’s gotta be out of disk space on the /tmp volume.

Alrighty, there seems to be a permission problem as well.
I had to 777 the DB dir. I had it chown’d to the user mt-daapd runs as first, and hat it set to 700. didnt work. weird.
Next I chown’d it to root:root and it didnt work either. Now with 777 it of course runs.
At what point does mt-daapd revoke its root:root rights and demonizes?
Or am i missing something here?

It does that after it initializes (and upgrades, if necessary) the database. I wonder if the vacuum is leaving a db owned by root and not the runas user. Maybe that’s what’s going on.