linuxserver / docker-calibre

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

[BUG] New Base could not start (pulseaudio or publicIP?) #127

Closed DunklerPhoenix closed 1 year ago

DunklerPhoenix commented 1 year ago

Is there an existing issue for this?

Current Behavior

XVNC doesn't seem to start at the moment.

Expected Behavior

No response

Steps To Reproduce

  1. use the docker compose from below (reverse proxy)
  2. see logs
  3. see Xvnc KasmVNC restarting over and over and over

Environment

- OS: Debian Buster
- How docker service was installed: APT
- Linuxserver.io version:- v6.15.0-ls211 Build-date:- 2023-04-08T00:20:50+02:00

CPU architecture

x86-64

Docker creation

calibre:
    image: lscr.io/linuxserver/calibre:latest
    hostname: calibre
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - CLI_ARGS= #optional
    volumes:
      - /home/user/_files/calibre-web:/config
      - /mnt/media/eBooks:/books
    labels:
      traefik.enable: "true"
      traefik.docker.network: "bridge"
      traefik.http.routers.calibre.entrypoints: "https"
      traefik.http.routers.calibre.rule: "Host(`calibre-app.domain.com`)"
      traefik.http.routers.calibre.tls: "true"
      traefik.http.services.calibre.loadbalancer.server.port: "8080"
      traefik.enable: "true"
      traefik.docker.network: "bridge"
      traefik.http.routers.calibre-server.entrypoints: "https"
      traefik.http.routers.calibre-server.rule: "Host(`calibre-server.domain.com`)"
      traefik.http.routers.calibre-server.tls: "true"
      traefik.http.services.calibre-server.loadbalancer.server.port: "8081"
    security_opt:
      - seccomp:unconfined #optional
    deploy:
        restart_policy:
          condition: any
          delay: 5s
          window: 120s

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:    1000
User GID:    1000
───────────────────────────────────────

...+.........+...+..+...................+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+.....+....+..+..........+...+......+...+.....+.+.....+..........+..+....+...............+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+.........+..+.+..+.......+.....+......+...+.........+...+.........................+.....+.......+..+...+...+....+.....+....+...........+.+..+...+............+.+.....+............+..........+..+.+......+......+...+......+...........+.......+...+.....+...+............+....+........+......+.+..................+..+.+........+......+...+......+......+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.+..+.......+...+.....+.........+.........+......+......+....+.....+......+.......+......+.....+......+.........+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+......+..........+............+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Access denied
    at /kclient/node_modules/pulseaudio2/lib/pulse.js:133:21
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Emitted 'error' event on Context instance at:
    at /kclient/node_modules/pulseaudio2/lib/pulse.js:135:22
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Node.js v18.15.0
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Emitted 'error' event on Context instance at:
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22)

Node.js v18.15.0
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Emitted 'error' event on Context instance at:
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22)

Node.js v18.15.0
 2023-04-08 00:56:46,357 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

 2023-04-08 00:57:56,481 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

[custom-init] No custom files found, skipping...
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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.
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Emitted 'error' event on Context instance at:
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22)

Node.js v18.15.0
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Emitted 'error' event on Context instance at:
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22)

Node.js v18.15.0
 2023-04-08 00:59:19,456 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

 2023-04-08 01:00:29,562 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

 2023-04-08 01:01:39,701 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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
Tailslide commented 1 year ago

I got a similar error, pinning to version 6.14.1 instead of latest got things running for me again.

DunklerPhoenix commented 1 year ago

@Tailslide Important info for you: 6.15 is based on another base image than 6.14. it's a very different image

j0nnymoe commented 1 year ago

Are you using portainer for deployment? With light testing, I'm able to upgrade from the the old baseimage to the new one with zero issues.

DunklerPhoenix commented 1 year ago

Nope. I use portainer only for Management. Deploying runs over docker compose. The old image 6.14.x also didn't run https://github.com/linuxserver/docker-calibre/issues/121

I don't know where it comes from. Even if I create the Container directly in portainer (via template) or via docker command with minimum values nothing changes.

DunklerPhoenix commented 1 year ago

The old one throws the error "Error: WS was inactive for too long" and the new one throws different errors (see above)

j0nnymoe commented 1 year ago

So you're using compose via cli? And not via the portainer stack option? (Sorry, have to ask because people think using compose within portainer is the same)

