fbrassin 47 Posted January 15, 2019 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
mastrmind11 722 Posted January 15, 2019 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.
fbrassin 47 Posted January 15, 2019 Author 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?
mastrmind11 722 Posted January 15, 2019 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
fbrassin 47 Posted January 15, 2019 Author Posted January 15, 2019 Well, i missed it. So let's try to enable real time monitoring and cross fingers.
Luke 42077 Posted January 15, 2019 Posted January 15, 2019 Yea you should not lose your library anymore, thanks.
neik 873 Posted January 15, 2019 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.
fbrassin 47 Posted January 16, 2019 Author Posted January 16, 2019 OK, i'll try. I'll add a movie and see if it will be read at once
fbrassin 47 Posted January 16, 2019 Author 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
neik 873 Posted January 16, 2019 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...
mastrmind11 722 Posted January 16, 2019 Posted January 16, 2019 Exceuse me, but what is IIRC? If I Recall Correctly
fbrassin 47 Posted January 16, 2019 Author 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
Luke 42077 Posted January 16, 2019 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.
neik 873 Posted January 19, 2019 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
fbrassin 47 Posted March 12, 2019 Author 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?
Luke 42077 Posted March 12, 2019 Posted March 12, 2019 You should not be losing the whole library. Please see how to report a problem. thanks.
fbrassin 47 Posted March 15, 2019 Author 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.
fbrassin 47 Posted March 25, 2019 Author 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.
fbrassin 47 Posted March 26, 2019 Author 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.
neik 873 Posted March 26, 2019 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.
fbrassin 47 Posted March 27, 2019 Author 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.
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