apachelance 11 Posted February 19 Share Posted February 19 Since updating to 4.8.1.0 (DSM 7.2) the automatic library recognition is not working anymore when adding new movies. I had no issues in the past. Realtime monitoring is enabled in the library settings. I have also this script running in Synology DSM to support the automatic update (had the same script with older Emby versions, no changes here): sh -c '(sleep 90 && echo 3276800 > /proc/sys/fs/inotify/max_user_watches)&' sh -c '(sleep 90 && echo 8192 > /proc/sys/fs/inotify/max_user_instances)&' Any idea? Thanks. Link to comment Share on other sites More sharing options...
Carlo 4330 Posted February 19 Share Posted February 19 Hi, Can you post a log file from a time frame when media was added, noting the rough time, media was added to the system? Thanks, Carlo Link to comment Share on other sites More sharing options...
apachelance 11 Posted February 19 Author Share Posted February 19 Hi, Just deleted the movie which was not working and reuploaded it. This time it was recognized. No errors in the log file. I will further observe it and give an update here. Thanks Andreas 1 Link to comment Share on other sites More sharing options...
apachelance 11 Posted February 23 Author Share Posted February 23 On 2/19/2024 at 3:35 PM, Carlo said: Hi, Can you post a log file from a time frame when media was added, noting the rough time, media was added to the system? Thanks, Carlo I just added three movies and the library was not updated. The log shows nothing related to adding movies: 2024-02-23 21:14:18.157 Info Server: http/1.1 Response 404 to host1. Time: 1ms. GET http://192.168.178.10:8096/emby/Items/204238/Images/Backdrop?Accept=webp&Quality=100&PercentPlayed=8&EnableImageEnhancers=true&MaxHeight=300&Tag=33f0f494a6991b8d7637d9d03e3abd2d 2024-02-23 21:28:07.655 Info Server: http/1.1 POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 2024-02-23 21:28:07.710 Info Server: http/1.1 Response 204 to host3. Time: 54ms. POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json 2024-02-23 21:28:07.807 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey) 2024-02-23 21:28:09.021 Info CoverArt: image enhance of What We took 0,215 seconds. 2024-02-23 21:29:50.829 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey) 2024-02-23 21:29:53.531 Info Server: http/1.1 POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 2024-02-23 21:29:53.532 Info Server: http/1.1 Response 204 to host3. Time: 2ms. POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json 2024-02-23 21:29:53.581 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey) 2024-02-23 21:32:03.925 Info Server: http/1.1 POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 2024-02-23 21:32:03.927 Info Server: http/1.1 Response 204 to host3. Time: 2ms. POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json 2024-02-23 21:32:22.520 Info Server: http/1.1 POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 2024-02-23 21:32:22.521 Info Server: http/1.1 Response 204 to host3. Time: 2ms. POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json 2024-02-23 21:32:22.573 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey) 2024-02-23 21:38:25.205 Info Server: http/1.1 POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 2024-02-23 21:38:25.207 Info Server: http/1.1 Response 204 to host3. Time: 2ms. POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json 2024-02-23 21:38:25.282 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey) 2024-02-23 21:38:33.603 Info Server: http/1.1 POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0 2024-02-23 21:38:33.605 Info Server: http/1.1 Response 204 to host3. Time: 2ms. POST http://192.168.178.10:8096/emby/Sessions/Capabilities/Full?X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=325162b2-2cfc-410e-85ca-93d71b97627e&X-Emby-Client-Version=4.8.1.0&X-Emby-Token=x_secret2_x&X-Emby-Language=de&reqformat=json Link to comment Share on other sites More sharing options...
Happy2Play 8332 Posted February 23 Share Posted February 23 Usually best to post the full log. Link to comment Share on other sites More sharing options...
Luke 37180 Posted February 23 Share Posted February 23 Hi, yes please attach the complete emby server log file. Thanks. Link to comment Share on other sites More sharing options...
Carlo 4330 Posted February 25 Share Posted February 25 @apachelanceWhen you get a free moment upload the server log from above for us to take a look at. Thanks, Carlo Link to comment Share on other sites More sharing options...
apachelance 11 Posted February 25 Author Share Posted February 25 Will do beginning of the week. Thanks. Link to comment Share on other sites More sharing options...
Happy2Play 8332 Posted February 25 Share Posted February 25 2 minutes ago, apachelance said: Will do beginning of the week. Thanks. Just make sure the log covers a specific example of media added. Thanks Link to comment Share on other sites More sharing options...
apachelance 11 Posted February 29 Author Share Posted February 29 I need to observe it further. Today my plan was to create a log when the problem occurs. However today the recognition was working without issues. 1 Link to comment Share on other sites More sharing options...
apachelance 11 Posted March 6 Author Share Posted March 6 Today the realtime monitoring was not working again. Please find attached the log. I added some movies and episodes. I see an Inotify error in the log. However I have a script running on my Synology which is resetting the Inotify counter at each reboot. Simultaneously I checked the directory mentioned regarding the counter values and the system states: /volume1/@appdata/EmbyServer# cat /proc/sys/fs/inotify/max_user_watches 3276800 So this should be fine. Specs: Synology DSM 7.2 Emby Server 4.8.3.0 embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37180 Posted March 6 Share Posted March 6 52 minutes ago, apachelance said: Today the realtime monitoring was not working again. Please find attached the log. I added some movies and episodes. I see an Inotify error in the log. However I have a script running on my Synology which is resetting the Inotify counter at each reboot. Simultaneously I checked the directory mentioned regarding the counter values and the system states: /volume1/@appdata/EmbyServer# cat /proc/sys/fs/inotify/max_user_watches 3276800 So this should be fine. Specs: Synology DSM 7.2 Emby Server 4.8.3.0 embyserver.txt 325.61 kB · 1 download Hi, maybe try rebooting your machine and see if it comes up again. Link to comment Share on other sites More sharing options...
apachelance 11 Posted March 6 Author Share Posted March 6 42 minutes ago, Luke said: Hi, maybe try rebooting your machine and see if it comes up again. I did a reboot of the Emby server. It recognized the movies but not the episodes. A manual library scan fixed this. Link to comment Share on other sites More sharing options...
Luke 37180 Posted March 6 Share Posted March 6 Hi, can you please provide a specific example? How to Report a Problem Thanks. Link to comment Share on other sites More sharing options...
apachelance 11 Posted March 6 Author Share Posted March 6 Hi Luke, the log I’v attached is the example. Non of the movies or episodes I’ve added appeared in the log or library. Link to comment Share on other sites More sharing options...
Solution Happy2Play 8332 Posted March 6 Solution Share Posted March 6 Can only guess something is not configured properly. TV and Movies The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource. 6 hours ago, apachelance said: /volume1/@appdata/EmbyServer# cat /proc/sys/fs/inotify/max_user_watches 3276800 Another system guru will have to comment but is that a valid value? Have you tried the values in the guide? Link to comment Share on other sites More sharing options...
apachelance 11 Posted March 25 Author Share Posted March 25 @Happy2Play I replaced my script and values with the one mentioned in your link. So far it is working. 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now