mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-09-22 17:44:00 +02:00
Compare commits
1 Commits
create-pul
...
fde5571620
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fde5571620 |
@@ -1,4 +1,8 @@
|
||||
|
||||
## 0.6.27.4 (2026-09-03)
|
||||
- Fix: Kobo sync could not be enabled, failing with "Kepubify binary not found" even when the path was set to `/usr/bin` by hand. The LinuxServer base image downloads `/usr/bin/kepubify` with `curl -o` and never marks it executable (mode 0644), and calibre-web only accepts a binary that passes `os.access(X_OK)`. The addon now sets mode 0755 on it at build time (https://github.com/alexbelgium/hassio-addons/issues/3040)
|
||||
- Fix: calibre-web only looks for kepubify under `/opt/kepubify`, never `/usr/bin` where the base image puts it, so the kepubify path was stored empty on the first start and never retried. The addon now fills it in with `/usr/bin` when it is still empty, leaving a path set by hand untouched. On a brand new install `/config/app.db` does not exist yet during the first start, so the path is filled in on the second start, as is already the case for the ingress settings
|
||||
|
||||
## 0.6.27.3 (2026-08-30)
|
||||
- Doc: explain in the README that Calibre-Web's optional extras (metadata, kobo, gdrive, gmail, goodreads, ldap, oauth, comics) are already installed by the LinuxServer base image, that `pip install calibreweb[...]` inside the container is useless and not persistent, and that the cover fields on the Edit Metadata page are gated on `Enable Uploads` plus the user's `Upload` permission (https://github.com/alexbelgium/hassio-addons/issues/1143)
|
||||
- Fix: remove the Dockerfile step that claimed to install the Calibre binaries into `/opt/calibre`. There is no `wget` in the image, so the command failed silently and left the layer empty; the binaries are and were provided at start by the default `linuxserver/mods:universal-calibre` docker mod
|
||||
|
||||
@@ -45,8 +45,13 @@ ARG CONFIGLOCATION="/config"
|
||||
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
|
||||
|
||||
# Specific images modifications
|
||||
# The base image installs kepubify with "curl -o /usr/bin/kepubify" and never marks it executable,
|
||||
# so calibre-web's resolve_binary_path() rejects it (it requires os.access(X_OK)) and enabling
|
||||
# Kobo sync fails with "Kepubify binary not found". Unguarded on purpose: if a future base image
|
||||
# stops shipping the binary, the build must fail here rather than ship a silently broken add-on.
|
||||
RUN \
|
||||
usermod --home /config abc
|
||||
usermod --home /config abc \
|
||||
&& chmod 0755 /usr/bin/kepubify
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
|
||||
@@ -116,5 +116,5 @@ schema:
|
||||
slug: calibre-web
|
||||
udev: true
|
||||
url: https://github.com/alexbelgium/hassio-addons/tree/master/calibre_web
|
||||
version: "0.6.27.3"
|
||||
version: "0.6.27.4"
|
||||
video: true
|
||||
|
||||
@@ -32,6 +32,13 @@ else
|
||||
# before calibre-web, so a failure here is not fatal : the next start applies it.
|
||||
trusted_ips_error=$(sqlite3 /config/app.db "update settings set config_reverse_proxy_trusted_ips='127.0.0.1,::1,::ffff:127.0.0.1,172.30.32.0/23,::ffff:172.30.32.0/119,'||coalesce(config_reverse_proxy_trusted_ips,'') where coalesce(config_reverse_proxy_trusted_ips,'') not like '%::ffff:172.30.32.0/119%'" 2>&1) ||
|
||||
bashio::log.warning "Could not set the ingress trusted ip list, it will be applied at next start (${trusted_ips_error})"
|
||||
|
||||
# Calibre-web only autodetects kepubify under /opt/kepubify, never /usr/bin where the base
|
||||
# image puts it, so the setting is stored empty on the very first start and is never retried
|
||||
# afterwards : every install ends up with an empty path and Kobo sync cannot be enabled.
|
||||
# Filled in only when it is still empty, so a path the user set by hand is never overwritten.
|
||||
kepubify_error=$(sqlite3 /config/app.db "update settings set config_kepubifypath='/usr/bin' where coalesce(config_kepubifypath,'') = ''" 2>&1) ||
|
||||
bashio::log.warning "Could not set the kepubify path, it will be applied at next start (${kepubify_error})"
|
||||
fi
|
||||
|
||||
bashio::log.info "Default username:password is admin:admin123"
|
||||
|
||||
Reference in New Issue
Block a user