I have Ubuntu 18.04 and I installed minidlna via snap because of the several dependencies that I don't otherwise need, and to avoid dependency hell.
I edited /var/snap/minidlna-escoand/19/minidlna.conf and I checked in the log file that everything goes well:
[2019/05/01 18:42:06] minidlna.c:1048: warn: Starting MiniDLNA version 1.2.1. [2019/05/01 18:42:06] minidlna.c:1089: warn: HTTP listening on port 8200
However, I checked with VLC and no media is available.
The config file shows:
media_dir=/tank/media/Videos media_dir=/tank/media/Music media_dir=/tank/media/Photos media_dir=/tank/home/olaf/Anime e manga
and the permissions are:
root@ml110g7:~# ps aux | grep minidlna root ... minidlnad -f /var/snap/minidlna-escoand/19/minidlna.conf -P /var/snap/minidlna-escoand/common/minidlna.pid root@ml110g7:~# ls -l /tank/media/ total 27 drwxrws--- 13 root music 14 Feb 27 23:22 Music drwxrws--- 4 root photos 7 Feb 27 23:22 Photos drwxrws--- 9 root videos 10 Feb 27 23:22 Videos
minidlnad runs as root, so why isn't it able to access the folders? one of the folders contains spaces (something that should pose no problem), but the other ones are simpler and no error is logged.
How can I debug the issue?