I hope that is the fix. I've changed the value in my system, I'll know more once I've added something and given it a little time to update.
Did you have any luck getting the database to update?
I was unable to get minidlna to auto-update the database. I really want to get it working properly, but I'm held back by my limited FreeBSD skills (Linux/Unix). I can however share some things I found.
I did:
but could not find the 'dlna' user listed in the web gui or with:
I'm not sure how important having the 'dlna' user is but it is listed in the minidlna script as the user. Also, while looking at the minidlna script I noticed there is a 'required dir' and mine was set to the default db directory. I changed it to what I used for 'db_dir' from minidlna.conf.
As mentioned before I changed the 'inotify' value found in minidlna.conf to 'yes'. I was reading that inotify is something in the Linux kernel. I thought from what I read on FreeBSD it is now available, but got confused in there somewhere. I also read that FreeBSD can use kqueue as an event notification interface. I have no idea how to determine if FreeNAS is using inotify or kqueue and if not, how to get one working.
The only success I had in updating the directory was with the following commands:
Code:
pkill minidlna
minidlna -f /usr/local/etc/minidlna.conf -R
It was recommended by
this article to use debug mode to know when the update has completed.
It seems the version packaged when using "MULTIMEDIA" is behind the minidlna version, but doubt that matters.
Hopefully you have/had better luck than me.