add the third possiblity
You may also want to check any recently added files in the media dir....if it hits a file it doesn't recognize/can't scan successfully, minidlna can get hung up.
Another issue .. Router starts scanning .. finished quickly and no /tmp/mnt/sda1/.minidlna folder exists.
Does not create a new folder ...
Never had this one before ..
Samba works fine ..
Just the minidlna scan seems to crash and no logs .. ?
EDIT:
Minidlna also working .. some files are scanned and I can play them.
But why is not .minidlna folder existing anymore ?
EDIT2:
I found them .. at a new place ..
admin@RT-AC68U:/tmp/mnt/sda1# find / -name minidlna
/tmp/var/cache/minidlna
/tmp/var/run/minidlna
/usr/sbin/minidlna
admin@RT-AC68U:/tmp/mnt/sda1# find / -name .minidlna
admin@RT-AC68U:/tmp/mnt/sda1# ls -la /tmp/var/cache/
drwxrwxrwx 3 admin root 60 Apr 23 22:51 .
drwxr-xr-x 14 admin root 360 Apr 23 22:51 ..
drwxrwxrwx 3 admin root 100 Apr 23 22:56 minidlna
admin@RT-AC68U:/tmp/mnt/sda1# ls -la /tmp/var/cache/minidlna/
drwxrwxrwx 3 admin root 100 Apr 23 22:56 .
drwxrwxrwx 3 admin root 60 Apr 23 22:51 ..
drwxr-x--- 3 admin root 60 Apr 23 22:52 art_cache
-rw-r----- 1 admin root 14290944 Apr 23 22:57 files.db
-rw-r----- 1 admin root 1562 Apr 23 22:57 minidlna.log
Minidlna.log
[2017/04/23 22:56:43] scanner.c:834: warn: Scanning /tmp/mnt finished (5153 files)!
[2017/04/23 22:56:44] playlist.c:125: warn: Parsing playlists...
[2017/04/23 22:57:18] playlist.c:259: warn: Finished parsing playlists.
This way he starts at every boot again .. /tmp/var/cache seems not be correct ?
EDIT3:
To get all the infos...
admin@RT-AC68U:/tmp/home/root# nvram show | grep mini
dms_dbcwd=/var/cache/minidlna
dms_dbdir=/tmp/mnt/sda1/.minidlna
size: 57752 bytes (7784 left)
Did not change anything .. are the settings still correct ?
Thanks !!