Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Calibre database is always in readonly mode #332

Open
1 task done
vashchenkov opened this issue Dec 2, 2024 · 1 comment
Open
1 task done

[BUG] Calibre database is always in readonly mode #332

vashchenkov opened this issue Dec 2, 2024 · 1 comment

Comments

@vashchenkov
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I try to start calibre web with database inside docker-image but i've got an error Oops! Database Error: attempt to write a readonly database.

After that steps

Expected Behavior

Should work correctly

Steps To Reproduce

  1. docker-compose file
---
services:
  calibre-web:
    image: linuxserver/calibre-web:0.6.24
    container_name: calibre-web
    environment:
#      - PUID=1000
#      - PGID=1000
      - TZ=Etc/UTC
      - DOCKER_MODS=linuxserver/mods:universal-calibre
      - OAUTHLIB_RELAX_TOKEN_SCOPE=1
    volumes:
      - /var/data/calibre/config:/config
      - /var/data/calibre/books:/books
    ports:
      - 48083:8083
    restart: always
    networks:
      - calibre_network
networks:
  calibre_network:
    external: true
  1. creating internal database storage folder
docker-compose -f /opt/stuff/calibre/docker-compose.yaml exec calibre-web  mkdir /books_internal
  1. Try to recreate database
docker-compose -f /opt/stuff/calibre/docker-compose.yaml exec calibre-web  /bin/bash -c "cd /app/calibre/bin && calibredb restore_database --really-do-it --with-library /books_internal"

Got an error FileNotFoundError: [Errno 2] No such file or directory: '/books_internal/.calnotes'
why!!!
4. Ok. Lets create another folder

docker-compose -f /opt/stuff/calibre/docker-compose.yaml exec calibre-web  mkdir /books_internal/.calnotes
  1. Try to recreate database one more time
docker-compose -f /opt/stuff/calibre/docker-compose.yaml exec calibre-web  /bin/bash -c "cd /app/calibre/bin && calibredb restore_database --really-do-it --with-library /books_internal"

Ok. Success for now
6. Go to interface and try to upload file
7. Got an error Oops! Database Error: attempt to write a readonly database..
8. There is an error in log file