DunklerPhoenix commented 1 year ago

docker-compose up -d

j0nnymoe commented 1 year ago

Thanks for clearing that up. Just gives me parameters to test with.

DunklerPhoenix commented 1 year ago

tested it with this,but still the same.

docker run -d \
  --name=calibre \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e PASSWORD= `#optional` \
  -e CLI_ARGS= `#optional` \
  -p 9080:8080 \
  -p 9181:8181 \
  -p 9081:8081 \
  --restart unless-stopped \
  lscr.io/linuxserver/calibre:latest

Complete Inspect:

{
    "AppArmorProfile": "docker-default",
    "Args": [],
    "Config": {
        "AttachStderr": false,
        "AttachStdin": false,
        "AttachStdout": false,
        "Cmd": null,
        "Domainname": "",
        "Entrypoint": [
            "/init"
        ],
        "Env": [
            "PUID=1000",
            "PGID=1000",
            "TZ=Etc/UTC",
            "PASSWORD=",
            "CLI_ARGS=",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HOME=/config",
            "LANGUAGE=en_US.UTF-8",
            "LANG=en_US.UTF-8",
            "TERM=xterm",
            "S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0",
            "S6_VERBOSITY=1",
            "S6_STAGE2_HOOK=/docker-mods",
            "DISPLAY=:1",
            "PERL5LIB=/usr/local/bin",
            "OMP_WAIT_POLICY=PASSIVE",
            "GOMP_SPINCOUNT=0",
            "START_DOCKER=true",
            "NVIDIA_DRIVER_CAPABILITIES=graphics,compat32,utility",
            "LSIO_FIRST_PARTY=true",
            "CUSTOM_PORT=8080",
            "CUSTOM_HTTPS_PORT=8181",
            "TITLE=Calibre"
        ],
        "ExposedPorts": {
            "3000/tcp": {},
            "3001/tcp": {},
            "8080/tcp": {},
            "8081/tcp": {},
            "8181/tcp": {}
        },
        "Hostname": "c2542baf2bd4",
        "Image": "lscr.io/linuxserver/calibre:latest",
        "Labels": {
            "build_version": "Linuxserver.io version:- v6.15.1-ls211 Build-date:- 2023-04-07T23:57:14-05:00",
            "maintainer": "aptalca",
            "org.opencontainers.image.authors": "linuxserver.io",
            "org.opencontainers.image.created": "2023-04-07T23:57:14-05:00",
            "org.opencontainers.image.description": "[Calibre](https://calibre-ebook.com/) is a powerful and easy to use e-book manager. Users say it's outstanding and a must-have. It'll allow you to do nearly everything and it takes things a step beyond normal e-book software. It's also completely free and open source and great for both casual users and computer experts.",
            "org.opencontainers.image.documentation": "https://docs.linuxserver.io/images/docker-calibre",
            "org.opencontainers.image.licenses": "GPL-3.0-only",
            "org.opencontainers.image.ref.name": "d2e6050523ec004052e1cdc71c7c6184d382ffb7",
            "org.opencontainers.image.revision": "d2e6050523ec004052e1cdc71c7c6184d382ffb7",
            "org.opencontainers.image.source": "https://github.com/linuxserver/docker-calibre",
            "org.opencontainers.image.title": "Calibre",
            "org.opencontainers.image.url": "https://github.com/linuxserver/docker-calibre/packages",
            "org.opencontainers.image.vendor": "linuxserver.io",
            "org.opencontainers.image.version": "v6.15.1-ls211"
        },
        "OnBuild": null,
        "OpenStdin": false,
        "StdinOnce": false,
        "Tty": false,
        "User": "",
        "Volumes": {
            "/config": {}
        },
        "WorkingDir": "/"
    },
    "Created": "2023-04-08T10:16:43.824114281Z",
    "Driver": "overlay2",
    "ExecIDs": null,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a6fe9c07c3086df42c15089bcfe4d1ec41e4846a5b5da4e433985e641f8d47ff-init/diff:/var/lib/docker/overlay2/85557d6845ff60d872a79167f2b91a3354705cc479e3b11278e64803135394f9/diff:/var/lib/docker/overlay2/b5063e96d9793e011ff43c78d0f7bf1e3e9632111db4e85b86642550fed1fc19/diff:/var/lib/docker/overlay2/ab6fbce1cbf81b97cd05335244f703c2b9755df00036bd055a21b2488a5b2c8a/diff:/var/lib/docker/overlay2/fdcb389fb571855f7a56b9e34a683043f976d551d44f6c2e0a7f147bdd2b8c82/diff:/var/lib/docker/overlay2/f566dfd489c7c3f9a51ac072732b430d9f6a310622a4bbb3e6de67cdd2b3b6ca/diff:/var/lib/docker/overlay2/acf6aaaf18d04984f98819ac0f5cf822f27d919f70ce723071541d59bb603fb1/diff:/var/lib/docker/overlay2/8f236293f45bb77cf9651bc658c01a124c0e1376cdd802b8e8705100e03cc29a/diff:/var/lib/docker/overlay2/fe9ffbd5118b20d8b0eb2b550aef6dc8ad13f42c8574de79caedfb68d95d7b6d/diff:/var/lib/docker/overlay2/89d951e7115ea8b5d4ab1883fa46caf4509e8ff317f140b90205295f9601847a/diff:/var/lib/docker/overlay2/b167d147b7ef0e09be55aae0d8d6b249f12a344eaa79cfb8ffc70bf533229d51/diff:/var/lib/docker/overlay2/fa77cd5f1bda208e5e368b3f37e905dafb80b07b4f706b23af53468e11de3da3/diff",
            "MergedDir": "/var/lib/docker/overlay2/a6fe9c07c3086df42c15089bcfe4d1ec41e4846a5b5da4e433985e641f8d47ff/merged",
            "UpperDir": "/var/lib/docker/overlay2/a6fe9c07c3086df42c15089bcfe4d1ec41e4846a5b5da4e433985e641f8d47ff/diff",
            "WorkDir": "/var/lib/docker/overlay2/a6fe9c07c3086df42c15089bcfe4d1ec41e4846a5b5da4e433985e641f8d47ff/work"
        },
        "Name": "overlay2"
    },
    "HostConfig": {
        "AutoRemove": false,
        "Binds": null,
        "BlkioDeviceReadBps": null,
        "BlkioDeviceReadIOps": null,
        "BlkioDeviceWriteBps": null,
        "BlkioDeviceWriteIOps": null,
        "BlkioWeight": 0,
        "BlkioWeightDevice": [],
        "CapAdd": null,
        "CapDrop": null,
        "Cgroup": "",
        "CgroupParent": "",
        "CgroupnsMode": "private",
        "ConsoleSize": [
            0,
            0
        ],
        "ContainerIDFile": "",
        "CpuCount": 0,
        "CpuPercent": 0,
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpuShares": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "DeviceCgroupRules": null,
        "DeviceRequests": null,
        "Devices": [],
        "Dns": [],
        "DnsOptions": [],
        "DnsSearch": [],
        "ExtraHosts": null,
        "GroupAdd": null,
        "IOMaximumBandwidth": 0,
        "IOMaximumIOps": 0,
        "IpcMode": "private",
        "Isolation": "",
        "KernelMemory": 0,
        "KernelMemoryTCP": 0,
        "Links": null,
        "LogConfig": {
            "Config": {},
            "Type": "json-file"
        },
        "MaskedPaths": [
            "/proc/asound",
            "/proc/acpi",
            "/proc/kcore",
            "/proc/keys",
            "/proc/latency_stats",
            "/proc/timer_list",
            "/proc/timer_stats",
            "/proc/sched_debug",
            "/proc/scsi",
            "/sys/firmware"
        ],
        "Memory": 0,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "NanoCpus": 0,
        "NetworkMode": "default",
        "OomKillDisable": null,
        "OomScoreAdj": 0,
        "PidMode": "",
        "PidsLimit": null,
        "PortBindings": {
            "8080/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "9080"
                }
            ],
            "8081/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "9081"
                }
            ],
            "8181/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "9181"
                }
            ]
        },
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyPaths": [
            "/proc/bus",
            "/proc/fs",
            "/proc/irq",
            "/proc/sys",
            "/proc/sysrq-trigger"
        ],
        "ReadonlyRootfs": false,
        "RestartPolicy": {
            "MaximumRetryCount": 0,
            "Name": "unless-stopped"
        },
        "Runtime": "runc",
        "SecurityOpt": [
            "seccomp=unconfined"
        ],
        "ShmSize": 67108864,
        "UTSMode": "",
        "Ulimits": null,
        "UsernsMode": "",
        "VolumeDriver": "",
        "VolumesFrom": null
    },
    "HostnamePath": "/var/lib/docker/containers/c2542baf2bd447f47698e4c13f5c9197af0ea7c310113599a3df1cf25a3bfbf9/hostname",
    "HostsPath": "/var/lib/docker/containers/c2542baf2bd447f47698e4c13f5c9197af0ea7c310113599a3df1cf25a3bfbf9/hosts",
    "Id": "c2542baf2bd447f47698e4c13f5c9197af0ea7c310113599a3df1cf25a3bfbf9",
    "Image": "sha256:82475e1ea55188e90b2a25d57537077d55e620014710288f2c5f3968cda4ebe6",
    "LogPath": "/var/lib/docker/containers/c2542baf2bd447f47698e4c13f5c9197af0ea7c310113599a3df1cf25a3bfbf9/c2542baf2bd447f47698e4c13f5c9197af0ea7c310113599a3df1cf25a3bfbf9-json.log",
    "MountLabel": "",
    "Mounts": [
        {
            "Destination": "/config",
            "Driver": "local",
            "Mode": "",
            "Name": "c3a19443eabe3496297dc6d7882a84ae8ff56f1cbd27ff4c2a18c68f6acc215a",
            "Propagation": "",
            "RW": true,
            "Source": "/var/lib/docker/volumes/c3a19443eabe3496297dc6d7882a84ae8ff56f1cbd27ff4c2a18c68f6acc215a/_data",
            "Type": "volume"
        }
    ],
    "Name": "/calibre",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID": "db8d0e68ce46c33a8d74ccf69f2c3342b304cc9717dfabcf5d6fecb549f1066a",
        "Gateway": "172.17.0.1",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "172.17.0.2",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "02:42:ac:11:00:02",
        "Networks": {
            "bridge": {
                "Aliases": null,
                "DriverOpts": null,
                "EndpointID": "db8d0e68ce46c33a8d74ccf69f2c3342b304cc9717dfabcf5d6fecb549f1066a",
                "Gateway": "172.17.0.1",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "IPAMConfig": null,
                "IPAddress": "172.17.0.2",
                "IPPrefixLen": 16,
                "IPv6Gateway": "",
                "Links": null,
                "MacAddress": "02:42:ac:11:00:02",
                "NetworkID": "b1b8f3eaa9b3ebb85a03d3f31b468b88fa57c954d7298f98a5b4c5c49dd780be"
            }
        },
        "Ports": {
            "3000/tcp": null,
            "3001/tcp": null,
            "8080/tcp": [
                {
                    "HostIp": "0.0.0.0",
                    "HostPort": "9080"
                }
            ],
            "8081/tcp": [
                {
                    "HostIp": "0.0.0.0",
                    "HostPort": "9081"
                }
            ],
            "8181/tcp": [
                {
                    "HostIp": "0.0.0.0",
                    "HostPort": "9181"
                }
            ]
        },
        "SandboxID": "d7d2be02f2c869dd65f9d74d2dc493e6be1aad47b92a8c9ca0ac7e889765c323",
        "SandboxKey": "/var/run/docker/netns/d7d2be02f2c8",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "Path": "/init",
    "Platform": "linux",
    "ProcessLabel": "",
    "ResolvConfPath": "/var/lib/docker/containers/c2542baf2bd447f47698e4c13f5c9197af0ea7c310113599a3df1cf25a3bfbf9/resolv.conf",
    "RestartCount": 0,
    "State": {
        "Dead": false,
        "Error": "",
        "ExitCode": 0,
        "FinishedAt": "0001-01-01T00:00:00Z",
        "OOMKilled": false,
        "Paused": false,
        "Pid": 2151926,
        "Restarting": false,
        "Running": true,
        "StartedAt": "2023-04-08T10:16:45.57264063Z",
        "Status": "running"
    }
}
thelamer commented 1 year ago

@DunklerPhoenix can you try two things for me? does passing the env var PULSE_RUNTIME_PATH=/defaults help ? Or not mounting in /config as a test (your settings will not load but this is just an ephemeral test)

DunklerPhoenix commented 1 year ago

I didn't use the /config mount in this example: https://github.com/linuxserver/docker-calibre/issues/127#issuecomment-1500868529 and the problem persists.

With passing the PULSE_RUNTIME_PATH still no change:

docker run -d \
  --name=calibre \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e PASSWORD= `#optional` \
  -e CLI_ARGS= `#optional` \
  -e PULSE_RUNTIME_PATH="/defaults" \
  -p 9080:8080 \
  -p 9181:8181 \
  -p 9081:8081 \
  --restart unless-stopped \
  lscr.io/linuxserver/calibre:latest

LOG:


[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:    1000
User GID:    1000
───────────────────────────────────────

.....+....+.........+..............+.+..+....+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.......+...+.........+..+...+.+..+............+.+..+.......+.....+......+............+...+......+.........+.+...+..+.+.....+...+....+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+..+....+.........+..+....+.....+.......+.....+.......+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.............+.......+......+..+.......+......+......+........+.+.....+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+......+...............+..+.+..+....+.....+......+...+.+.....+.+...+............+...+.........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Emitted 'error' event on Context instance at:
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22)

