linuxserver / docker-calibre

GNU General Public License v3.0
338 stars 62 forks source link

[BUG] Upgrade to v7 fails #142

Closed crh0831 closed 7 months ago

crh0831 commented 7 months ago

Is there an existing issue for this?

Current Behavior

When upgrading to the latest version, the application fails to open.

Expected Behavior

Application opens with latest version (v7)

Steps To Reproduce

In Portainer, using the latest tag, redeploy using 're-pull image and deploy'

Environment

- OS: Ubuntu 22.04 (Linux 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2)
- How docker service was installed: Apt via [PPA](https://docs.docker.com/engine/install/ubuntu/) (Docker version 24.0.7, build afdd53b)

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  calibre:
    image: lscr.io/linuxserver/calibre:latest
    container_name: calibre
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1001
      - PGID=1001
      - TZ=America/New_York
      - PASSWORD=<obfuscated>
    volumes:
      - /mnt/docker/calibre-server:/config
      - /mnt/docker/calibre-libraries:/Calibre_Library #this is where your ebooks will end up
    ports:
      - 4080:8080
      - 4081:8081
    restart: unless-stopped

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1001
User GID:    1001
───────────────────────────────────────
[custom-init] No custom files found, skipping...
no crontab for abc
no crontab for root
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
Xvnc KasmVNC 1.2.0 - built Nov 11 2023 19:02:11
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation
[ls.io-init] done.
Obt-Message: Xinerama extension is not present on the server
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: vkkhrdisplay, wayland, offscreen, eglfs, wayland-egl, minimal, linuxfb, minimalegl, xcb, vnc.
Aborted (core dumped)

Note that reverting to the previous release (specifying specific tag image: lscr.io/linuxserver/calibre:6.29.0) works to restore functionality.

github-actions[bot] commented 7 months ago

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

stefore commented 7 months ago

The same for me. Black screen after log in.

tradenet commented 7 months ago

The image needs a new dependency: libxcb-cursor0 for new version 6.5 Suggest downgrading.

aptalca commented 7 months ago

143

drizuid commented 7 months ago

if any of you would like to test and confirm for me, i will appreciate it. lspipepr/calibre:amd64-v7.0.0-pkg-c0e92875-dev-50fa550cda58a1a45b38c4d6c0f4fff09424fb71-pr-143

aptalca commented 7 months ago

I just reproduced the issue with the latest stable image, then switched to the PR build and clicked around. All is well.

drizuid commented 7 months ago

got confirmation on discord from an unraid user as well, merging

crh0831 commented 7 months ago

Tested the PR image and it worked! image

tradenet commented 7 months ago

lspipepr/calibre:amd64-v7.0.0-pkg-c0e92875-dev-50fa550cda58a1a45b38c4d6c0f4fff09424fb71-pr-143

Looks good so far

drizuid commented 7 months ago

thanks all, just waiting on CI to finish and ill merge

drizuid commented 7 months ago

PR merged to master, should be on :latest in a bit

tradenet commented 7 months ago

PR merged to master, should be on :latest in a bit

Thanks! 🥂