upgrade new install on 22.04 version 2.22.2 with existing data fails. #510
Replies: 3 comments 4 replies
-
It sounds like they are some issues with the geoserver data dir. Please check what permissions are for the geoserver_data dir.
or alternatively, mount the user to inherit local folder perms in the container with https://github.com/kartoza/docker-geoserver/blob/develop/scripts/entrypoint.sh#L8 |
Beta Was this translation helpful? Give feedback.
-
docker run --mount type=bind,src=/etc/hosts,target=/etc/hosts,src=/geoserver/data_dir,target=/opt/geoserver/data_dir -e USER=ubuntu -e GROUP_NAME=ubuntu -e GEOSERVER_UID=1000 -e GEOSERVER_GID=1000 -e GEOSERVER_ADMIN_USER=kartoza -e GEOSERVER_ADMIN_PASSWORD=myawesomegeoserver --restart always --log-opt max-size=2048m --name "phano_geoserver" -it -p 0.0.0.0:80:8080 -p 0.0.0.0:38080:8080 phano/geoserver:2.22.2 My local mount on the host /geoserver* belongs to ubuntu.ubuntu (uid & gid 1000) ... Getting the same error |
Beta Was this translation helpful? Give feedback.
-
Please try with the latest image and if issue doesn't exists please close |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I would like some help or guidance on standing up the latest version.
I tried various approaches but always getting the same error I don't understand.
Pulled 2.22.2 (kartoza)
Command:
Starts with error (see blelow)
Jump into the container:
So this folder HAS the right content it should...
Always getting same error:
Beta Was this translation helpful? Give feedback.
All reactions