Node.js v18.15.0
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Emitted 'error' event on Context instance at:
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22)

Node.js v18.15.0
 2023-04-08 16:45:33,556 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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

 2023-04-08 16:46:43,629 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  7 2023 19:59:10
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
thelamer commented 1 year ago

I'll have to spinup a buster vm I guess, might take me a bit. I cannot replicate this on any of my hosts.

DunklerPhoenix commented 1 year ago

Hahaha. Me with my special problems. Maybe its related to the old image error "Error: WS was inactive for too long" and you can see in the old log some things that might help. Because the old image also didn't run on my and some other users systems.

If you want more informations about the system or hardware just ask.

Edit: at the moment I dont have time, but maybe I can later try it on my other bustet servers

Tailslide commented 1 year ago

FWIW My 16.4.1 works but latest with PULSE_RUNTIME_PATH=/defaults still gives the error. I'm on Synology DSM 7: Linux NAS5 4.4.180+ #42962 SMP Fri Feb 10 16:34:49 CST 2023 x86_64 GNU/Linux synology_broadwellnk_1621xs+

thelamer commented 1 year ago

I have added logic to simply disable audio if it is not functional can people in this thread pull the latest image and test ?

Tailslide commented 1 year ago

@thelamer The container isn't restarting continually now but it's not working either.

