Closed peterNordin closed 2 years ago
This is a bug I've noted and have a fix for in gclient
I don't use the SUBFOLDER but it still does not auto-start in my case. compose
version: "2.1"
services:
calibre:
image: linuxserver/calibre
container_name: calibre
environment:
- PUID=1026
- PGID=100
- UMASK_SET=002 #optional
volumes:
- /volume1/Files/Books:/Files/Books
- /volume1/docker/Calibre:/config
ports:
- 9070:8080
- 9071:8081
restart: unless-stopped
If you're not using subfolder, auto start should work. Please open a new issue and fill out the template.
With regards to subfolder related issue, we'll get it fixed but the gclient maintainer is currently unavailable. When he's back we'll merge the necessary fixes.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
this is fixed in the latest web desktop base images
Expected Behavior
Calibre and the content server (if activated) should auto start also when SUBFOLDER is used
Current Behavior
Calibre is not started automatically with the container when I have set the SUBFOLDER environment variable.
In my case SUBFOLDER=/calibreui/ It does start when I manually visit, in my case
http://mydocker.host:8080/calibreui
in my web browser.The problem seems to be that in the file
/etc/services.d/autostart/run
the linewebsocat -q -n ws://localhost:${CUSTOM_PORT:=3000}/guaclite?token=${TOKEN}
does not take into account SUBFOLDERChanging the line to
websocat -q -n ws://localhost:${CUSTOM_PORT:=3000}${SUBFOLDER}guaclite?token=${TOKEN}
helped in my case, but of course those changes will be lost whenever the container is updated. And I realize that SUBFOLDER is technically not part of the rdesktop-web base image where this file comes from.Steps to Reproduce
Environment
OS: Ubuntu 20.04 CPU architecture: x86_64 How docker service was installed: From official Ubuntu repository
Command used to create docker container (run/create/compose/screenshot)
Docker logs
After that last message the websocat call never returns