Skip to content

4.0.0 with env based setup fails to start #1046

@jinnatar

Description

@jinnatar

shlink-web-client version

4.0.0

How do you use shlink-web-client

Docker image

Current behavior

docker run --rm -it -e SHLINK_SERVER_URL="https://go.example.com" -e SHLINK_SERVER_API_KEY=foo shlinkio/shlink-web-client:4.0.0
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: can not modify /etc/nginx/conf.d/default.conf (read-only file system?)
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-shlink-servers-json.sh
/docker-entrypoint.d/30-shlink-servers-json.sh: line 11: can't create /usr/share/nginx/html/servers.json: Permission denied

Expected behavior

Start, like versions prior to 4.0.0 did with the same config.

How to reproduce

docker run --rm -it -e SHLINK_SERVER_URL="https://go.example.com" -e SHLINK_SERVER_API_KEY=foo shlinkio/shlink-web-client:4.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions