apachelance 12 Posted February 19, 2024 Posted February 19, 2024 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.
Carlo 4561 Posted February 19, 2024 Posted February 19, 2024 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
apachelance 12 Posted February 19, 2024 Author Posted February 19, 2024 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
apachelance 12 Posted February 23, 2024 Author Posted February 23, 2024 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
Luke 42077 Posted February 23, 2024 Posted February 23, 2024 Hi, yes please attach the complete emby server log file. Thanks.
Carlo 4561 Posted February 25, 2024 Posted February 25, 2024 @apachelanceWhen you get a free moment upload the server log from above for us to take a look at. Thanks, Carlo
apachelance 12 Posted February 25, 2024 Author Posted February 25, 2024 Will do beginning of the week. Thanks.
Happy2Play 9780 Posted February 25, 2024 Posted February 25, 2024 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
apachelance 12 Posted February 29, 2024 Author Posted February 29, 2024 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
apachelance 12 Posted March 6, 2024 Author Posted March 6, 2024 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
Luke 42077 Posted March 6, 2024 Posted March 6, 2024 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.
apachelance 12 Posted March 6, 2024 Author Posted March 6, 2024 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.
Luke 42077 Posted March 6, 2024 Posted March 6, 2024 Hi, can you please provide a specific example? How to Report a Problem Thanks.
apachelance 12 Posted March 6, 2024 Author Posted March 6, 2024 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.
Solution Happy2Play 9780 Posted March 6, 2024 Solution Posted March 6, 2024 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?
apachelance 12 Posted March 25, 2024 Author Posted March 25, 2024 @Happy2Play I replaced my script and values with the one mentioned in your link. So far it is working. 1 1
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