abhilesh / self-hosted_docker_setups

A collection of my docker-compose files used to setup self-hosted services on Raspberry Pi 4 running 64-bit Raspberry Pi OS
386 stars 32 forks source link

Calibre-web metadata.db #7

Closed viniciuspaes closed 1 year ago

viniciuspaes commented 1 year ago

Hi Abhilesh! In my first run with calibre web i got an error 500.

In further inspection, I noticed that Calibre was unable to find metadata.db in /books.

I was able to download a sample for metadata.db from: https://github.com/linuxserver/docker-calibre-web/issues/30#issuecomment-1370898505

After that, everything works fine.

abhilesh commented 1 year ago

Thanks a lot for bringing this to my attention and I'm glad you could successfully install calibre web.

The metadata.db file issue seems to be a common one, there's also file permissions issues that sometimes lead to unsuccessful installations, especially on docker.

The janeczku/calibre-web repo also has an empty metadata.db file included.

viniciuspaes commented 1 year ago

In case anyone is interested in replicating your setup, do you think it is plausible to add the metadata.db file in your repository and update docker-compose.yml file stating that the metadata.db should be placed in the /books, to avoid error 500? Just a sugestion.

abhilesh commented 1 year ago

Thanks a lot! Added the metadata.db file and instructions to the repo with this commit.