-
shlink-web-client version4.0.1 How do you use shlink-web-clientDocker image Current behaviorWhen I updated to version 4.0.1 I recieved the error:
Then I change to image: shlinkio/shlink-web-client:4.0.0 and work again. Expected behaviorStart normally. How to reproduceOnly update to version 4.0.1. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Can you provide some reproducible steps? |
Beta Was this translation helpful? Give feedback.
-
I use this docker-compose.yaml. And after this update I need to change the image: shlinkio/shlink-web-client:latest to image: shlinkio/shlink-web-client:4.0.0. How cant I get more infos or logs to help?
|
Beta Was this translation helpful? Give feedback.
-
This can only be reproduced if the Since it doesn't make sense to mount that file if it doesn't exist, as shlink-web-client does not generate servers there, simply drop the the volume and it will work. Also, with v4.x, the port exposed by the container is 8080, not 80. version: "3"
services:
shlink:
image: shlinkio/shlink:latest
restart: unless-stopped
container_name: shlink-backend
environment:
- TZ="America/Sao_Paulo"
- DEFAULT_DOMAIN=links.lfac.net.br
- IS_HTTPS_ENABLED=true
- GEOLITE_LICENSE_KEY=${GEO}
- DB_DRIVER=maria
- DB_USER=shlink
- DB_NAME=shlink
- DB_PASSWORD=${DB_PASS}
- DB_HOST=database
depends_on:
- database
ports:
- 8084:8080
database:
image: mariadb:10.8
restart: unless-stopped
container_name: shlink-database
environment:
- MARIADB_ROOT_PASSWORD=${DB_PASS}
- MARIADB_DATABASE=shlink
- MARIADB_USER=shlink
- MARIADB_PASSWORD=${DB_PASS}
volumes:
- /home/ubuntu/dockge/stacks/shlink/data:/var/lib/mysql
shlink-web-client:
image: shlinkio/shlink-web-client:latest
restart: unless-stopped
container_name: shlink-gui
- volumes:
- - /home/ubuntu/dockge/stacks/shlink/servers.json:/usr/share/nginx/html/servers.json
depends_on:
- shlink
ports:
- - 8083:80
+ - 8083:8080
networks: {} |
Beta Was this translation helpful? Give feedback.
This can only be reproduced if the
/home/ubuntu/dockge/stacks/shlink/servers.json
file does not exist in the local machine.Since it doesn't make sense to mount that file if it doesn't exist, as shlink-web-client does not generate servers there, simply drop the the volume and it will work.
Also, with v4.x, the port exposed by the container is 8080, not 80.