Error using docker image "enonic/xp:7.10.0-ubuntu" with setenv.sh

Enonic version: 7.10.0
OS: Docker image: enonic/xp:7.10.0-ubuntu

I’m having an issue when upgrading using the docker-image (previous version was from 7.9.2).

When I’m starting the container I’m just getting this in the log:

enonic_1   | Found custom setenv.sh file in XP_HOME folder, copying it into runtime...
enonic_1   | rm: cannot remove '/enonic-xp/bin/setenv.sh': No such file or directory

This is my Docker-compose:

version: '3'

services:
  enonic:
    image: enonic/xp:7.10.0-ubuntu
    restart: unless-stopped
    expose:
      - "8080"
    volumes:
      - "/home/ubuntu/.enonic/sandboxes/item.no/home:/enonic-xp/home"

And the file /home/ubuntu/.enonic/sandboxes/item.no/home/setenv.sh exists in my file system. And if I remove it, the container starts normally.

– Tom Arild

1 Like

yes there is a small issue with entrypoint https://github.com/enonic/docker-xp7/blob/7.10/bin/docker-entrypoint.sh#L39
Will be fixed in the next release

1 Like

Hi @tom,

We released a new version of the Docker image for XP 7.10 called 7.10.0-ubuntu-hotfix. Let us know if it works for you.

docker pull enonic/xp:7.10.0-ubuntu-hotfix

I’ll have a try when I’m back from vacation :blush: