Long story short: MiniDLNA installed, manual refreshing via -R does NOT work. But inotify works. Partially. I start MiniDLNA - 0 files. I move all my files from the default location away and move them back instantly - all files indexed. After a restart of MiniDLNA (reboot or systemctl) - 0 files again. Moving also works again.


I made an workaround: Adding (sleep 5; sudo mv /var/lib/minidlna/* /var/cache/minidlna/empty; sudo mv /var/cache/minidlna/empty/* /var/lib/minidlna) & to the do_start function of /etc/init.d/minidlna. I can atleast use MiniDLNA now - but that is not a proper solution.

  • I know this isn't a proper answer, but after I had similar problems, I just installed Serviio on my Pi 4 and and it just works. Serves material (mkv etc) to my 2012 Samsung smart TV, recognises srt subtitles, mp3, FLAC, etc. Guide here – Michael Harvey Jul 9 '20 at 19:00
  • I would prefer a open source solution. Gerbera fails, incompatible with armv6. – nift4 Jul 10 '20 at 15:42
  • Are your ownwerships and permissions correct for the folders you are trying to refresh? – Michael Harvey Jul 10 '20 at 16:30
  • Yes. I already checked that. – nift4 Jul 11 '20 at 16:08
  • Ah, by the way: Universal Media Server is far too heavy. – nift4 Jul 11 '20 at 16:08

MiniDLNA is hardly maintained (last release ~3 years ago) and the solution is just switching the Server Software.


After updating media, renaming directories containing mp3 files followed by force-reload solves problem.

  • That is what my workaround does – nift4 Apr 15 at 10:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.