Ninko 64 Posted February 20, 2022 Share Posted February 20, 2022 Hi, When adding or removing files, the changes only seem to take affect when I do a manual library scan. Am I missing something? Thanks Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted February 20, 2022 Share Posted February 20, 2022 1 minute ago, Ninko said: Hi, When adding or removing files, the changes only seem to take affect when I do a manual library scan. Am I missing something? Thanks Please post a server log. 1 Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 File attached. Thanks embyserver (1).txt Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 20, 2022 Share Posted February 20, 2022 At what time in the log did you copy something new to your library expecting RTM to kick in? Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 Erm... Wasn't long ago, within the last hour. Thanks Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 20, 2022 Share Posted February 20, 2022 I assume you turned RTM on for that library. I'm looking for something like this: 2022-02-19 23:34:44.110 Info LibraryMonitor: Watching directory /volume1/surveillance Or, some error referring to inotify, but I'm not seeing either. Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 I have enabled it yeah. I've got a few more things to add again shortly, I'll send another log afterwards. Thanks 1 Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 Any luck with this one? Thanks embyserver.txt Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 20, 2022 Share Posted February 20, 2022 No. @Happy2Play do you see anything. Other than the invalid user at the beginning I'm not seeing anything. Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted February 20, 2022 Share Posted February 20, 2022 Nothing stands out and there are no librarymonitor events in the log. If RTM is enabled on all libraries I would enable debug logging add new media, wait 5 minutes to see if it is added then do a library scan and post that log. 1 Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 I've tried restarting emby, sometimes it helps. Another file attached. Thanks embyserver (1).txt Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 20, 2022 Share Posted February 20, 2022 Okay, I'm seeing the errors now. You're maxing out your inotify watches and will need to increase them You can see the errors starting at line and then further down it mentions inotify 2022-02-20 14:55:54.019 Info LibraryMonitor: Watching directory /volume1/Ebooks Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 Right ok, how do I do that? Thanks Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted February 20, 2022 Share Posted February 20, 2022 (edited) Create a Triggered Task to run at Boot-up and paste the following code under Task Settings. sh -c '(sleep 90 && echo 204800 > /proc/sys/fs/inotify/max_user_watches)&' sh -c '(sleep 90 && echo 10000 > /proc/sys/fs/inotify/max_user_instances)&' You can then run it manually now and then it will kick off every time you start your NAS. I added a line for "Instances" also which you aren't maxing out yet, but you might as well change it now Edited February 20, 2022 by FrostByte 1 Link to comment Share on other sites More sharing options...
Ninko 64 Posted February 20, 2022 Author Share Posted February 20, 2022 Ok, I'll try that, thanks @FrostByte 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