[GeoNode-users] Geonode_updateip -p localhost hang on "Inspecting the available layers in GeoServer..." on "Update the settings in order to use the PostgreSQL Database" Documentation

Davide Marchi danjde at msw.it
Tue Sep 22 07:42:26 PDT 2020


Hi Devs,

running Tomcat8 and Java "1.8.0_265" (using the 1.11.0.x is the same), 
on Ubuntu 18.04, on the last step of "Update the settings in order to 
use the PostgreSQL Database" documentation: 
https://docs.geonode.org/en/master/install/advanced/core/index.html#update-the-settings-in-order-to-use-the-postgresql-database


changing from "geonode.settings" to "geonode.local_setting" -> 
/etc/uwsgi/apps-enabled/geonode.ini
and running:

sudo PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV 
DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/opt/geonode 
GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service 
tomcat" APACHE_SERVICE="service nginx" geonode_updateip -p localhost

the process hangs on:

"Inspecting the available layers in GeoServer..."


Here the geoserver log:

[..]
2020-09-22 14:11:53,234 WARN [platform.resource] - There is code leaving 
resource input streams open, locks around them might not be cleared! Add 
-Dgs.lock.trace=true to your JVM options to get a full stack trace of 
the code that acquired the input stream
2020-09-22 14:12:10,123 WARN [auth.GeoFenceAuthenticationProvider] - 
INIT FROM CONFIG


and from /usr/local/apache-tomcat8/logs/catalina.out:


log4j:WARN Are you using FileAppender instead of ConsoleAppender?
22-Sep-2020 14:11:45.409 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'MonitorDAO', but ApplicationContext is unset.
22-Sep-2020 14:11:45.410 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'ExtensionFilter', but ApplicationContext is unset.
22-Sep-2020 14:11:45.410 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'ExtensionProvider', but ApplicationContext is unset.
22-Sep-2020 14:11:45.410 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'ExtensionFilter', but ApplicationContext is unset.
22-Sep-2020 14:11:45.688 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'GeoServerSecurityProvider', but ApplicationContext is unset.
22-Sep-2020 14:11:45.688 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'ExtensionFilter', but ApplicationContext is unset.
22-Sep-2020 14:11:45.689 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'ExtensionProvider', but ApplicationContext is unset.
22-Sep-2020 14:11:45.689 WARNING [localhost-startStop-1] 
org.geoserver.platform.GeoServerExtensions.checkContext Extension lookup 
'ExtensionFilter', but ApplicationContext is unset.


Have you got any suggestion about?


Thanks!



Davide


More information about the geonode-users mailing list