Reset tasks generates 504, and then does not reset all the tasks
If I run reset tasks from the GUI, it starts to reset the tasks, but then hits a 504 issue (which I think is basically a timeout issue) and then only resets the tasks for 1-3 channels. If I run it on the commandline it works just fine, but takes like 5 minutes or so.
I suspect the timeout in the webserver in the container is not long enough here, and doesn't allow the reset to complete when launched from the gui. Perhaps either increase the timeout, or fork the reset off, and return immediately, so the reset runs in the background?
Yeah this is a big ongoing task discussed in other issues. There are a lot of stacked problems with fixing it and no easy migration path so it's been kicked down the road quite a lot. This is technically a duplicate issue but I can see why you might not have found any of the old open issues covering this.
Is there a CLI command to run this currently? Right now mines pretty broken and unable to be fixed without resetting the tasks. Currently running an external MySQL DB. Edit found the python3 ./manage.py reset-tasks command.
Yep, you found the command! Edit, full docs are at: https://github.com/meeb/tubesync/blob/main/docs/reset-tasks.md