Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker image: sqlite3.OperationalError: unable to open database file #264

Open
yodog opened this issue Dec 12, 2023 · 0 comments
Open

docker image: sqlite3.OperationalError: unable to open database file #264

yodog opened this issue Dec 12, 2023 · 0 comments

Comments

@yodog
Copy link

yodog commented Dec 12, 2023

using the provided docker compose yaml and the latest image, the container stops with the error below:

root@1037u:~# docker logs torrent-newtrackon-1

2023-12-12 14:58:29,148 [INFO] [newtrackon] Server started
Traceback (most recent call last):
  File "/app/newTrackon/run.py", line 34, in <module>
    db.ensure_db_existence()
  File "/app/newTrackon/newTrackon/db.py", line 14, in ensure_db_existence
    create_db()
  File "/app/newTrackon/newTrackon/db.py", line 18, in create_db
    conn = sqlite3.connect(db_file)
           ^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: unable to open database file

i tried both with local volumes and without any volumes. same result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant