Readymedia / Minidlna stops working after upgrade to debian trixie

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=16
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘applied’
  • Distro version | trixie
  • Kernel version | Linux 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux
  • Architecture | amd64
  • SBC model | Native PC (x86_64)

Additional Information (if applicable)

  • Software title | Readymedia minidlna
  • Was the software title installed freshly or updated/migrated? The software was installed via dietpi-software before upgrading to trixie (I have it since Bullseye).
  • Can this issue be replicated on a fresh installation of DietPi? I don’t know, I have upgraded to trixie my box.

Steps to reproduce

  1. Upgrade to debian trixie using the script
  2. After the last reboot minidlna stop working

Expected behaviour

  • Minidlna functions as usual

Actual behaviour

  • Minidlna stops working. When i run dietpi-services status I get:
  Loaded: loaded (/etc/systemd/system/minidlna.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2025-08-31 01:05:57 -05; 21min ago
   Duration: 127ms
 Invocation: ff262b07177c448393c5516195fceb12
       Docs: man:minidlnad(1)
             man:minidlna.conf(5)
    Process: 5403 ExecStart=/usr/sbin/minidlnad -S -R -f /etc/minidlna.conf -P /dev/null (code=exited, status=255/EXCEPTION)
   Main PID: 5403 (code=exited, status=255/EXCEPTION)
   Mem peak: 12.6M
        CPU: 210ms

Aug 31 01:05:57 negro systemd[1]: Started minidlna.service - ReadyMedia (DietPi).
Aug 31 01:05:57 negro minidlnad[5403]: minidlna.c:1163: warn: Starting MiniDLNA version 1.3.3.
Aug 31 01:05:57 negro minidlnad[5403]: minidlna.c:392: warn: Creating new database at /mnt/Datos/dietpi_userdata/.MiniDLNA_Cache/files.db
Aug 31 01:05:57 negro minidlnad[5403]: minidlna.c:404: fatal: Failed to clean old file cache!  Exiting...
Aug 31 01:05:57 negro systemd[1]: minidlna.service: Main process exited, code=exited, status=255/EXCEPTION
Aug 31 01:05:57 negro systemd[1]: minidlna.service: Failed with result 'exit-code'.

Extra details

  • I tried ‘dietpi-software reinstall 39’ … not working
  • I tried to uninstall, reboot, then fresh install… not working
  • I tried renaming all the old multimedia folders and to delete all the folders before the fresh install… not working…

Thanks for any ideas to resolve this…

I didn’t have a solution, but I ran a test on an OrangePi 5 with Trixie. So far, Readymedia / Minidlna has installed without any issues. The service also runs fine after a reboot.

root@DietPiOPi5:~# journalctl -u minidlna.service
Sep 02 11:27:20 DietPiOPi5 systemd[1]: Started minidlna.service - ReadyMedia (DietPi).
Sep 02 11:27:21 DietPiOPi5 minidlnad[679]: minidlna.c:1163: warn: Starting MiniDLNA version 1.3.3.
Sep 02 11:27:21 DietPiOPi5 minidlnad[679]: minidlna.c:392: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Sep 02 11:27:21 DietPiOPi5 minidlnad[679]: minidlna.c:1211: warn: HTTP listening on port 8200
Sep 02 11:27:21 DietPiOPi5 minidlnad[728]: playlist.c:135: warn: Parsing playlists...
Sep 02 11:27:21 DietPiOPi5 minidlnad[728]: playlist.c:269: warn: Finished parsing playlists.
Sep 02 11:27:21 DietPiOPi5 minidlnad[679]: monitor_inotify.c:223: warn: WARNING: Inotify max_user_watches [62430] is low or close to the number of used watches [6] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
root@DietPiOPi5:~#

Can you share following

ls -la /mnt/dietpi_userdata/.MiniDLNA_Cache/

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.