Skip to content

Instantly share code, notes, and snippets.

@fffx
Created August 22, 2021 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fffx/f0cb061e0df056d1aed5a7981381a166 to your computer and use it in GitHub Desktop.
Save fffx/f0cb061e0df056d1aed5a7981381a166 to your computer and use it in GitHub Desktop.
Fix MiniDLNA not scan new files

First make sure in /etc/minidlna.conf

inotify=true

check /var/log/minidlna.log may found

[2021/08/22 04:14:10] monitor.c:216: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [30] 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

Fix it

echo fs.inotify.max_user_watches=16384 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
sudo systemctl restart minidlna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment