Monday, 30 January 2012

QNAP iTunes Server dying

Testing a few mp3's on the NAS to iTunes PC worked 100%, after transferring my complete collection the iTunes server kept on dying via the web interface. So it was back to the old trusted CLI via ssh and fault finding:

Firstly to check if the iTunes server process is running or not:

ps | grep mt-daapd

And to find the command options:

mt-daapd --help

To start the process manually:

mt-daapd -d 9 -c /etc/mt-daapd.conf -f 

with

-d 9 setting the debug level to 9

-c to use a spesific configuration file

-f to run it in teh foreground allowing you to see the debug messages in real time.

running this will halt on the reason for the iTunes server to fail.

if the error is with .m3u files

this can be fixed by changing a line the qnaps /etc/mt-daapd.conf

turing: process_m3u 1 => process_m3u 0

In my instance a single mp3 file caused the process to stop, I corrected the mp3 id tag 

Restarted the service and everything worked like a charm

No comments:

Post a Comment