If I go to the site I see this error:

image

Click For Logs ``` Brought to you by linuxserver.io ─────────────────────────────────────── To support LSIO projects visit: https://www.linuxserver.io/donate/ ─────────────────────────────────────── GID/UID ─────────────────────────────────────── User UID: 1027 User GID: 100 ─────────────────────────────────────── [custom-init] No custom files found, skipping... [ls.io-init] done. _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. Xvnc KasmVNC 1.1.0 - built Apr 8 2023 21:33:54 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 node:events:491 throw er; // Unhandled 'error' event ^ Error: Timeout at PulseAudioContext. (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36) Emitted 'error' event on Context instance at: at PulseAudioContext. (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22) Node.js v18.15.0 node:events:491 throw er; // Unhandled 'error' event ^ Error: Timeout at PulseAudioContext. (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36) Emitted 'error' event on Context instance at: at PulseAudioContext. (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:22) Node.js v18.15.0 2023-04-08 17:28:38,637 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 8 2023 21:33:54 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 2023-04-08 17:29:49,034 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 8 2023 21:33:54 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 2023-04-08 17:30:59,489 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 8 2023 21:33:54 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 2023-04-08 17:32:09,916 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 8 2023 21:33:54 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 2023-04-08 17:33:20,335 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 8 2023 21:33:54
thelamer commented 1 year ago

I'm still waiting for a rebase build, I jumped the gun a bit on asking for feedback again. Will ping when it's actually built.

thelamer commented 1 year ago

Ok for real this time, this pulseaudio bug is bashed. Let me know what you get. In another thread someone needed to manually launch it from the right click context menu, please play with that as well. https://ci-tests.linuxserver.io/linuxserver/calibre/v6.15.1-ls212/index.html

Tailslide commented 1 year ago

@thelamer Seems to bypass the pulseaudio error but still not working. Keep restarting and I don't see a right click context menu just the error above and some buttons for connect, settings, etc. New logs:

Click For 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: 1027 User GID: 100 ─────────────────────────────────────── [custom-init] No custom files found, skipping... [ls.io-init] done. _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. Xvnc KasmVNC 1.1.0 - built Apr 9 2023 00:38:52 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 Error: Timeout at PulseAudioContext. (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36) Kclient was unable to init audio, it is possible your host lacks support!!!! 2023-04-08 23:55:40,804 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 9 2023 00:38:52 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 2023-04-08 23:56:51,253 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 9 2023 00:38:52 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 2023-04-08 23:58:01,709 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 9 2023 00:38:52 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 2023-04-08 23:59:12,120 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP Openbox-Message: Failed to open the display from the DISPLAY environment variable. _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root Xvnc KasmVNC 1.1.0 - built Apr 9 2023 00:38:52 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 ```
DunklerPhoenix commented 1 year ago

