-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
[BUG] sqlite3.OperationalError: unable to open database file #272
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
you need a database, as it tells you in the error |
@drizuid : Thanks for your reply.
Hopefully you can help me out The reason for my questions: before i updated CalibreWeb everything was working fine. |
It would be best for you to come into discord for support, your logs do not indicate a bug and we can more appropriately help you there. As a note, WHERE the database should be is covered in the readme. Yes, metadata.db is the typical name, assuming it's a legitimate calibre database. I have no other info for Synology as I don't use it. We have users on discord. |
Hi, I was try every combination with preinstalled books (and db), without books, different ports, different folders, privileges, different method of installation... i use mostly this YAML:version: "2.1" I also have a CLI version for an older setup type. But same result. |
@ariael your ports are wrong, is your syno x86_64? we only support docker-compose or docker from the cli, not the synology ui to create/deploy containers, is that how you are using it? fix your port and see if it works. for all syno users here : https://info.linuxserver.io/issues/2023-05-22-portainer/ |
Hi. This is Intel Celeron CPU... Port - well that's just the latest version of the experiment. From the default ones up to here, to exclude the possibility of some port occupation by another process or something strange in docker... The standard port doesn't work either, of course. And the portainer I use, CLI or directly Container Manager - they all behave the same. Docker is running, you can look inside, the directory with books is available, the database is visible, the web is dead. |
Same with redeploy to 8083 |
And first setup i follow https://mariushosting.com/how-to-install-calibre-web-on-your-synology-nas/ docker run -d --name=calibre-web |
Will never work, regardless of what else you configure. Calibre-web runs on port 8083. |
Please provide your container logs. But also don't do this
You're making your /books directory a subfolder of your /config directory as well as mounting it to /books - sooner or later things are going to go wrong with that setup. |
also note that you say you're using compose but you keep showing us stuff from container station. we only want to see docker logs -f calibre-web and your docker compose. if you are using container station or portainer to deploy the container, it will not work. Note that putting your docker compose in VIA container station is not something we support. at this point, i think it would be best for you to come on discord for support this does not seem like a container issue. |
A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue. |
@thespad Adam
You're making your /books directory a subfolder of your /config directory as well as mounting it to /books - sooner or later things are going to go wrong with that setup." I'm interested in what information do i have to put in these lines? Or should i place all of my ebooks in the directory /volume1/docker/calibreweb/Ebooks? |
You should always keep any given mount separate from any others. So either something like:
or
but never
|
as ariael has moved to discord as requested, and this is not a container problem but a host problem, i will lock this thread. best effort help is available on discord. |
Is there an existing issue for this?
Current Behavior
I used the taskmanager on my Nas Synology with this task
docker run -d --name=calibre-web
-p 8083:8083
-e PUID=1024
-e PGID=100
-e TZ=Europe/Amsterdam
-e DOCKER_MODS=linuxserver/mods:universal-calibre
-e OAUTHLIB_RELAX_TOKEN_SCOPE=1
-v /volume1/docker/calibreweb:/config
-v /volume1/Ebooks:/books
--restart always
ghcr.io/linuxserver/calibre-web
(following the instuctions on https://mariushosting.com/how-to-install-calibre-web-on-your-synology-nas/)
Calibre web was installed
It is adjusted as a container (linuxserver/calibre-web) in Docker
I was not able to open Calibre-web in my browser.
When i checked the logfile, i found this
===== begin
sqlite3.OperationalError: unable to open database file
====== end > see Container Logs
Expected Behavior
I would expect that calibre-web was functioning when opening the app in my browser
Steps To Reproduce
NAS Synology DS716+
NAS / DSM 7.11 - 42962 Update 6
Python: installed 3.9
Docker
docker run -d --name=calibre-web
-p 8083:8083
-e PUID=1024
-e PGID=100
-e TZ=Europe/Amsterdam
-e DOCKER_MODS=linuxserver/mods:universal-calibre
-e OAUTHLIB_RELAX_TOKEN_SCOPE=1
-v /volume1/docker/calibreweb:/config
-v /volume1/Ebooks:/books
--restart always
ghcr.io/linuxserver/calibre-web
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: