Skip to content

[BUG] Binaries are not installed (on EOL kernels synology + other?) #306

@igorshubovych

Description

@igorshubovych

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After trying to install calibre-web using linuxserver/docker-calibre-web on Synology NAS via Container Manager, the calibre binaries are not being put into bin folder.

They are not correctly built.

Probably related to #305.

Expected Behavior

No response

Steps To Reproduce

  1. Install calibre-web using Container Manager on Synology NAS.
  2. Read the logs.
  3. Ensure that calibre-web does not have binaries installed trying to use calibre-web.

Environment

- OS: Synology DSM 7.2.1-69057 Update 5 (Linux 3.10.108, )
- How docker service was installed: Synology Container Manager

CPU architecture

x86-64

Docker creation

docker-compose.yml

---
services:
  calibre-web:
    image: lscr.io/linuxserver/calibre-web:latest
    container_name: calibre-web
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - DOCKER_MODS=linuxserver/mods:universal-calibre #optional
      - OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
    volumes:
      - /volume1/docker/calibre-web/config:/config
      - /volume1/docker/calibre-web/library:/books
    ports:
      - 8083:8083
    restart: unless-stopped

Container logs

...
Setting up libdrm2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...                         
Setting up libdrm-amdgpu1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...                  
Setting up libdrm-nouveau2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...                 
Setting up libgbm1:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...                         
Setting up libdrm-radeon1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...                  
Setting up libdrm-intel1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...                   
Setting up libgl1-mesa-dri:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...                 
Setting up libegl-mesa0:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...                    
Setting up libegl1:amd64 (1.4.0-1) ...                                           
Setting up libglx-mesa0:amd64 (23.2.1-1ubuntu3.1~22.04.2) ...                    
Setting up libglx0:amd64 (1.4.0-1) ...                                           
Setting up libgl1:amd64 (1.4.0-1) ...                                            
Setting up libgl1-mesa-glx:amd64 (23.0.4-0ubuntu1~22.04.1) ...                   
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...                           
**** Installing/updating calibre ****                                            
  % Total    % Received % d   Time    Time     Time  Current                     
                                 Dload  Upload   Total   Spent    Left  Speed    
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Xfe
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0   
100  139M  100  139M    0     0  9595k      0  0:00:14  0:00:14 --:--:--  9.7M   
Failed to import PyQt module: PyQt6.QtCore with error: libQt6Core.so.6: cannot op
en shared object file: No such file or directory                                 
Traceback (most recent call last):                                               
  File "runpy.py", line 198, in _run_module_as_main                              
  File "runpy.py", line 88, in _run_code                                         
  File "site.py", line 47, in <module>                                           
  File "site.py", line 41, in main                                               
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/linux.py", line 16, in <module>                                  
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/customize/ui.py", line 28, in <module>                           
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/customize/builtins.py", line 731, in <module>                    
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/devices/kobo/driver.py", line 25, in <module>                    
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/devices/kobo/books.py", line 14, in <module>                     
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/ebooks/metadata/book/formatter.py", line 10, in <module>         
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/utils/formatter.py", line 23, in <module>                        
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/utils/formatter_functions.py", line 30, in <module>              
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/db/notes/exim.py", line 14, in <module>                          
  File "bypy-importer.py", line 279, in exec_module                              
  File "calibre/ebooks/oeb/transforms/rasterize.py", line 14, in <module>        
ImportError: cannot import name 'QBuffer' from 'qt.core' (/app/calibre/lib/calibr
e-extensions/python-lib.bypy.frozen/qt/core.pyc)                                 
[custom-init] No custom files found, skipping...                                 
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions