From ebd813afcc832ac534275e79fcfc955f2d9bdb25 Mon Sep 17 00:00:00 2001 From: poprhythm Date: Mon, 2 Mar 2026 01:06:29 +0000 Subject: [PATCH] Fix calibre: replace NFS volumes with systemd automount bind mounts SQLite (Calibre Notes DB) fails with SQLITE_IOERR on soft NFS when unRAID drives spin down. Replace Docker NFS named volumes with bind mounts to /mnt/nas_media (CIFS via systemd automount), same pattern as backrest and filebrowser-colleen-hd. systemd handles drive reconnection independently. --- calibre/docker-compose.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/calibre/docker-compose.yaml b/calibre/docker-compose.yaml index 6a1fe0e..0c95cb5 100644 --- a/calibre/docker-compose.yaml +++ b/calibre/docker-compose.yaml @@ -1,24 +1,12 @@ # https://thebloody.cloud/posts/Installing-Web-Calibre-in-Docker/ +# NFS volumes replaced with systemd automount bind mounts (/mnt/nas_media) +# to avoid SQLite SQLITE_IOERR on soft NFS when unRAID drives spin down. networks: default: external: name: npm-network -volumes: - config: - driver: local - driver_opts: - type: nfs - o: "addr=192.168.1.192,rw,nolock,soft" - device: ":/mnt/user/media/books/calibre" - import: - driver: local - driver_opts: - type: nfs - o: "addr=192.168.1.192,rw,nolock,soft" - device: ":/mnt/user/media/books/calibre-import" - services: calibre: image: lscr.io/linuxserver/calibre:latest @@ -33,8 +21,8 @@ services: - VIRTUAL_PORT=8080 - LETSENCRYPT_HOST=calibre.kolpacksoftware.com volumes: - - config:/config - - import:/calibre-import + - /mnt/nas_media/books/calibre:/config + - /mnt/nas_media/books/calibre-import:/calibre-import ports: - 8090:8080 - 8091:8081