tubesync
tubesync copied to clipboard
Server Crash once channel starts downloading.
I started downloading a channel (Audio only and all music). When I click the button to get it started, I just keep getting error 500. Do anyone else get this error as well?
What's in the logs relating to this 500 error?
I get this too, but I have noticed that it usually comes back - likely overloading or insufficient resources, once I realised that I didn't bother investigating more
What's in the logs relating to this 500 error?
172.19.0.1 - - [23/Dec/2022:02:24:59 -0600] "GET /sources HTTP/1.1" 500 268 "http://xxxxx:4848/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
Anything in the logs above this? A 500 should also have a matching Python error and stack trace. That line basically just says "error" and not any details.
This happens to me too, but it comes back by itself. It's usually a database locked error if memory serves. It happens right after adding a large Youtube library or resetting tasks for a large library.
If you want to add large channels with a load of media on them and are getting database locked errors your best bet is to migrate to a Postgres or MySQL backend.
Just running the standard docker image, so whatever it is running :)
Thanks for the thoughts though!
You can use Postgres and MySQL with the docker container install. See: https://github.com/meeb/tubesync/blob/main/docs/other-database-backends.md