I'm a little bit lost on configuring the minidlna service on my FritzBox 3370. I've installed minidlna via opkg and enabled it with uci:
root@OpenWrt:~# uci show minidlna
minidlna.config=minidlna
minidlna.config.port='8200'
minidlna.config.interface='br-lan'
minidlna.config.friendly_name='OpenWrt DLNA Server'
minidlna.config.db_dir='/var/run/minidlna'
minidlna.config.inotify='1'
minidlna.config.enable_tivo='0'
minidlna.config.wide_links='0'
minidlna.config.strict_dlna='0'
minidlna.config.notify_interval='900'
minidlna.config.serial='12345678'
minidlna.config.model_number='1'
minidlna.config.root_container='.'
minidlna.config.album_art_names='Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg'
minidlna.config.enabled='1'
minidlna.config.uuid='0bb52163-8e6f-4c54-bcc5-0d203c81543e'
minidlna.config.media_dir='/mnt'
minidlna.config.user='minidlna'
minidlna.config.log_level='debug'
The USB drive i am using is formatted with ext4 (at first i tried with f2fs, but the got the idea that the inotify feature perhaps isn't working with f2fs). After rebooting the server is responding at port 8200, but it doesn't have any files in it's database. I also copied a jpeg for testing, although i'm primarly interested in minidlna for serving video files. Permissions on the USB drive seems to be OK:
root@OpenWrt:~# ll /mnt/sda1/
drwxr-xr-x 3 root root 4096 Sep 28 12:13 ./
drwxr-xr-x 1 root root 296 Sep 28 11:38 ../
-rw-r--r-- 1 root root 1513434 Sep 28 12:01 41405_Hinten.jpg
drwx------ 2 root root 16384 Sep 27 08:01 lost+found/
-rw-r--r-- 1 root root 637110098 Sep 28 11:21 outputs.mkv
Although i've set the log_level config to debug, there is no output in /var/log/ from minidlna:
root@OpenWrt:~# ll /var/log/
drwxr-xr-x 2 root root 80 Sep 28 11:51 ./
drwxrwxrwt 14 root root 380 Sep 28 11:51 ../
-rw-r--r-- 1 root root 0 Sep 28 11:51 lastlog
-rw-r--r-- 1 root root 0 Sep 28 11:51 wtmp
What am i doing wrong here?