GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.42k stars 1.11k forks source link

Can't read datas in Geonode #12127

Open ci-ana opened 3 months ago

ci-ana commented 3 months ago

Hello everybody, I have installed Geonode with docker. It works fine but there is a problem with geoserver. It's like Geonode can't read (or write) datas stored in geoserver.

Expected Behavior

Read, edit datas

Actual Behavior

cannot read or edit datas image image It's like Geonode doesn't have rights to read or write data stored in geoserver, but I can download the data and if I connect Geoserver in QGIS, it works.

Steps to Reproduce the Problem

I think the problem is in the .env file but I can't find the solution Part of my .env file for geoserver: GEOSERVER_WEB_UI_LOCATION=MYIP/geoserver/ GEOSERVER_PUBLIC_LOCATION=MYIP/geoserver/ GEOSERVER_LOCATION=http://geoserver:8080/geoserver/ PROXY_BASE_URL="" GEOSERVER_ADMIN_USER=secret GEOSERVER_ADMIN_PASSWORD=secret

Specifications

Thanks in advance !

ffischer1984 commented 3 months ago

do you use the docker-compose file? In case of no: an nginx is mandatory and the nginx has to know the ipadresses from the django-container, the geoserver, rabbit-mq and celery container otherwise it will not work.

ci-ana commented 3 months ago

yes I use th docker-compose file.

ffischer1984 commented 3 months ago

Have you changed sth in the .env files? Check if the geoserver has changed the admin password - I know that sometimes this does change then you have to do it manually

ci-ana commented 3 months ago

I changed the ip adresses and the add the line : PROXY_BASE_URL="" in the geoserver section

and I have the good admin password in the env file