tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Server Crash once channel starts downloading.

Open Dvalin21 opened this issue 2 years ago • 8 comments

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?

Dvalin21 avatar Nov 23 '22 21:11 Dvalin21

What's in the logs relating to this 500 error?

meeb avatar Nov 25 '22 03:11 meeb

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

kblock1 avatar Dec 22 '22 11:12 kblock1

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"

Dvalin21 avatar Dec 23 '22 08:12 Dvalin21

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.

meeb avatar Dec 23 '22 11:12 meeb

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.

vger74656 avatar Jan 20 '23 02:01 vger74656

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.

meeb avatar Jan 20 '23 02:01 meeb

Just running the standard docker image, so whatever it is running :)

Thanks for the thoughts though!

vger74656 avatar Jan 20 '23 02:01 vger74656

You can use Postgres and MySQL with the docker container install. See: https://github.com/meeb/tubesync/blob/main/docs/other-database-backends.md

meeb avatar Jan 20 '23 02:01 meeb