[GeoNode-users] Need help with errors

Nasir Rashid nasirgemini at gmail.com
Mon Sep 13 03:59:07 PDT 2021


Hello everyone, i have multiple issue on geonode 3.1, installed with docker
method, any help is highly appreciated.

*Issue 1:*

i'm trying to update geonode 3.1 installed through docker, but when i dot *git
pull* it gives me the error
Your configuration specifies to merge with the ref 'refs/heads/3.x' from
the remote, but no such ref was fetched.

*Issue 2: *

When i try to Test Connection on GeoFence Admin Page it give following
error:

org.springframework.transaction.CannotCreateTransactionException: Could not
open JPA EntityManager for transaction; nested exception is
javax.persistence.PersistenceException:
org.hibernate.exception.GenericJDBCException: Cannot open connection

*Issue 3: *

i'm getting "Error updating permissions"
when edit layer permissions from GUI, Geonode 3.1.0, i have installed it
using docker method 6 months ago and it was running fine till now.

Another weird thing is my .env is not being followed, except for the
geoserver urls. It only contain

COMPOSE_PROJECT_NAME=geonode
SET_DOCKER_ENV=production
GEOSERVER_WEB_UI_LOCATION=http://domain.com/geoserver/
GEOSERVER_PUBLIC_LOCATION=http://domain.com/geoserver/
GEOSERVER_LOCATION=http://domain.com/geoserver/

Also output of

cat scripts/docker/env/production/geoserver.env | grep GEOSERVER & cat
scripts/docker/env/production/django.env | grep GEOSERVER

is

[1] 5743
GEOSERVER_JAVA_OPTS=-Djava.awt.headless=true -Xms2G -Xmx4G
-XX:PerfDataSamplingInterval=500 -XX:SoftRefLRUPolicyMSPerMB=36000
-XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
-XX:ParallelGCThreads=4 -Dfile.encoding=UTF8
-Djavax.servlet.request.encoding=UTF-8
-Djavax.servlet.response.encoding=UTF-8 -Duser.timezone=GMT
-Dorg.geotools.shapefile.datetime=false -DGEOSERVER_CSRF_DISABLED=true
-DPRINT_BASE_URL=http://geoserver:8080/geoserver/pdf
GEOSERVER_JAVA_OPTS=-Djava.awt.headless=true -Xms2G -Xmx4G
-XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput
-XX:LogFile=/var/log/jvm.log -XX:PerfDataSamplingInterval=500
-XX:SoftRefLRUPolicyMSPerMB=36000 -XX:-UseGCOverheadLimit
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4
-Dfile.encoding=UTF8 -Djavax.servlet.request.encoding=UTF-8
-Djavax.servlet.response.encoding=UTF-8 -Duser.timezone=GMT
-Dorg.geotools.shapefile.datetime=false -DGEOSERVER_CSRF_DISABLED=true
-DPRINT_BASE_URL=http://geoserver:8080/geoserver/pdf
-DALLOW_ENV_PARAMETRIZATION=true
-Xbootclasspath/a:/usr/local/tomcat/webapps/geoserver/WEB-INF/lib/marlin-0.9.3-Unsafe.jar
-Dsun.java2d.renderer=org.marlin.pisces.MarlinRenderingEngine
GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/
GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
GEOSERVER_LOCATION=http://geoserver:8080/geoserver/
GEOSERVER_ADMIN_USER=admin
GEOSERVER_ADMIN_PASSWORD=geoserver
GEOSERVER_ADMIN_PASSWORD=admin

[1]+ Done cat scripts/docker/env/production/geoserver.env | grep
--color=auto GEOSERVER

-- 
*Kind Regards,*

*Nasir Rashid*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210913/f1542c37/attachment.html>


More information about the geonode-users mailing list