Giter Club home page Giter Club logo

Comments (4)

meeb avatar meeb commented on May 23, 2024

Interesting, that error is caused by an OperationalError raised due to being unable to lock the SQLite database most likely. Try restarting the container. You can also start TubeSync with -e TUBESYNC_DEBUG=True which should enable Django debugging so you'll get a stack trace in the browser, but that'll just probably show the error raised by an add_task style function. But I'm pretty sure that's just an issue locking the SQLite database. Are you on an esoteric platform or did you access the SQLite DB some other way at all?

Also check your SQLite database is OK, you can just open it from your host OS with $ sqlite3 db.sqlite3 from your config dir then execute a pragma integrity_check; command.

from tubesync.

brandonjones24 avatar brandonjones24 commented on May 23, 2024

Thanks for the feedback.

I'm wondering if this is permissions related as my config is on an NFS share. Im a rookie with these permissions so I may move the config to a local drive to rule that out.

Im running docker on a mac mini.

from tubesync.

brandonjones24 avatar brandonjones24 commented on May 23, 2024

I think this was permissions related. Not sure why it was intermittent but I will re-open should the issue resurface.

from tubesync.

meeb avatar meeb commented on May 23, 2024

Just to follow up, yes, running an SQLite database on an NFS share is going to cause all sorts of lock issues with even a moderate write load. See "(5) Can multiple applications or multiple instances of the same application access a single database file at the same time?" on https://www.sqlite.org/faq.html

I would strongly suggest you move the config volume to the local machine you're running the container on to avoid this.

from tubesync.

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.