Description
I deployed Calibre-web on a Raspberry Pi and installed Docker containers. Everything went smoothly using the “Docker Run” command, but when I enabled the upload feature, I encountered an error message of “database error: attempt to write a readonly database”. Changing the file permission of the database file didn’t solve the problem. How do you guys typically deploy containers?
Screenshot
Share your docker run command. I suspect you put /config on a remote mount, but you didn’t provide enough info to know for sure
Runtime Command
docker run -d \
-p 8002:8083 \
-v calibre.web.d:/data \
-v calibre.web.conf:/config \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Shanghai \
--name=calibre.web \
linuxserver/calibre-web
Docker Volume
volumes # docker volume ls ⏎
DRIVER VOLUME NAME
local alist
local calibre.web.conf
local calibre.web.d
local clash
local freshrss
local mariadb
local nginx
local nginx-conf
local portainer
local qbittorrent-config
local qbittorrent-downloads
Docker Version
volumes # docker version
Client: Docker Engine - Community
Version: 23.0.6
API version: 1.42
Go version: go1.19.9
Git commit: ef23cbc
Built: Fri May 5 21:17:33 2023
OS/Arch: linux/arm64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.6
API version: 1.42 (minimum version 1.12)
Go version: go1.19.9
Git commit: 9dbdbd4
Built: Fri May 5 21:17:33 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Docker Information
volumes # docker version
Client: Docker Engine - Community
Version: 23.0.6
API version: 1.42
Go version: go1.19.9
Git commit: ef23cbc
Built: Fri May 5 21:17:33 2023
OS/Arch: linux/arm64
Context: default
Server: Docker Engine - Community
Engine:
Version: 23.0.6
API version: 1.42 (minimum version 1.12)
Go version: go1.19.9
Git commit: 9dbdbd4
Built: Fri May 5 21:17:33 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Try using a bind mount for /config as indicated in the readme