Closed ydrob closed 8 months ago
@etnoy does the file watcher respect exclusions?
@etnoy does the file watcher respect exclusions?
It should, but I realize we never added tests for that. I will have to investigate.
Thanks for the report!
same issue
There were some watcher refactors in 1.95
OK. I just confirmed that exclusion patterns do work with file watchers, and this has not been changed in the latest version. However, due to some technicalities Immich still needs to watch all files, and exclusion patterns are filtered in a later steps.
The core issue you are having is that the number of file watchers is limited by your operating system. The fix is to increase this limit, as documented here: https://watchexec.github.io/docs/inotify-limits.html
For those on Synology (I'm on a ds 920+, DSM 7.2.1) this worked for me: https://github.com/immich-app/immich/issues/7303#issuecomment-1958043509
The bug
After update 1.9.5 Immich server was broken, immich server container stops after running. Immich server complains about files in folder @eadir, but this folders are excluded and all works on 1.94.1 version. If I comment mourning external library it starts. immich_server.csv All works on 1.94.1 version
Logs are attached.
The OS that Immich Server is running on
synology dsm 7.2.1 u4
Version of Immich Server
v1.9.5
Version of Immich Mobile App
v1.9.5
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
Additional information
No response