same here

docker run -d \
  --name=calibre \
  --security-opt seccomp=unconfined `#optional` \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e PASSWORD= `#optional` \
  -e CLI_ARGS= `#optional` \
  -e PULSE_RUNTIME_PATH="/defaults" \
  -p 9080:8080 \
  -p 9181:8181 \
  -p 9081:8081 \
  --restart unless-stopped \
  lscr.io/linuxserver/calibre:latest
[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:    1000
User GID:    1000
───────────────────────────────────────

..+.+.....+......+.........+....+..+.+..+..........+..+.+..............+.+...+..+....+........+...+..........+..+...+...+....+..+....+......+........+.+.........+.....+...+...+....+......+..+...+..........+..+....+.....+....+......+.........+...........+.+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...+.+..+....+...+...........+....+......+..+...+.......+...+......+.....+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+..+....+..+.........+................+..+.......+...+..+.+..+.........................+...+........+....+...........+.......+..+...+..................+.........+.......+.....+...+............+.+...+......+......+..+......+......+.+..............+....+......+.........+......+.........+..+...+....+..+...+............+....+...........+.+..+.......+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+...+.........+..+.........+....+..+.+..............+...+...+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+....+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
[custom-init] No custom files found, skipping...
[ls.io-init] done.
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
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

Error: Timeout
    at PulseAudioContext.<anonymous> (/kclient/node_modules/pulseaudio2/lib/pulse.js:120:36)
Kclient was unable to init audio, it is possible your host lacks support!!!!
 2023-04-09 08:15:33,033 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
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

 2023-04-09 08:16:43,481 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
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

 2023-04-09 08:17:53,591 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
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

 2023-04-09 08:19:03,688 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
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

 2023-04-09 08:20:13,817 [PRIO] ICE: Failed to get public IP, please specify it with -publicIP
Openbox-Message: Failed to open the display from the DISPLAY environment variable.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
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

brave_euoQ20pRrk

DunklerPhoenix commented 1 year ago

And as I promised I tried it on my other Servers. The difference is mainly that the server A with the error is a dedicated Server and the Server B is a virtual Cloudserver

BTW: I need to apologize. I did a mistake. My Systems are not buster, but bullseye ^^'

ServerB: brave_w6Tw1ucNZk

SERVER A (not work): hostnamectl:

   Static hostname: Debian-105-buster-64-minimal
         Icon name: computer-desktop
           Chassis: desktop
        Machine ID: 54d93f3d8de64799a5f01266c4aa1f2d
           Boot ID: 2743bf2a1d2a42f28d2c0f396ce61cc0
  Operating System: Debian GNU/Linux 11 (bullseye)
            Kernel: Linux 5.10.0-19-amd64
      Architecture: x86-64

lsb_release -a:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

lscpu:

lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              2
Core(s) per socket:              8
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           158
Model name:                      Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Stepping:                        13
CPU MHz:                         1615.897
CPU max MHz:                     5000.0000
CPU min MHz:                     800.0000
BogoMIPS:                        7200.00
Virtualization:                  VT-x
L1d cache:                       256 KiB
L1i cache:                       256 KiB
L2 cache:                        2 MiB
L3 cache:                        16 MiB
NUMA node0 CPU(s):               0-15
Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Retbleed:          Mitigation; Enhanced IBRS
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:             Mitigation; Microcode
Vulnerability Tsx async abort:   Mitigation; TSX disabled
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arc                                 h_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse                                 4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow v                                 nmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida a                                 rat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities

SERVER B (work): hostnamectl:

   Static hostname: servicestatus
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 7317df06560f4281b91d4e6ea0233fe1
           Boot ID: 09e0f3d3ce1a4c61ba8ec61d69fc63d4
    Virtualization: kvm
  Operating System: Debian GNU/Linux 11 (bullseye)
            Kernel: Linux 5.10.0-10-amd64
      Architecture: x86-64

lsb_release -a:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

lscpu:

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   40 bits physical, 48 bits virtual
CPU(s):                          2
On-line CPU(s) list:             0,1
Thread(s) per core:              1
Core(s) per socket:              2
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           49
Model name:                      AMD EPYC Processor
Stepping:                        0
CPU MHz:                         2495.310
BogoMIPS:                        4990.62
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       64 KiB
L1i cache:                       64 KiB
L2 cache:                        1 MiB
L3 cache:                        16 MiB
NUMA node0 CPU(s):               0,1
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid ext                                 d_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misal                                 ignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 x                                 saves clzero xsaveerptr wbnoinvd arat umip rdpid arch_capabilities

Log from ServerB with same command:

[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗ 
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝ 

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
...+.+........+.......+..+...+..........+...+.....+....+...+...+..+....+........+.+.....+....+.....+.+.....+....+...+...+.....+.........+...+....+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+.+......+......+..+...+....+........+...+...+.+......+...+..+...............+....+...+......+..+...................+.....+.+..+.+...........+....+...........+.........+....+..+....+..+...+....+..+.+..+...+.......+..+......+...+.+...+.....+......+....+..+.........+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+......+....+.....+.......+........+.......+......+..+......+....+........+..........+...+...........+................+...+.....+......+...+.......+.....+.+...+..+....+...........+.......+..+.+...+..+...+....+..+......+.......+........+....+........+.......+..............+.+...........+.......+...+.........+..............+.......+..+...............+.+.........+......+..+...+.......+...+.....+.+........+......+.......+.........+.....+.........+....+..+.+.....+....+........+.+............+........+.+...+..+...+.+............+..+.+............+..................+..+.......+...+..+............+......+...+.......+.....+...+....+.....+.......+...............+...+..+.+..+................+............+..+......................+...+........+....+...+...........+......+...+.+..+...+............+....+..................+..+.............+...........+.+.........+..+..........+..+.+.....+.........+.+...........+...............+....+.....+....+..+..........+...+..+.............+.....+...+............+.......+.....+....+..+....+...........+....+.........+..+...+....+...+...+.........+.....+..................+.........+...+.+...........+......+...+......+.+........+............+.......+......+..+....+...+...........+.......+...+......+.....+...............+.........+......+.+........+.+.....+.+.....+............+.......+.....+......+.......+...+............+...........+.......+.........+...+...+..+.......+.....+.............+.....+............+....+............+..............+................+.....+....+.....+.........+....+..+.............+........+............................+..+.......+..+..........+.....+.........+...............+.......+...+............+..+.+......+...+..+...+.+......+.........+..+..........+...+...........+.+.......................+....+...+...+.....+.....................+....+............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.+......+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+..+............+.+..+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.1.0 - built Apr  9 2023 00:38:52
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

See http://kasmweb.com for information on KasmVNC.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Underlying X server release 12014000, The X.Org Foundation

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-abc'
Obt-Message: Xinerama extension is not present on the server
DunklerPhoenix commented 1 year ago

Hint: pulseaudio is not installed on ServerA nor B

EDIT: I tried to start calibre with the command from the autostart file (I don't know if this is correct):

root@f0be3e53ea5c:/lib/systemd/system# s6-envdir -fn -- /var/run/s6/container_environment /bin/bash -c 'umask ${UMASK:-022} && /usr/bin/calibre $CLI_ARGS'
qt.qpa.xcb: could not connect to display :1
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: wayland-egl, minimalegl, minimal, xcb, wayland, vnc, eglfs, linuxfb, offscreen, vkkhrdisplay.

Aborted (core dumped)
j0nnymoe commented 1 year ago

Just done some testing of the container across the platforms I have access to:

Synology: https://hastebin.com/share/iyebikavak.yaml QNAP: https://hastebin.com/share/umawixifem.yaml Zimaboard: https://hastebin.com/share/iseceyejuv.yaml

Note, I could only get the webui to show up on the HTTPs port across all platforms so that is likely a pebcak on my part.

thelamer commented 1 year ago

Consolidating this down to https://github.com/linuxserver/docker-calibre/issues/128 Please continue discussion there.