Share media content inside a Syncthing folder with MiniDLNA

Hi! Sorry for the necropost, but I’m having the same problem, and @Ged 's solution doesn’t work for me.

Specifically, when I do this:

minidlna does not get added to the ‘freedombox-share’ group. Here is the terminal session:
zinho@freedombox:~$ id minidlna
uid=112(minidlna) gid=10005(minidlna) groups=10005(minidlna)
zinho@freedombox:~$ sudo usermod -aG freedombox-share minidlna
zinho@freedombox:~$ id minidlna
uid=112(minidlna) gid=10005(minidlna) groups=10005(minidlna)
zinho@freedombox:~$ id zinho
uid=10001(zinho) gid=100(users) groups=10000(freedombox-share),10002(bit-torrent),10003(calibre),10004(git-access),10005(minidlna),10006(vpn),100(users)
zinho@freedombox:/$ grep minidlna /etc/passwd
minidlna:x:112:10005:MiniDLNA server,:/var/lib/minidlna:/usr/sbin/nologin
zinho@freedombox:/$ grep freedombox-share /etc/group
zinho@freedombox:/$ grep minidlna /etc/group
zinho@freedombox:/$ grep zinho /etc/passwd
zinho@freedombox:/$ sudo usermod -aG 10000 minidlna
zinho@freedombox:/$ id minidlna
uid=112(minidlna) gid=10005(minidlna) groups=10005(minidlna)

I’m speculating that it’s failing because the freedombox-share group is not listed in /etc/group
In fact, neither is the minidlna group, although we can see from the ID command that it exists and has GID 10005. My user is a member of the minidlna group, and of the freedombox-share group (GID 10000) as well, but is also not listed in /etc/passwd

What is going on here? Are some of the freedombox-related users and groups being stored in the OpenLDAP instance, and somehow tied into the OS such that they show up in commands like ID, but not usermod?

There must be an incantation for adding users to the freedombox-share group, because the web interface allows me to do it for users I create via the “Users and Groups” page.

Please help!

edit
I found this quote in the release notes for Freedombox 21.4.1:
deluge: Fix daemon user not in freedombox-share group after installation
A similar solution for minidlna would solve this problem for everyone.