11 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
a12bfd9ab3 Unconditionally create venv and install deps
Remove the conditional retry logic and always run the venv creation, pip install of calibreweb, and uv sync without build isolation. Updated ct/calibre-web.sh and install/calibre-web-install.sh to: run `$STD uv venv`, `$STD uv pip install --python /opt/calibre-web/.venv/bin/python --no-cache-dir calibreweb`, then `$STD uv sync --no-dev --no-build-isolation`. This simplifies the dependency installation flow and ensures the virtualenv and package are installed before syncing.
2026-02-17 11:12:23 +01:00
CanbiZ (MickLesk)
76eb716da7 Retry dependency install without build isolation
Add retry logic to ct/calibre-web.sh and install/calibre-web-install.sh: if 'uv sync --no-dev' fails, the scripts now create/ensure a venv, install the 'calibreweb' package into it via 'uv pip', and retry 'uv sync' with '--no-build-isolation'. This works around failures caused by isolated builds or build-step issues and preserves existing log messages.
2026-02-17 10:57:21 +01:00
Tobias
9395dc94fb
space :) 2026-02-10 20:53:26 +01:00
mikolaj92
cca8103101 calibre-web: move setup_uv after deploy in update path 2026-02-10 20:47:16 +01:00
mikolaj92
2b7eed2630 calibre-web: use uv sync (native) instead of pip-compatible install 2026-02-10 20:33:47 +01:00
mikolaj92
b518881996 calibre-web: switch pip installs to uv and fix service block order 2026-02-10 20:31:29 +01:00
mikolaj92
7aafdd793a fix: remove remaining inline comments from ct script 2026-02-10 10:57:19 +01:00
mikolaj92
cf7b97bcdc fix: apply remaining CrazyWolf13 inline suggestions 2026-02-10 10:49:16 +01:00
mikolaj92
f89fe2da5c fix: address final 4 review comments
- Fix URLs: ProxmoxVE → ProxmoxVED (build.func, license)
- Fix APP value: Calibre-Web → calibre-web (lowercase slug)
- Fix placeholder: ${APP} → Calibre-Web in msg_error
- Fix error suppression: || true → 2>/dev/null

Resolves remaining review comments from greptile-apps[bot]
2026-02-10 07:23:51 +01:00
mikolaj92
89676fcfc7 fix: remove all comments from ct/calibre-web.sh (header only)
Remove all section/block comments beyond standardized header per repo policy:
- APP CONFIGURATION section
- INITIALIZATION section
- UPDATE SCRIPT detailed comments
- MAIN EXECUTION section
- COMPLETION MESSAGE section

Resolves: Comments violate script policy (ct/*.sh header-only comments)
2026-02-10 07:17:20 +01:00
mikolaj92
3145790474 feat: add Calibre-Web container script
- Web-based eBook library management
- Mobile-responsive interface with user management
- Calibre integration for format conversion (EPUB→AZW3 for Kindle)
- Tested on Debian 13 LXC (CT240)

Technical details:
- Base OS: Debian 13 (2 CPU, 2GB RAM, 8GB disk, port 8083)
- Flask-Limiter 3.x (4.x incompatible)
- --break-system-packages for PEP 668 compliance
- Default credentials: admin/admin123
2026-02-09 22:03:23 +01:00