Closed wpigoury closed 4 years ago
Then that's your issue. Make sure you always cleanly shut down medusa
Then that's your issue. Make sure you always cleanly shut down medusa
Not sure if it's "my issue" as you say. As I never had the issue for years using SickRage and then SickChill, nor during the 6 first months since I switched to Medusa. It started to happen since 2 or 3 updates ago and seems to be even more frequent since latest update.
Of course I'll try to set a planned task to stop Medusa several minutes before my Synology automatically shuts down, but this won't solve the issue in case of unplanned shutdowns.
If you force shut down an application it's integrity can't be guaranteed. This is valid for all applications, not just Medusa. When it doesn't error out you were lucky, because there was no I/O happening at that time. Probably the show updater runs around that time, so that's what happens. It could also be a search. Always stop Medusa cleanly before shutting down the system.
Ok, so no further investigations on why this only started couple of versions ago or why this never happened on other forks for years? Great, beginning to regret making the switch :(
It has nothing to do with the different forks. The code that is responsible for this hasn't been changed for the last 2+ years. It is also very likely still the same across the various forks. I explained the reason why this is happening above and there is nothing more we can do to help.
Regularly when I open Medusa on my Synology I see that the settings have all been reverted to default and need to load a backup to get my settings back.
Steps to reproduce the behavior:
Previously configured settings should be kept.
General > Advanced Settings > Enable debug Will need to revert back for debug but here is the default log for now
My Synology is automatically shut down every night at 1AM and restarted at 8AM. I did not change the config file manually and I do nothing particular when the bug arise, it looks completely random for now. My guess is that Medusa sometimes doesn't have time to write the config file when shutting down at 1AM resulting in a broken config which reverts to default on next start.