Closed BaukeZwart closed 1 year ago
All logs point to message = System.Data.SQLite.SQLiteException (0x87AF00AA): database is locked\ndatabase is locked
So it is related to having Radarr using "network" storage and SQLite being what it is. But it isn't Recyclarr related.
Thanks for the report. I can confirm there's a bug in Recyclarr that I need to fix. In 5.x, I introduced some code to try to read error response information that Sonarr & Radarr send down and present that to the user. This adds some helpful context (when it works). The problem here is that the error information is sent down in a different format than I was expecting, so it fails.
The good news is that this is only a bug that happens when there's a HTTP 500 failure in Radarr. So Recyclarr should function perfectly fine when there's no issues in Radarr.
Ultimately, you need to find out why your DB is being locked. Usually this means that the database is on slow storage or something and Recyclarr is running too fast for it.
Looking at the time this happened, I probably was testing the recyclarr at the same time a torrent export/import was running. Then lots of data was being copied from a seedbox to my local server running recyclarr and the arrs. When everything is running on a cron that will never be all running in the same time frame.
Is there an existing issue for this?
Current Behavior
Not sure if this error was caused by a bug or just bad timing. Made a few minor changes (mainly removing a few white spaces) to my config and when running it had this error. Ran it again a few seconds later without making any change to the config and it ran fine.
https://logs.notifiarr.com/?fe867b06a3c5085c#AcvE4pLwJhVEa7qcvCMnEyAG95VbPQ2Rsq79SHc3E6t2
Expected Behavior
Run without errors.
Steps To Reproduce
ran sudo docker-compose run --rm recyclarr sync
Environment & Versions
Recyclarr Log File(s)
Debug: https://logs.notifiarr.com/?1c23cad0f7818d60#CC5ZM4qZnAEaRnnsivnWRbNAtw3L4qcm7rBNkJU9NR3B Verbose: https://logs.notifiarr.com/?3598c5887c3c012d#HgDkNJL24mt3JwcACqDRzqyfDq531H3TiRHzHzhky5dA
Configuration YAML
Sonarr / Radarr Logs
https://logs.notifiarr.com/?08a16d501e7fe93d#5du7wdyUdsCjaRDuwFutW9j7TDpKGxWtQkqBjsV57ZYo