Adding generation of the metadata.db file if it does not exist. This streamlines the initial setup process and ensures proper permissions for the library directory(for uploads).
Deployment logs:
Calibre web UI correctly setting up db:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/Dokploy/templates/pull/444
**Author:** [@EcksDy](https://github.com/EcksDy)
**Created:** 10/11/2025
**Status:** ✅ Merged
**Merged:** 10/25/2025
**Merged by:** [@Siumauricio](https://github.com/Siumauricio)
**Base:** `main` ← **Head:** `auto-gen-metadata-db-calibre-web`
---
### 📝 Commits (2)
- [`d329e81`](https://github.com/Dokploy/templates/commit/d329e81ecc953cfb4d0e107158cdff48382c8871) Add metadata.db generation for calibre-web
- [`cb7216e`](https://github.com/Dokploy/templates/commit/cb7216ed6d5c329e79e3b98b41f7bab2a9e6865a) Attempt to fix template
### 📊 Changes
**2 files changed** (+22 additions, -6 deletions)
<details>
<summary>View changed files</summary>
📝 `blueprints/calibre-web/docker-compose.yml` (+2 -1)
📝 `blueprints/calibre-web/template.toml` (+20 -5)
</details>
### 📄 Description
Adding generation of the `metadata.db` file if it does not exist. This streamlines the initial setup process and ensures proper permissions for the library directory(for uploads).
Using a slightly modified solution from this issues on calibre-web:
https://github.com/linuxserver/docker-calibre-web/issues/30#issuecomment-721714183
Deployment logs:
<img width="1000" height="678" alt="image" src="https://github.com/user-attachments/assets/9e1c386e-6818-4931-8dd7-d44c805d878f" />
Calibre web UI correctly setting up db:
<img width="1716" height="577" alt="image" src="https://github.com/user-attachments/assets/5b70567c-fe0a-49a9-b61e-e9b240cc4e5b" />
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/444
Author: @EcksDy
Created: 10/11/2025
Status: ✅ Merged
Merged: 10/25/2025
Merged by: @Siumauricio
Base:
main← Head:auto-gen-metadata-db-calibre-web📝 Commits (2)
d329e81Add metadata.db generation for calibre-webcb7216eAttempt to fix template📊 Changes
2 files changed (+22 additions, -6 deletions)
View changed files
📝
blueprints/calibre-web/docker-compose.yml(+2 -1)📝
blueprints/calibre-web/template.toml(+20 -5)📄 Description
Adding generation of the
metadata.dbfile if it does not exist. This streamlines the initial setup process and ensures proper permissions for the library directory(for uploads).Using a slightly modified solution from this issues on calibre-web:
https://github.com/linuxserver/docker-calibre-web/issues/30#issuecomment-721714183
Deployment logs:


Calibre web UI correctly setting up db:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.