janeczku / calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database
GNU General Public License v3.0
12.69k stars 1.33k forks source link

Database Error: attempt to write a readonly database. #2996

Closed TheCyberWeaver closed 7 months ago

TheCyberWeaver commented 8 months ago

Describe the bug/problem

When I was trying to upload files to the library, I get this error

Database Error: attempt to write a readonly database.

I created a folder under /app, and stored the metadata.db under this folder

I have even given the metadata.db the permission of 777 but it is still not working

Environment:

drizuid commented 7 months ago

if you want support with the docker container, ask the people who make the docker container. Your issue has nothing to do with calibre-web itself.

When/If you do seek support from the proper place, provide your full container logs (beginning with linuxserver ascii logo) and your docker run or docker compose.

OzzieIsaacs commented 7 months ago

Like all the dozens of docker user having same/similar issues this is a permission problem