[2024-12-02 05:14:55,785] ERROR {cps.editbooks:167} Database error: (sqlite3.OperationalError) attempt to write a readonly database
[SQL: INSERT INTO authors (name, sort, link) VALUES (?, ?, ?)]
[parameters: ('Терри Пратчетт', 'Пратчетт, Терри', '')]
(Background on this error at: https://sqlalche.me/e/20/e3q8)

Environment

- OS: NAME="Ubuntu" VERSION="20.04.6 LTS (Focal Fossa)"
- Docker was install with apt-get

CPU architecture

x86-64

Docker creation

---
services:
  calibre-web:
    image: linuxserver/calibre-web:0.6.24
    container_name: calibre-web
    environment:
#      - PUID=1000
#      - PGID=1000
      - TZ=Etc/UTC
      - DOCKER_MODS=linuxserver/mods:universal-calibre
      - OAUTHLIB_RELAX_TOKEN_SCOPE=1
    volumes:
      - /var/data/calibre/config:/config
      - /var/data/calibre/books:/books
    ports:
      - 48083:8083
    restart: always
    networks:
      - calibre_network
networks:
  calibre_network:
    external: true

Container logs

calibre-web    | [mod-init] Running Docker Modification Logic
calibre-web    | [mod-init] Adding linuxserver/mods:universal-calibre to container
calibre-web    | [mod-init] Downloading linuxserver/mods:universal-calibre from lscr.io
calibre-web    | [mod-init] Installing linuxserver/mods:universal-calibre
calibre-web    | [mod-init] linuxserver/mods:universal-calibre applied to container
calibre-web    | [migrations] started
calibre-web    | [migrations] no migrations found
calibre-web    | usermod: no changes
calibre-web    | ───────────────────────────────────────
calibre-web    |
calibre-web    |       ██╗     ███████╗██╗ ██████╗
calibre-web    |       ██║     ██╔════╝██║██╔═══██╗
calibre-web    |       ██║     ███████╗██║██║   ██║
calibre-web    |       ██║     ╚════██║██║██║   ██║
calibre-web    |       ███████╗███████║██║╚██████╔╝
calibre-web    |       ╚══════╝╚══════╝╚═╝ ╚═════╝
calibre-web    |
calibre-web    |    Brought to you by linuxserver.io
calibre-web    | ───────────────────────────────────────
calibre-web    |
calibre-web    | To support LSIO projects visit:
calibre-web    | https://www.linuxserver.io/donate/
calibre-web    |
calibre-web    | ───────────────────────────────────────
calibre-web    | GID/UID
calibre-web    | ───────────────────────────────────────
calibre-web    |
calibre-web    | User UID:    911
calibre-web    | User GID:    911
calibre-web    | ───────────────────────────────────────
calibre-web    |
calibre-web    | **** Adding calibre dependencies to package install list ****
calibre-web    | [pkg-install-init] **** Installing all mod packages ****
calibre-web    | Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
calibre-web    | Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
calibre-web    | Get:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
calibre-web    | Get:4 http://archive.ubuntu.com/ubuntu jammy/main Sources [1,668 kB]
calibre-web    | Get:5 http://archive.ubuntu.com/ubuntu jammy/multiverse Sources [361 kB]
calibre-web    | Get:6 http://archive.ubuntu.com/ubuntu jammy/restricted Sources [28.2 kB]
calibre-web    | Get:7 http://archive.ubuntu.com/ubuntu jammy/universe Sources [22.0 MB]
calibre-web    | Get:8 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
calibre-web    | Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1,792 kB]
calibre-web    | Get:10 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
calibre-web    | Get:11 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
calibre-web    | Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Sources [23.2 kB]
calibre-web    | Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/main Sources [660 kB]
calibre-web    | Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/universe Sources [545 kB]
calibre-web    | Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Sources [88.7 kB]
calibre-web    | Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,513 kB]
calibre-web    | Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [3,413 kB]
calibre-web    | Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2,738 kB]
calibre-web    | Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [52.2 kB]
calibre-web    | Get:20 http://archive.ubuntu.com/ubuntu jammy-security/multiverse Sources [13.0 kB]
calibre-web    | Get:21 http://archive.ubuntu.com/ubuntu jammy-security/restricted Sources [84.3 kB]
calibre-web    | Get:22 http://archive.ubuntu.com/ubuntu jammy-security/main Sources [386 kB]
calibre-web    | Get:23 http://archive.ubuntu.com/ubuntu jammy-security/universe Sources [355 kB]
calibre-web    | Get:24 http://archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [3,323 kB]
calibre-web    | Get:25 http://archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,224 kB]
calibre-web    | Get:26 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2,454 kB]
calibre-web    | Get:27 http://archive.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [45.2 kB]
calibre-web    | Fetched 61.2 MB in 8s (7,903 kB/s)
calibre-web    | Reading package lists...
calibre-web    | Reading package lists...
calibre-web    | Building dependency tree...
calibre-web    | Reading state information...
calibre-web    | The following additional packages will be installed:
calibre-web    |   libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
calibre-web    |   libdrm2 libedit2 libegl-mesa0 libelf1 libgbm1 libgl1-mesa-dri libglapi-mesa
calibre-web    |   libglvnd0 libglx0 libllvm15 libnspr4 libpciaccess0 libsensors-config
calibre-web    |   libsensors5 libwayland-client0 libwayland-server0 libx11-xcb1 libxcb-dri2-0
calibre-web    |   libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0
calibre-web    |   libxcb-sync1 libxcb-xfixes0 libxfixes3 libxrender1 libxshmfence1 libxxf86vm1
calibre-web    |   x11-common xkb-data
calibre-web    | Suggested packages:
calibre-web    |   pciutils lm-sensors
calibre-web    | Recommended packages:
calibre-web    |   libgl1-amber-dri
calibre-web    | The following NEW packages will be installed:
calibre-web    |   libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
calibre-web    |   libdrm2 libedit2 libegl-mesa0 libegl1 libelf1 libgbm1 libgl1 libgl1-mesa-dri
calibre-web    |   libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libllvm15 libnspr4 libnss3
calibre-web    |   libopengl0 libpciaccess0 libsensors-config libsensors5 libwayland-client0
calibre-web    |   libwayland-server0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
calibre-web    |   libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0
calibre-web    |   libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxkbfile1 libxrandr2
calibre-web    |   libxrender1 libxshmfence1 libxtst6 libxxf86vm1 x11-common xkb-data xz-utils
calibre-web    | 0 upgraded, 48 newly installed, 0 to remove and 2 not upgraded.
calibre-web    | Need to get 37.7 MB of archives.
calibre-web    | After this operation, 165 MB of additional disk space will be used.
calibre-web    | Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libelf1 amd64 0.186-1build1 [51.0 kB]
calibre-web    | Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 xkb-data all 2.33-1 [394 kB]
calibre-web    | Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-common all 2.4.113-2~ubuntu0.22.04.1 [5,450 B]
calibre-web    | Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm2 amd64 2.4.113-2~ubuntu0.22.04.1 [38.1 kB]
calibre-web    | Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libedit2 amd64 3.1-20210910-1build1 [96.8 kB]
calibre-web    | Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 xz-utils amd64 5.2.5-2ubuntu1 [84.8 kB]
calibre-web    | Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-amdgpu1 amd64 2.4.113-2~ubuntu0.22.04.1 [19.9 kB]
calibre-web    | Get:8 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpciaccess0 amd64 0.16-3 [19.1 kB]
calibre-web    | Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-intel1 amd64 2.4.113-2~ubuntu0.22.04.1 [66.7 kB]
calibre-web    | Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-nouveau2 amd64 2.4.113-2~ubuntu0.22.04.1 [17.5 kB]
calibre-web    | Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-radeon1 amd64 2.4.113-2~ubuntu0.22.04.1 [21.6 kB]
calibre-web    | Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwayland-server0 amd64 1.20.0-1ubuntu0.1 [34.3 kB]
calibre-web    | Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-randr0 amd64 1.14-3ubuntu3 [18.3 kB]
calibre-web    | Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgbm1 amd64 23.2.1-1ubuntu3.1~22.04.2 [33.5 kB]
calibre-web    | Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglapi-mesa amd64 23.2.1-1ubuntu3.1~22.04.2 [37.1 kB]
calibre-web    | Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwayland-client0 amd64 1.20.0-1ubuntu0.1 [25.9 kB]
calibre-web    | Get:17 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libx11-xcb1 amd64 2:1.7.5-1ubuntu0.3 [7,802 B]
calibre-web    | Get:18 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-dri2-0 amd64 1.14-3ubuntu3 [7,206 B]
calibre-web    | Get:19 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-dri3-0 amd64 1.14-3ubuntu3 [6,968 B]
calibre-web    | Get:20 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-present0 amd64 1.14-3ubuntu3 [5,734 B]
calibre-web    | Get:21 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-sync1 amd64 1.14-3ubuntu3 [9,416 B]
calibre-web    | Get:22 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-xfixes0 amd64 1.14-3ubuntu3 [9,996 B]
calibre-web    | Get:23 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxshmfence1 amd64 1.3-1build4 [5,394 B]
calibre-web    | Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libegl-mesa0 amd64 23.2.1-1ubuntu3.1~22.04.2 [118 kB]
calibre-web    | Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libllvm15 amd64 1:15.0.7-0ubuntu0.22.04.3 [25.4 MB]
calibre-web    | Get:26 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsensors-config all 1:3.6.0-7ubuntu1 [5,274 B]
calibre-web    | Get:27 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsensors5 amd64 1:3.6.0-7ubuntu1 [26.3 kB]
calibre-web    | Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgl1-mesa-dri amd64 23.2.1-1ubuntu3.1~22.04.2 [8,860 kB]
calibre-web    | Get:29 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-glx0 amd64 1.14-3ubuntu3 [25.9 kB]
calibre-web    | Get:30 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-shm0 amd64 1.14-3ubuntu3 [5,780 B]
calibre-web    | Get:31 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxfixes3 amd64 1:6.0.0-1 [11.7 kB]
calibre-web    | Get:32 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxxf86vm1 amd64 1:1.1.4-1build3 [10.4 kB]
calibre-web    | Get:33 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglx-mesa0 amd64 23.2.1-1ubuntu3.1~22.04.2 [158 kB]
calibre-web    | Get:34 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnspr4 amd64 2:4.35-0ubuntu0.22.04.1 [119 kB]
calibre-web    | Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnss3 amd64 2:3.98-0ubuntu0.22.04.2 [1,347 kB]
calibre-web    | Get:36 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcomposite1 amd64 1:0.4.5-1build2 [7,192 B]
calibre-web    | Get:37 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxdamage1 amd64 1:1.1.5-2build2 [7,154 B]
calibre-web    | Get:38 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxkbcommon0 amd64 1.4.0-1 [125 kB]
calibre-web    | Get:39 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxkbfile1 amd64 1:1.1.0-1build3 [71.8 kB]
calibre-web    | Get:40 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxrender1 amd64 1:0.9.10-1build4 [19.7 kB]
calibre-web    | Get:41 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxrandr2 amd64 2:1.5.2-1build1 [20.4 kB]
calibre-web    | Get:42 http://archive.ubuntu.com/ubuntu jammy/main amd64 x11-common all 1:7.7+23ubuntu2 [23.4 kB]
calibre-web    | Get:43 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxtst6 amd64 2:1.2.3-1build4 [13.4 kB]
calibre-web    | Get:44 http://archive.ubuntu.com/ubuntu jammy/main amd64 libglvnd0 amd64 1.4.0-1 [73.6 kB]
calibre-web    | Get:45 http://archive.ubuntu.com/ubuntu jammy/main amd64 libegl1 amd64 1.4.0-1 [28.6 kB]
calibre-web    | Get:46 http://archive.ubuntu.com/ubuntu jammy/main amd64 libglx0 amd64 1.4.0-1 [41.0 kB]
calibre-web    | Get:47 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgl1 amd64 1.4.0-1 [110 kB]
calibre-web    | Get:48 http://archive.ubuntu.com/ubuntu jammy/main amd64 libopengl0 amd64 1.4.0-1 [36.5 kB]
calibre-web    | Fetched 37.7 MB in 25s (1,480 kB/s)
calibre-web    | Selecting previously unselected package libelf1:amd64.
(Reading database ... 11364 files and directories currently installed.)
calibre-web    | Preparing to unpack .../00-libelf1_0.186-1build1_amd64.deb ...
calibre-web    | Unpacking libelf1:amd64 (0.186-1build1) ...
calibre-web    | Selecting previously unselected package xkb-data.
calibre-web    | Preparing to unpack .../01-xkb-data_2.33-1_all.deb ...
calibre-web    | Unpacking xkb-data (2.33-1) ...
calibre-web    | Selecting previously unselected package libdrm-common.
calibre-web    | Preparing to unpack .../02-libdrm-common_2.4.113-2~ubuntu0.22.04.1_all.deb ...
calibre-web    | Unpacking libdrm-common (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libdrm2:amd64.
calibre-web    | Preparing to unpack .../03-libdrm2_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
calibre-web    | Unpacking libdrm2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libedit2:amd64.
calibre-web    | Preparing to unpack .../04-libedit2_3.1-20210910-1build1_amd64.deb ...
calibre-web    | Unpacking libedit2:amd64 (3.1-20210910-1build1) ...
calibre-web    | Selecting previously unselected package xz-utils.
calibre-web    | Preparing to unpack .../05-xz-utils_5.2.5-2ubuntu1_amd64.deb ...
calibre-web    | Unpacking xz-utils (5.2.5-2ubuntu1) ...
calibre-web    | Selecting previously unselected package libdrm-amdgpu1:amd64.
calibre-web    | Preparing to unpack .../06-libdrm-amdgpu1_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
calibre-web    | Unpacking libdrm-amdgpu1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libpciaccess0:amd64.
calibre-web    | Preparing to unpack .../07-libpciaccess0_0.16-3_amd64.deb ...
calibre-web    | Unpacking libpciaccess0:amd64 (0.16-3) ...
calibre-web    | Selecting previously unselected package libdrm-intel1:amd64.
calibre-web    | Preparing to unpack .../08-libdrm-intel1_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
calibre-web    | Unpacking libdrm-intel1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libdrm-nouveau2:amd64.
calibre-web    | Preparing to unpack .../09-libdrm-nouveau2_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
calibre-web    | Unpacking libdrm-nouveau2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libdrm-radeon1:amd64.
calibre-web    | Preparing to unpack .../10-libdrm-radeon1_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
calibre-web    | Unpacking libdrm-radeon1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libwayland-server0:amd64.
calibre-web    | Preparing to unpack .../11-libwayland-server0_1.20.0-1ubuntu0.1_amd64.deb ...
calibre-web    | Unpacking libwayland-server0:amd64 (1.20.0-1ubuntu0.1) ...
calibre-web    | Selecting previously unselected package libxcb-randr0:amd64.
calibre-web    | Preparing to unpack .../12-libxcb-randr0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-randr0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libgbm1:amd64.
calibre-web    | Preparing to unpack .../13-libgbm1_23.2.1-1ubuntu3.1~22.04.2_amd64.deb ...
calibre-web    | Unpacking libgbm1:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Selecting previously unselected package libglapi-mesa:amd64.
calibre-web    | Preparing to unpack .../14-libglapi-mesa_23.2.1-1ubuntu3.1~22.04.2_amd64.deb ...
calibre-web    | Unpacking libglapi-mesa:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Selecting previously unselected package libwayland-client0:amd64.
calibre-web    | Preparing to unpack .../15-libwayland-client0_1.20.0-1ubuntu0.1_amd64.deb ...
calibre-web    | Unpacking libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ...
calibre-web    | Selecting previously unselected package libx11-xcb1:amd64.
calibre-web    | Preparing to unpack .../16-libx11-xcb1_2%3a1.7.5-1ubuntu0.3_amd64.deb ...
calibre-web    | Unpacking libx11-xcb1:amd64 (2:1.7.5-1ubuntu0.3) ...
calibre-web    | Selecting previously unselected package libxcb-dri2-0:amd64.
calibre-web    | Preparing to unpack .../17-libxcb-dri2-0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-dri2-0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxcb-dri3-0:amd64.
calibre-web    | Preparing to unpack .../18-libxcb-dri3-0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-dri3-0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxcb-present0:amd64.
calibre-web    | Preparing to unpack .../19-libxcb-present0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-present0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxcb-sync1:amd64.
calibre-web    | Preparing to unpack .../20-libxcb-sync1_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-sync1:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxcb-xfixes0:amd64.
calibre-web    | Preparing to unpack .../21-libxcb-xfixes0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-xfixes0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxshmfence1:amd64.
calibre-web    | Preparing to unpack .../22-libxshmfence1_1.3-1build4_amd64.deb ...
calibre-web    | Unpacking libxshmfence1:amd64 (1.3-1build4) ...
calibre-web    | Selecting previously unselected package libegl-mesa0:amd64.
calibre-web    | Preparing to unpack .../23-libegl-mesa0_23.2.1-1ubuntu3.1~22.04.2_amd64.deb ...
calibre-web    | Unpacking libegl-mesa0:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Selecting previously unselected package libllvm15:amd64.
calibre-web    | Preparing to unpack .../24-libllvm15_1%3a15.0.7-0ubuntu0.22.04.3_amd64.deb ...
calibre-web    | Unpacking libllvm15:amd64 (1:15.0.7-0ubuntu0.22.04.3) ...
calibre-web    | Selecting previously unselected package libsensors-config.
calibre-web    | Preparing to unpack .../25-libsensors-config_1%3a3.6.0-7ubuntu1_all.deb ...
calibre-web    | Unpacking libsensors-config (1:3.6.0-7ubuntu1) ...
calibre-web    | Selecting previously unselected package libsensors5:amd64.
calibre-web    | Preparing to unpack .../26-libsensors5_1%3a3.6.0-7ubuntu1_amd64.deb ...
calibre-web    | Unpacking libsensors5:amd64 (1:3.6.0-7ubuntu1) ...
calibre-web    | Selecting previously unselected package libgl1-mesa-dri:amd64.
calibre-web    | Preparing to unpack .../27-libgl1-mesa-dri_23.2.1-1ubuntu3.1~22.04.2_amd64.deb ...
calibre-web    | Unpacking libgl1-mesa-dri:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Selecting previously unselected package libxcb-glx0:amd64.
calibre-web    | Preparing to unpack .../28-libxcb-glx0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-glx0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxcb-shm0:amd64.
calibre-web    | Preparing to unpack .../29-libxcb-shm0_1.14-3ubuntu3_amd64.deb ...
calibre-web    | Unpacking libxcb-shm0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Selecting previously unselected package libxfixes3:amd64.
calibre-web    | Preparing to unpack .../30-libxfixes3_1%3a6.0.0-1_amd64.deb ...
calibre-web    | Unpacking libxfixes3:amd64 (1:6.0.0-1) ...
calibre-web    | Selecting previously unselected package libxxf86vm1:amd64.
calibre-web    | Preparing to unpack .../31-libxxf86vm1_1%3a1.1.4-1build3_amd64.deb ...
calibre-web    | Unpacking libxxf86vm1:amd64 (1:1.1.4-1build3) ...
calibre-web    | Selecting previously unselected package libglx-mesa0:amd64.
calibre-web    | Preparing to unpack .../32-libglx-mesa0_23.2.1-1ubuntu3.1~22.04.2_amd64.deb ...
calibre-web    | Unpacking libglx-mesa0:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Selecting previously unselected package libnspr4:amd64.
calibre-web    | Preparing to unpack .../33-libnspr4_2%3a4.35-0ubuntu0.22.04.1_amd64.deb ...
calibre-web    | Unpacking libnspr4:amd64 (2:4.35-0ubuntu0.22.04.1) ...
calibre-web    | Selecting previously unselected package libnss3:amd64.
calibre-web    | Preparing to unpack .../34-libnss3_2%3a3.98-0ubuntu0.22.04.2_amd64.deb ...
calibre-web    | Unpacking libnss3:amd64 (2:3.98-0ubuntu0.22.04.2) ...
calibre-web    | Selecting previously unselected package libxcomposite1:amd64.
calibre-web    | Preparing to unpack .../35-libxcomposite1_1%3a0.4.5-1build2_amd64.deb ...
calibre-web    | Unpacking libxcomposite1:amd64 (1:0.4.5-1build2) ...
calibre-web    | Selecting previously unselected package libxdamage1:amd64.
calibre-web    | Preparing to unpack .../36-libxdamage1_1%3a1.1.5-2build2_amd64.deb ...
calibre-web    | Unpacking libxdamage1:amd64 (1:1.1.5-2build2) ...
calibre-web    | Selecting previously unselected package libxkbcommon0:amd64.
calibre-web    | Preparing to unpack .../37-libxkbcommon0_1.4.0-1_amd64.deb ...
calibre-web    | Unpacking libxkbcommon0:amd64 (1.4.0-1) ...
calibre-web    | Selecting previously unselected package libxkbfile1:amd64.
calibre-web    | Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build3_amd64.deb ...
calibre-web    | Unpacking libxkbfile1:amd64 (1:1.1.0-1build3) ...
calibre-web    | Selecting previously unselected package libxrender1:amd64.
calibre-web    | Preparing to unpack .../39-libxrender1_1%3a0.9.10-1build4_amd64.deb ...
calibre-web    | Unpacking libxrender1:amd64 (1:0.9.10-1build4) ...
calibre-web    | Selecting previously unselected package libxrandr2:amd64.
calibre-web    | Preparing to unpack .../40-libxrandr2_2%3a1.5.2-1build1_amd64.deb ...
calibre-web    | Unpacking libxrandr2:amd64 (2:1.5.2-1build1) ...
calibre-web    | Selecting previously unselected package x11-common.
calibre-web    | Preparing to unpack .../41-x11-common_1%3a7.7+23ubuntu2_all.deb ...
calibre-web    | Unpacking x11-common (1:7.7+23ubuntu2) ...
calibre-web    | Selecting previously unselected package libxtst6:amd64.
calibre-web    | Preparing to unpack .../42-libxtst6_2%3a1.2.3-1build4_amd64.deb ...
calibre-web    | Unpacking libxtst6:amd64 (2:1.2.3-1build4) ...
calibre-web    | Selecting previously unselected package libglvnd0:amd64.
calibre-web    | Preparing to unpack .../43-libglvnd0_1.4.0-1_amd64.deb ...
calibre-web    | Unpacking libglvnd0:amd64 (1.4.0-1) ...
calibre-web    | Selecting previously unselected package libegl1:amd64.
calibre-web    | Preparing to unpack .../44-libegl1_1.4.0-1_amd64.deb ...
calibre-web    | Unpacking libegl1:amd64 (1.4.0-1) ...
calibre-web    | Selecting previously unselected package libglx0:amd64.
calibre-web    | Preparing to unpack .../45-libglx0_1.4.0-1_amd64.deb ...
calibre-web    | Unpacking libglx0:amd64 (1.4.0-1) ...
calibre-web    | Selecting previously unselected package libgl1:amd64.
calibre-web    | Preparing to unpack .../46-libgl1_1.4.0-1_amd64.deb ...
calibre-web    | Unpacking libgl1:amd64 (1.4.0-1) ...
calibre-web    | Selecting previously unselected package libopengl0:amd64.
calibre-web    | Preparing to unpack .../47-libopengl0_1.4.0-1_amd64.deb ...
calibre-web    | Unpacking libopengl0:amd64 (1.4.0-1) ...
calibre-web    | Setting up libxcb-dri3-0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libwayland-server0:amd64 (1.20.0-1ubuntu0.1) ...
calibre-web    | Setting up libx11-xcb1:amd64 (2:1.7.5-1ubuntu0.3) ...
calibre-web    | Setting up libpciaccess0:amd64 (0.16-3) ...
calibre-web    | Setting up libxdamage1:amd64 (1:1.1.5-2build2) ...
calibre-web    | Setting up libxcb-xfixes0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libxrender1:amd64 (1:0.9.10-1build4) ...
calibre-web    | Setting up libglvnd0:amd64 (1.4.0-1) ...
calibre-web    | Setting up libxcb-glx0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libedit2:amd64 (3.1-20210910-1build1) ...
calibre-web    | Setting up x11-common (1:7.7+23ubuntu2) ...
calibre-web    | invoke-rc.d: could not determine current runlevel
calibre-web    | invoke-rc.d: policy-rc.d denied execution of start.
calibre-web    | Setting up libsensors-config (1:3.6.0-7ubuntu1) ...
calibre-web    | Setting up xkb-data (2.33-1) ...
calibre-web    | Setting up libxcb-shm0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libopengl0:amd64 (1.4.0-1) ...
calibre-web    | Setting up libxxf86vm1:amd64 (1:1.1.4-1build3) ...
calibre-web    | Setting up libxcb-present0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libnspr4:amd64 (2:4.35-0ubuntu0.22.04.1) ...
calibre-web    | Setting up libxfixes3:amd64 (1:6.0.0-1) ...
calibre-web    | Setting up libxcb-sync1:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up xz-utils (5.2.5-2ubuntu1) ...
calibre-web    | update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
calibre-web    | update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
calibre-web    | Setting up libxrandr2:amd64 (2:1.5.2-1build1) ...
calibre-web    | Setting up libsensors5:amd64 (1:3.6.0-7ubuntu1) ...
calibre-web    | Setting up libglapi-mesa:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Setting up libxcb-dri2-0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libxshmfence1:amd64 (1.3-1build4) ...
calibre-web    | Setting up libxcb-randr0:amd64 (1.14-3ubuntu3) ...
calibre-web    | Setting up libllvm15:amd64 (1:15.0.7-0ubuntu0.22.04.3) ...
calibre-web    | Setting up libxkbfile1:amd64 (1:1.1.0-1build3) ...
calibre-web    | Setting up libdrm-common (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Setting up libelf1:amd64 (0.186-1build1) ...
calibre-web    | Setting up libxcomposite1:amd64 (1:0.4.5-1build2) ...
calibre-web    | Setting up libxkbcommon0:amd64 (1.4.0-1) ...
calibre-web    | Setting up libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ...
calibre-web    | Setting up libxtst6:amd64 (2:1.2.3-1build4) ...
calibre-web    | Setting up libnss3:amd64 (2:3.98-0ubuntu0.22.04.2) ...
calibre-web    | Setting up libdrm2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Setting up libdrm-amdgpu1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Setting up libdrm-nouveau2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Setting up libgbm1:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Setting up libdrm-radeon1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Setting up libdrm-intel1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
calibre-web    | Setting up libgl1-mesa-dri:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Setting up libegl-mesa0:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Setting up libegl1:amd64 (1.4.0-1) ...
calibre-web    | Setting up libglx-mesa0:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...
calibre-web    | Setting up libglx0:amd64 (1.4.0-1) ...
calibre-web    | Setting up libgl1:amd64 (1.4.0-1) ...
calibre-web    | Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
calibre-web    | Installing Calibre version v7.22.0
calibre-web    | Creating symlinks...
calibre-web    |        Symlinking /app/calibre/ebook-device to /usr/bin/ebook-device
calibre-web    |        Symlinking /app/calibre/ebook-meta to /usr/bin/ebook-meta
calibre-web    | Failed to import PyQt module: PyQt6.QtWebEngineCore with error: libasound.so.2: cannot open shared object file: No such file or directory
calibre-web    |        Symlinking /app/calibre/ebook-convert to /usr/bin/ebook-convert
calibre-web    |        Symlinking /app/calibre/ebook-polish to /usr/bin/ebook-polish
calibre-web    |        Symlinking /app/calibre/markdown-calibre to /usr/bin/markdown-calibre
calibre-web    |        Symlinking /app/calibre/web2disk to /usr/bin/web2disk
calibre-web    |        Symlinking /app/calibre/calibre-server to /usr/bin/calibre-server
calibre-web    |        Symlinking /app/calibre/lrf2lrs to /usr/bin/lrf2lrs
calibre-web    |        Symlinking /app/calibre/lrs2lrf to /usr/bin/lrs2lrf
calibre-web    |        Symlinking /app/calibre/calibre-debug to /usr/bin/calibre-debug
calibre-web    |        Symlinking /app/calibre/calibredb to /usr/bin/calibredb
calibre-web    |        Symlinking /app/calibre/calibre-parallel to /usr/bin/calibre-parallel
calibre-web    |        Symlinking /app/calibre/calibre-customize to /usr/bin/calibre-customize
calibre-web    |        Symlinking /app/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
calibre-web    |        Symlinking /app/calibre/calibre-smtp to /usr/bin/calibre-smtp
calibre-web    |        Symlinking /app/calibre/calibre to /usr/bin/calibre
calibre-web    |        Symlinking /app/calibre/lrfviewer to /usr/bin/lrfviewer
calibre-web    |        Symlinking /app/calibre/ebook-viewer to /usr/bin/ebook-viewer
calibre-web    |        Symlinking /app/calibre/ebook-edit to /usr/bin/ebook-edit
calibre-web    | Setting up command-line completion...
calibre-web    | Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
calibre-web    | Failed to find directory to install bash completions, using default.
calibre-web    | Installing bash completion to: /usr/share/bash-completion/completions/
calibre-web    |
calibre-web    | ____________________ WARNING ____________________
calibre-web    | Setting up completion failed with error:
calibre-web    | __________________________________________________
calibre-web    |
calibre-web    |
calibre-web    | xdg-desktop-menu: No writable system menu directory found.
calibre-web    |        Traceback (most recent call last):
calibre-web    |          File "calibre/linux.py", line 838, in setup_completion
calibre-web    |          File "calibre/linux.py", line 588, in write_completion
calibre-web    |          File "bypy-importer.py", line 279, in exec_module
calibre-web    |          File "calibre/gui2/tweak_book/main.py", line 12, in <module>
calibre-web    |          File "bypy-importer.py", line 279, in exec_module
calibre-web    |          File "calibre/ebooks/oeb/polish/check/css.py", line 12, in <module>
calibre-web    |        ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/app/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)
calibre-web    |
calibre-web    | Setting up desktop integration...
calibre-web    |
calibre-web    | ____________________ WARNING ____________________
calibre-web    | Setting up desktop integration failed with error:
calibre-web    | __________________________________________________
calibre-web    |
calibre-web    |
calibre-web    |        Traceback (most recent call last):
calibre-web    |          File "calibre/linux.py", line 859, in setup_desktop_integration
calibre-web    |          File "calibre/linux.py", line 881, in do_setup_desktop_integration
calibre-web    |          File "calibre/linux.py", line 961, in install_xdg_junk
calibre-web    |          File "subprocess.py", line 413, in check_call
calibre-web    |        subprocess.CalledProcessError: Command 'xdg-desktop-menu install --noupdate ./calibre-gui.desktop' returned non-zero exit status 3.
calibre-web    |
calibre-web    | Creating un-installer: /usr/bin/calibre-uninstall
calibre-web    |
calibre-web    |
calibre-web    | There were 2 warnings
calibre-web    |
calibre-web    | * Setting up completion failed with error:
calibre-web    |
calibre-web    | * Setting up desktop integration failed with error:
calibre-web    |
calibre-web    | **** The 2 warnings above about setting up completion and desktop integration are expected and harmless. You can safely ignore them. ****
calibre-web    | [custom-init] No custom files found, skipping...
calibre-web    | [ls.io-init] done.
Copy link

github-actions bot commented Dec 2, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

1 participant