GithubHelp home page GithubHelp logo

Queue is frozen about kapowarr HOT 3 CLOSED

FBoucher avatar FBoucher commented on August 16, 2024
Queue is frozen

from kapowarr.

Comments (3)

Casvt avatar Casvt commented on August 16, 2024 2

Check the logs, there probably is an error somewhere which stopped the handling of the queue.

To empty the queue, have the container running, then run the following commands:

docker exec -it kapowarr /bin/bash

python3 -c "import sqlite3; sqlite3.connect('db/Kapowarr.db').cursor().execute('DELETE FROM download_queue').connection.commit()"

exit

That's three commands. Then restart the container.

from kapowarr.

Casvt avatar Casvt commented on August 16, 2024 1

Adding a button is avoiding the problem instead of fixing it. The error should instead be fixed, because then the queue won't break. Your description of the error is a bit vague (it would be better if you shared the error directly from the logs), however it seems like you're describing the error that the file already exists or that the file doesn't exist. There is a bug in the latest public version where files that already exist aren't properly replaced but instead raise an error. It's fixed already, but the fact that Kapowarr was downloading files that already were downloaded is strange of course. However, that could be because of another bug (that is also already fixed), where Kapowarr would accidentally download HTML files that won't match to the issue.

All in all, everything you're experiencing is most likely already fixed and these fixes will be included in the next release. But I can only be certain if you share the actual error.

A button to clear the queue wouldn't fix the problem (like you're suggesting), because the commands that you ran cleared the queue, but the restarting of the container is what spun the queue handler back up. So simply clearing the queue wouldn't help, you also need to restart to container.

from kapowarr.

FBoucher avatar FBoucher commented on August 16, 2024

It worked!
May I suggest a button from the UI to do that easily?

For Info the log was saying the folder already contained files. It make sense because it was folder that I imported.

from kapowarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.