fbrassin 35 Posted January 15, 2019 Share Posted January 15, 2019 Hello, i'd like to have a suggestion about real time monitoring. I have on my server 2 usb hdd and gdrive mounted with rclone. If i keep real time enable if my internet connection goes down or if for any reason my hdd get umounted emby library looses all movies on gdrive or on my hdd and after remount emby has to rescan again all the library. Is there a way to use real time monitoring without loosing all in case of internet failure? I know that plex put movies in trash before delete them so after internet come back the movies are still in library. What sould be best way in my case. I'd like emby finds movies when added but without the risk to destroy library. Tnx Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted January 15, 2019 Share Posted January 15, 2019 this was supposedly fixed a long time ago. I haven't lost connection to my NAS in quite some time so I can't confirm, but there is a discussion or 2 over in the FR area about it. Link to comment Share on other sites More sharing options...
fbrassin 35 Posted January 15, 2019 Author Share Posted January 15, 2019 So you are saying that if my mount point goes down it does not destroy library? Do you know from when it is so? Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted January 15, 2019 Share Posted January 15, 2019 So you are saying that if my mount point goes down it does not destroy library? Do you know from when it is so? Around a year ago. https://emby.media/community/index.php?/topic/43559-do-not-clean-database-if-folder-containing-the-library-isnt-available/?hl=nas Link to comment Share on other sites More sharing options...
fbrassin 35 Posted January 15, 2019 Author Share Posted January 15, 2019 Well, i missed it. So let's try to enable real time monitoring and cross fingers. Link to comment Share on other sites More sharing options...
Luke 37252 Posted January 15, 2019 Share Posted January 15, 2019 Yea you should not lose your library anymore, thanks. Link to comment Share on other sites More sharing options...
neik 838 Posted January 15, 2019 Share Posted January 15, 2019 Hi @@fbrassin, I would very much appreciate your experience report with this feature. Also using rclone but not using real-time monitoring because I read somewhere it doesn't work with a rclone mount thus never tested it tbh. Link to comment Share on other sites More sharing options...
fbrassin 35 Posted January 16, 2019 Author Share Posted January 16, 2019 OK, i'll try. I'll add a movie and see if it will be read at once Link to comment Share on other sites More sharing options...
fbrassin 35 Posted January 16, 2019 Author Share Posted January 16, 2019 I can confirm that real time monitoring doesn't work with rclone mount. @@Luke Do you think anything can be made about this? Tnx Link to comment Share on other sites More sharing options...
neik 838 Posted January 16, 2019 Share Posted January 16, 2019 IIRC then this is a fuse mount issue. Again iirc ncw (developer of rclone) knows about this. I might be mistaken though... Link to comment Share on other sites More sharing options...
fbrassin 35 Posted January 16, 2019 Author Share Posted January 16, 2019 Exceuse me, but what is IIRC? Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted January 16, 2019 Share Posted January 16, 2019 Exceuse me, but what is IIRC? If I Recall Correctly Link to comment Share on other sites More sharing options...
fbrassin 35 Posted January 16, 2019 Author Share Posted January 16, 2019 And is this something rclone developer is working at? I'm not able to find anything about it on rclone forum Link to comment Share on other sites More sharing options...
Luke 37252 Posted January 16, 2019 Share Posted January 16, 2019 I can confirm that real time monitoring doesn't work with rclone mount. @@Luke Do you think anything can be made about this? Tnx .net core real-time monitor uses inotify, so it will work with whatever that supports. Link to comment Share on other sites More sharing options...
neik 838 Posted January 19, 2019 Share Posted January 19, 2019 Here is the topic related to this over at rclone forum: https://forum.rclone.org/t/rclone-emby-real-time-monitoring/4955 Link to comment Share on other sites More sharing options...
Luke 37252 Posted January 19, 2019 Share Posted January 19, 2019 Thanks for the info. Link to comment Share on other sites More sharing options...
fbrassin 35 Posted March 12, 2019 Author Share Posted March 12, 2019 Hello, yesterday i had this situation. My rclone mount drop down for a problem in my configuration, so after a scan of emby i lost the library as emby didn't see any movie and deleted all library. Now i have to rebuild all the library. It should be better in my opinion put those movie in a sort of trash can as in plex so that i don't have to rebuild all library in this case. Do you think is it possible? Link to comment Share on other sites More sharing options...
Luke 37252 Posted March 12, 2019 Share Posted March 12, 2019 You should not be losing the whole library. Please see how to report a problem. thanks. Link to comment Share on other sites More sharing options...
fbrassin 35 Posted March 15, 2019 Author Share Posted March 15, 2019 It happened once again tonight. My rclone mount failed and emby scan removed all item in the library, so today i have to rescan all. This will take about 2 days. Here is my server log. https://paste2.org/0OnCdv90 Where you find "................." it is because i had many similar lines that i removed as the log was huge. Link to comment Share on other sites More sharing options...
Luke 37252 Posted March 24, 2019 Share Posted March 24, 2019 Are you still running into this? Link to comment Share on other sites More sharing options...
fbrassin 35 Posted March 25, 2019 Author Share Posted March 25, 2019 My mount point hasn't went down anymore, but if it will happen i'm sure emby will delete movies from library if not present in the folder, if you didn't change anything in embyserver. If delete a movie from movie folder emby removes it from library, so it will happen if gdrive is not mounted. Link to comment Share on other sites More sharing options...
fbrassin 35 Posted March 26, 2019 Author Share Posted March 26, 2019 In order to solve this, i made a script that every minute checks if gdrive is mounted, in the case it isn't, it shuts down emby. Not too well but better then having to rebuild library. Link to comment Share on other sites More sharing options...
neik 838 Posted March 26, 2019 Share Posted March 26, 2019 Wondering how it gets unmounted in the first place. Mine is has been mounted for months without a single crash, it's absolutely rock stable. Link to comment Share on other sites More sharing options...
fbrassin 35 Posted March 27, 2019 Author Share Posted March 27, 2019 Normally it doesn't get unmounted, but sometimes i try new config that could fail or sometimes my internet connect fails. That's why sometimes it gets unmounted. Link to comment Share on other sites More sharing options...
Luke 37252 Posted March 29, 2019 Share Posted March 29, 2019 We'll look into this, thanks. 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