Calibre-Web Convert options/icons missing.. no convert seems possible

So the baseline Calibre web seems to be working ok… but even after adding the convert paths (ebooks convert), the tags are still missing…

When I launch it everything seems ok, except during the mod load, I see this at the end (when it adds in the Linux Mod):

2023-05-24 03:01:42.550431+00:00Setting up desktop integration…
2023-05-24 03:01:42.550474+00:002023-05-24T03:01:42.550474634Z
2023-05-24 03:01:42.550489+00:00____________________ WARNING ____________________
2023-05-24 03:01:42.550505+00:00Setting up desktop integration failed with error:
2023-05-24 03:01:42.550519+00:00__________________________________________________
2023-05-24 03:01:42.550549+00:002023-05-24T03:01:42.550549177Z
2023-05-24 03:01:42.550564+00:002023-05-24T03:01:42.550564951Z
2023-05-24 03:01:42.550713+00:00Traceback (most recent call last):
2023-05-24 03:01:42.550773+00:00File “calibre/linux.py”, line 858, in setup_desktop_integration
2023-05-24 03:01:42.550792+00:00File “calibre/linux.py”, line 880, in do_setup_desktop_integration
2023-05-24 03:01:42.550843+00:00File “calibre/linux.py”, line 911, in install_xdg_junk
2023-05-24 03:01:42.550859+00:00File “calibre/linux.py”, line 896, in install_icons
2023-05-24 03:01:42.550874+00:00File “calibre/linux.py”, line 890, in install_single_icon
2023-05-24 03:01:42.550904+00:00File “subprocess.py”, line 364, in check_call
2023-05-24 03:01:42.550920+00:00File “subprocess.py”, line 345, in call
2023-05-24 03:01:42.550935+00:00File “subprocess.py”, line 966, in init
2023-05-24 03:01:42.550950+00:00File “subprocess.py”, line 1842, in _execute_child
2023-05-24 03:01:42.550978+00:00FileNotFoundError: [Errno 2] No such file or directory: ‘xdg-icon-resource’
2023-05-24 03:01:42.550994+00:002023-05-24T03:01:42.550994986Z
2023-05-24 03:01:42.551009+00:00Creating un-installer: /usr/bin/calibre-uninstall
2023-05-24 03:01:42.551023+00:002023-05-24T03:01:42.551023927Z
2023-05-24 03:01:42.551037+00:002023-05-24T03:01:42.551037757Z
2023-05-24 03:01:42.551051+00:00There were 1 warnings
2023-05-24 03:01:42.551079+00:002023-05-24T03:01:42.551079540Z
2023-05-24 03:01:42.551095+00:00* Setting up desktop integration failed with error:
2023-05-24 03:01:42.551109+00:002023-05-24T03:01:42.551109447Z
2023-05-24 03:01:42.670038+00:00[custom-init] No custom files found, skipping…
2023-05-24 03:01:45.718839+00:00[ls.io-init] done.

I have tried just about everything… I Don’t see any errors or failures in the regular logs, but the convert options are simply not present for any files).

Also is there a way to have multiple conversion choices… like convert to EPUB, AWZ, and MOBI (when those don’t currently exist)?

I have the same error with mod.

Share your compose and full container logs. Also the output of uname -mr && docker version

Here also the same issue with my Installation on my Openmediavault Server.
Happen with nightly and latest build.

Ouput of “uname -mr && docker version”

6.1.0-0.deb11.7-amd64 x86_64
Client: Docker Engine - Community
 Version:           24.0.2
 API version:       1.43
 Go version:        go1.20.4
 Git commit:        cb74dfc
 Built:             Thu May 25 21:52:17 2023
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.2
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.4
  Git commit:       659604f
  Built:            Thu May 25 21:52:17 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Compose:

version: "2.1"
services:
  calibre-web:
    image: lscr.io/linuxserver/calibre-web:latest
    container_name: calibre-web
    network_mode: stack_nextcloud_default
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Europe/Berlin
      - DOCKER_MODS=linuxserver/mods:universal-calibre
    volumes:
      - /media/Disk_5/appdata/calibre/config:/config
      - /media/Disk_5/appdata/calibre/books:/books
    ports:
      - 8083:8083
    restart: unless-stopped

Log (was cut off automatically, maybe this part is enough):

Setting up libedit2:amd64 (3.1-20210910-1build1) ...
Setting up libsensors-config (1:3.6.0-7ubuntu1) ...
Setting up xkb-data (2.33-1) ...
Setting up libxcb-shm0:amd64 (1.14-3ubuntu3) ...
Setting up libopengl0:amd64 (1.4.0-1) ...
Setting up libxxf86vm1:amd64 (1:1.1.4-1build3) ...
Setting up libxcb-present0:amd64 (1.14-3ubuntu3) ...
Setting up libxfixes3:amd64 (1:6.0.0-1) ...
Setting up libxcb-sync1:amd64 (1.14-3ubuntu3) ...
Setting up xz-utils (5.2.5-2ubuntu1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
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
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
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
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
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
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
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
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
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
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
Setting up libsensors5:amd64 (1:3.6.0-7ubuntu1) ...
Setting up libglapi-mesa:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libxcb-dri2-0:amd64 (1.14-3ubuntu3) ...
Setting up libxshmfence1:amd64 (1.3-1build4) ...
Setting up libllvm15:amd64 (1:15.0.7-0ubuntu0.22.04.1) ...
Setting up libdrm-common (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libelf1:amd64 (0.186-1build1) ...
Setting up libxkbcommon0:amd64 (1.4.0-1) ...
Setting up libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ...
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 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libdrm-radeon1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libgl1-mesa-dri:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libegl-mesa0:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libegl1:amd64 (1.4.0-1) ...
Setting up libglx-mesa0:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libglx0:amd64 (1.4.0-1) ...
Setting up libgl1:amd64 (1.4.0-1) ...
Setting up libgl1-mesa-glx:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
**** Installing/updating calibre ****
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  6  130M    6 8143k    0     0  5854k      0  0:00:22  0:00:01  0:00:21 8160k
 15  130M   15 19.7M    0     0  8458k      0  0:00:15  0:00:02  0:00:13  9.8M
 23  130M   23 31.3M    0     0  9460k      0  0:00:14  0:00:03  0:00:11 10.4M
 33  130M   33 43.8M    0     0   9.9M      0  0:00:13  0:00:04  0:00:09 10.9M
 41  130M   41 55.0M    0     0  10.2M      0  0:00:12  0:00:05  0:00:07 11.0M
 49  130M   49 64.2M    0     0  10.0M      0  0:00:13  0:00:06  0:00:07 11.2M
 57  130M   57 74.9M    0     0  10.1M      0  0:00:12  0:00:07  0:00:05 11.0M
 65  130M   65 85.5M    0     0  10.1M      0  0:00:12  0:00:08  0:00:04 10.8M
 72  130M   72 95.4M    0     0  10.1M      0  0:00:12  0:00:09  0:00:03 10.3M
 80  130M   80  104M    0     0  10.0M      0  0:00:12  0:00:10  0:00:02  9.9M
 87  130M   87  114M    0     0  10.0M      0  0:00:13  0:00:11  0:00:02 10.1M
 94  130M   94  123M    0     0   9.9M      0  0:00:13  0:00:12  0:00:01 9998k
100  130M  100  130M    0     0  10.0M      0  0:00:13  0:00:13 --:--:-- 9913k
Creating symlinks...
	Symlinking /app/calibre/ebook-device to /usr/bin/ebook-device
	Symlinking /app/calibre/ebook-meta to /usr/bin/ebook-meta
	Symlinking /app/calibre/ebook-convert to /usr/bin/ebook-convert
	Symlinking /app/calibre/ebook-polish to /usr/bin/ebook-polish
	Symlinking /app/calibre/markdown-calibre to /usr/bin/markdown-calibre
	Symlinking /app/calibre/web2disk to /usr/bin/web2disk
	Symlinking /app/calibre/calibre-server to /usr/bin/calibre-server
	Symlinking /app/calibre/lrf2lrs to /usr/bin/lrf2lrs
	Symlinking /app/calibre/lrs2lrf to /usr/bin/lrs2lrf
	Symlinking /app/calibre/calibre-debug to /usr/bin/calibre-debug
	Symlinking /app/calibre/calibredb to /usr/bin/calibredb
	Symlinking /app/calibre/calibre-parallel to /usr/bin/calibre-parallel
	Symlinking /app/calibre/calibre-customize to /usr/bin/calibre-customize
	Symlinking /app/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
	Symlinking /app/calibre/calibre-smtp to /usr/bin/calibre-smtp
	Symlinking /app/calibre/calibre to /usr/bin/calibre
	Symlinking /app/calibre/lrfviewer to /usr/bin/lrfviewer
	Symlinking /app/calibre/ebook-viewer to /usr/bin/ebook-viewer
	Symlinking /app/calibre/ebook-edit to /usr/bin/ebook-edit
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Failed to find directory to install bash completions, using default.
Installing bash completion to: /usr/share/bash-completion/completions/
Setting up desktop integration...
____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "calibre/linux.py", line 858, in setup_desktop_integration
	  File "calibre/linux.py", line 880, in do_setup_desktop_integration
	  File "calibre/linux.py", line 911, in install_xdg_junk
	  File "calibre/linux.py", line 896, in install_icons
	  File "calibre/linux.py", line 890, in install_single_icon
	  File "subprocess.py", line 364, in check_call
	  File "subprocess.py", line 345, in call
	  File "subprocess.py", line 966, in __init__
	  File "subprocess.py", line 1842, in _execute_child
	FileNotFoundError: [Errno 2] No such file or directory: 'xdg-icon-resource'
Creating un-installer: /usr/bin/calibre-uninstall
There were 1 warnings
* Setting up desktop integration failed with error:
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Also an open issue in Github:

Unfortunately, as stated in the GHI you jumped into, we do not support deploying containers with portainer. If you are able to recreate the issue using docker run or PURE docker compose (not compose inside portainer) update the thread and we can attempt to recreate. Also, when your logs are different from someone else’s, you do not have the “exact same issue” :slight_smile:

Sorry, so i have not the exact same issue as GHI User, but it should be the same as op here i would think :smile:

I did not use Portainer anymore. Just used the “plain” Composer" and started from scratch with my calibre installation (only took over my config and books) as far i understand.

Affected (same) error, i found also in other 2 Postings:

Setting up desktop integration...
____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________
	Traceback (most recent call last):
	  File "calibre/linux.py", line 858, in setup_desktop_integration
	  File "calibre/linux.py", line 880, in do_setup_desktop_integration
	  File "calibre/linux.py", line 911, in install_xdg_junk
	  File "calibre/linux.py", line 896, in install_icons
	  File "calibre/linux.py", line 890, in install_single_icon
	  File "subprocess.py", line 364, in check_call
	  File "subprocess.py", line 345, in call
	  File "subprocess.py", line 966, in __init__
	  File "subprocess.py", line 1842, in _execute_child
	FileNotFoundError: [Errno 2] No such file or directory: 'xdg-icon-resource'
Creating un-installer: /usr/bin/calibre-uninstall
There were 1 warnings
* Setting up desktop integration failed with error:
[custom-init] No custom files found, skipping...

Sorry for confusion

We need you to clearly describe what you think your issue is. Are you referring to the logged items Setting up desktop integration failed with error:? If so, that is not an issue as there is no desktop environment here that calibre can integrate with, nor does it need to. You can ignore those log messages.

If there is any other issue, you need to let us know explicitly.

Ok, so i would agree with you, i don’t have a problem at all it seems.

I was talking about the Desktop Integration messages. I did not notice this messages in the past, so i wondered about it.

Is there a way to disable the Desktop Integration Feature?

Thanks for clarifying this.

it is disabled, that’s what the warning tells you.

Okay, the messages sounds more like a error to me, then a message about it is disabled :grimacing:

Thanks for your patience

It’s misleading because it uses both terms, but it’s a warning as noted by the header of the section. There is no problem, nothing to do. That said, if it pains you to see it, we welcome PRs if you can come up with a way to completely eliminate that section without impacting anything else!