diff --git a/install/advanced/core/index.rst b/install/advanced/core/index.rst index 4a4e118d..7844e30d 100644 --- a/install/advanced/core/index.rst +++ b/install/advanced/core/index.rst @@ -1006,7 +1006,7 @@ In particular the steps to do are: cd /opt/geonode # Update the GeoNode ip or hostname - PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.local_settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -l localhost -p www.example.org + PYTHONWARNINGS=ignore VIRTUAL_ENV=$VIRTUAL_ENV DJANGO_SETTINGS_MODULE=geonode.settings GEONODE_ETC=/opt/geonode/geonode GEOSERVER_DATA_DIR=/opt/data/geoserver_data TOMCAT_SERVICE="service tomcat9" APACHE_SERVICE="service nginx" geonode_updateip -l localhost -p www.example.org exit @@ -1022,14 +1022,14 @@ In particular the steps to do are: # Add these to make available. Change user, password and server information to yours export DATABASE_URL='postgresql://:@localhost:5432/geonode' - #Close virtual environmetn and aopen it again to update variables + # Close virtual environment and aopen it again to update variables deactivate workon geonode cd /opt/geonode # Update the GeoNode ip or hostname - DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://www.example.org + DJANGO_SETTINGS_MODULE=geonode.settings python manage.py migrate_baseurl --source-address=http://localhost --target-address=http://www.example.org .. note:: If at the end you get a "bad gateway" error when accessing your geonode site, check uwsgi log with ``sudo tail -f /var/log/geonode.log`` and if theres is an error related with port 5432 check the listening configuration from the postgresql server and allow the incoming traffic from geonode.