[ https://issues.apache.org/jira/browse/GUACAMOLE-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Jumper closed GUACAMOLE-1751. ---------------------------------- Resolution: Duplicate > Container fails to start when LOGBACK_LEVEL environment variable is set > ----------------------------------------------------------------------- > > Key: GUACAMOLE-1751 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1751 > Project: Guacamole > Issue Type: Bug > Components: guacamole-docker > Affects Versions: 1.5.0 > Environment: x86 CentOS Stream 8 with Docker version 20.10.13, build > a224086 > Reporter: Jans Rautenbach > Priority: Minor > > h2. Symptom > When starting up the docker image `guacamole/guacamole:latest`, with the > environment variable `LOGBACK_LEVEL` set to anything, the container fails to > start. The container logs only show the following line: > {{/opt/guacamole/bin/start.sh: 1169: unzip: not found}} > h2. Preliminary Investigation > This is the code around the aforementioned line above: > {{if [ -n "$LOGBACK_LEVEL" ]; then}} > {{ unzip -o -j /opt/guacamole/guacamole.war WEB-INF/classes/logback.xml -d > $GUACAMOLE_HOME}} > {{ sed -i "s/level=\"info\"/level=\"$LOGBACK_LEVEL\"/" > $GUACAMOLE_HOME/logback.xml}} > {{fi}} > The code only executes if the `LOGBACK_LEVEL` environment variable is set, > and then the unzip command fails, likely because it is not installed in the > image. > h2. Proposed solution > Install the unzip program by adding it to the relevant Dockerfile. -- This message was sent by Atlassian Jira (v8.20.10#820010)