I have been using Minidlna for a long time and everything was working fine with a RAID storage configuration. Recently I decide to move to SNAPRAID.
In order to have easier acces to the NAS from any dive in my network I created a single file system using UNION file system. Everything working fine so far.
Problem is coming from Minidlna. I tried everything possible but can'0t get it working. Minidlna can't have access to any folder present tin the Union Filsystem
attached the last syslog.
6f4ddce1-c6e0-40b6-963e-18301fdaf449 is the shared folder I named MYNAS
permissions should be ok:
login as: Maurizio
Maurizio@192.168.147.104's password:
Linux NAS104 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-4~bpo10+1 (2021-08-07) x 86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Jun 9 22:30:25 2022 from 192.168.147.38
Could not chdir to home directory /home/Maurizio: No such file or directory
$ cd srv
$ ls -al
total 52
drwxr-xr-x 10 root root 4096 Jun 9 21:52 .
drwxr-xr-x 19 root root 4096 Oct 24 2021 ..
drwxrwsrw-+ 5 Maurizio sudo 4096 Jun 9 21:52 6f4ddce1-c6e0-40b6-963e-18301fdaf449
drwxr-xr-x 4 root root 4096 Jun 9 21:52 dev-disk-by-uuid-155d1ae2-92e5-4fc0-ab2f-66c63d85b81b
drwxr-xr-x 4 root root 4096 Jun 9 21:52 dev-disk-by-uuid-3ecb8890-0086-4ae7-a1fb-e8f7def68456
drwxrwsrw-+ 5 Maurizio sudo 4096 Jun 9 21:52 dev-disk-by-uuid-dec5cc2b-ae5e-4c6d-870c-38f8747e3f11
drwxrwsrw-+ 4 Maurizio sudo 4096 Jun 9 21:52 dev-disk-by-uuid-f62964d3-c903-46e1-a50c-a7d006d03e4c
drwxr-xr-x 2 ftp nogroup 4096 Oct 24 2021 ftp
drwxr-xr-x 3 root root 4096 Oct 24 2021 pillar
drwxr-xr-x 6 root root 4096 Oct 24 2021 salt
$ cd 6f4ddce1-c6e0-40b6-963e-18301fdaf449
$ ls -al
total 194028
drwxrwsrw-+ 5 Maurizio sudo 4096 Jun 9 21:52 .
drwxr-xr-x 10 root root 4096 Jun 9 21:52 ..
-rwxrwxrw-+ 1 root sudo 6144 Jun 9 21:52 aquota.group
-rwxrwxrw-+ 1 root sudo 7168 Jun 9 21:52 aquota.user
drwxrwsrw-+ 2 Maurizio sudo 4096 Apr 9 13:03 Home
drwxrwxrw-+ 2 Maurizio sudo 16384 Oct 25 2021 lost+found
drwxrwsrw-+ 4 Maurizio sudo 4096 Jun 8 19:29 NAS104
-rw-------+ 1 root sudo 198616898 Jun 9 10:03 snapraid.content
-rwxrwxrw-+ 1 Maurizio sudo 0 Jun 9 09:38 snapraid.content.lock
$ cd NAS104
$ ls -al
total 56
drwxrwsrw-+ 4 Maurizio sudo 4096 Jun 8 19:29 .
drwxrwsrw-+ 5 Maurizio sudo 4096 Jun 9 21:52 ..
drwxrwsrw-+ 3 Maurizio users 4096 Apr 9 22:14 'Archivio Mau'
drwxrwsrwx+ 3 Maurizio users 4096 Jun 8 19:29 Films
drwxrwsr--+ 4 Maurizio users 4096 Apr 13 18:29 Home
drwxrwsrw-+ 11 Maurizio sudo 4096 Oct 30 2021 KarenBackup
drwxrwsrw-+ 13 Maurizio sudo 4096 Oct 25 2021 music
$
To me looks like there is a problem with Minidlna and UNION filesystems, becasue Minidlna access to ../Films and ../Home is denied, as indicated in the log attached file.
DLNA server works fine, I can access the server from WIndows ans well from an LG smartv, but no content is found.
any clue how to solve this?
Thanks
Maurizio