owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD audio server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
2.1k stars 237 forks source link

main: Database init failed #372

Closed 1liminal1 closed 7 years ago

1liminal1 commented 7 years ago

[2017-03-17 16:57:40] [ LOG] db: Could not open database: unable to open database file [2017-03-17 16:57:40] [FATAL] main: Database init failed

What am I doing wrong here?

ejurgensen commented 7 years ago

Either the path to the db does not exist (usually /var/cache/forked-daapd - depends on how you built forked-daapd, but in any case you can set the path in the config), or the user that forked-daapd is running as does not have write permission to that directory.