meeb / tubesync

Syncs YouTube channels and playlists to a locally hosted media server
GNU Affero General Public License v3.0
1.98k stars 129 forks source link

New install, and nothing is downloading, tasks show immediately. #544

Open ForceConstant opened 1 month ago

ForceConstant commented 1 month ago

So I have a new install, and setup tubesync using docker. Tubesync seems to have synced a channel, and put things to download, but no media has actually downloaded. In the tasks section it says 67 tasks to download immediately, but no action. I have restarted the container, but nothing happens. Ideas?

image image

meeb commented 1 month ago

Is the number of tasks going down? There's not enough information here to assist really. Anything else in the container logs?

ForceConstant commented 1 month ago
  1. No the tasks are not going down.
  2. That is the whole container logs, doesn't look like anything is happening.
  3. I tried doing the reset-tasks, and it worked for a while, and seems to have downloaded all of the metadata, but has left the scheduled tasks to actually download the items.
meeb commented 1 month ago

try resetting tasks on the command line, like:

docker exec -ti tubesync python3 /app/manage.py reset-tasks
ForceConstant commented 1 month ago

Yes I have previously ran this command to reset-tasks.

try resetting tasks on the command line, like:

docker exec -ti tubesync python3 /app/manage.py reset-tasks

Yes I have previously ran this to reset tasks. Any way to add debug to see what the tasks are waiting for? Note I also saw in another issue similar issue that was fixed by making sure the timezone was correct inside the container, and have verified this.

meeb commented 1 month ago

Yeah obviously something isn't running correctly, the issue is there's nothing in your logs to indicate what the issue is. What processes are running in the container?

ForceConstant commented 1 month ago

image

meeb commented 1 month ago

That shows that the task runner is running properly. I've no idea really why it's not processing tasks on your install if that is indeed the issue.

Edit: any logs on the host? OOM errors?

alvarokrn commented 3 weeks ago

It's happening the same to me.

YourWishes commented 2 weeks ago

try resetting tasks on the command line, like:

docker exec -ti tubesync python3 /app/manage.py reset-tasks

I'm experiencing the same issue, clean install running through docker compose, tasks are adding fine but none are processing, running this command gives; image

meeb commented 2 weeks ago

@YourWishes that error means your database schema is missing or corrupted. This isn't the same issue. What does this output?

$ docker exec -ti tubesync python3 /app/manage.py migrate