GeoNode / geoserver-docker

Base image for geoserver in docker
89 stars 83 forks source link

Geoserver 2.19.2 #81

Open mdantonio opened 3 years ago

mdantonio commented 3 years ago

Hello, I was trying to use the latest geoserver stable version (2.19.2 if I'm not wrong) with docker, but found that the latest version available on docker hub is the 2.18.2.

Is there any plan to release an upgraded docker image?

Thank you for your support!

mdantonio commented 3 years ago

Hello, any updates? I see now a 2.19.x on dockerhub, is that the official 2.19 image to be used? This issue can be closed?

afabiani commented 3 years ago

I guess the image is available already

giuseppetrotta commented 3 years ago

Hi, I'm trying 2.19.x instead of 2.18.2, but I'm having some problems

I've simply pulled the new docker image (i.e. 2.19.x) then downloaded the latest data dir (data-2.18.3.zip) and finally I ran the container. The app started but on login the authentication fails because of the following wrong url http://geonode/geoserver/j_spring_security_check

This doesn't happen with 2.18.2 Tried to fix the proxyBaseUrl in the global.xml but after restarting the container the result is the same

any suggestions?

giohappy commented 3 years ago

I suppose you have to configure the OAUTH2 client id and secrets.

On Thu, Oct 7, 2021 at 3:31 PM Giuseppe Trotta @.***> wrote:

Hi, I'm trying 2.19.x instead of 2.18.2, but I'm having some problems

I've simply pulled the new docker image (i.e. 2.19.x) then downloaded the latest data dir (data-2.18.3.zip) and finally I ran the container. The app started but on login the authentication fails because of the following wrong url http://geonode/geoserver/j_spring_security_check

This doesn't happen with 2.18.2 Tried to fix the proxyBaseUrl in the global.xml but after restarting the container the result is the same

any suggestions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GeoNode/geoserver-docker/issues/81#issuecomment-937795416, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAELN6IW645S2BMMHT4NWX3UFWOJHANCNFSM5D74HJVQ .

giuseppetrotta commented 3 years ago

not sure I understand ... is oauth2 the default protocol with v2.19.x? I don't see any reference here https://github.com/GeoNode/geoserver-docker/tree/2.19.x can I ask you for a direct link please?

I suppose you have to configure the OAUTH2 client id and secrets.

giuseppetrotta commented 3 years ago

fixed my issue with login

for some reason (I don't know) restarting the container did not load the change to the global.xml. Inside the container stop/start tomcat worked and I was able to authenticate.

giohappy commented 3 years ago

so it probably was the proxyBaseUrl config (which is under global.xml). In any case, ye, Geoserver uses Oauth2 to authenticate with GeoNode. You can see the client is and secrets under the geonode-oauth2 authn filter configs

image