Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Secure your production deployment; change the admin passwords and OAUth2 keys" for "GeoNode Advanced Installation" #55

Open
danjde opened this issue Oct 10, 2020 · 0 comments

Comments

@danjde
Copy link

danjde commented Oct 10, 2020

Hi Devs,
In "GeoNode Advanced Installation" (Ubuntu 18.04) the part relating to "Secure your production deployment; change the admin passwords and OAUth2 keys" is missing.
The same is present, but it involves a totally different procedure, on "GeoNode Basic Installation".

It would take a little, a copy&paste followed by the specific commands to be executed after the web changes.

In a system created as per your documentation, we were able to complete the procedure, modifying the access data via web admin interface and then editing /usr/geonode/geonode/local_settings.py -> "GEOSERVER_ADMIN_PASSWORD":

and executing:

python manage.py collectstatic --no-input
sudo service uwsgi restart
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 -l localhost -p www.example.org

But we believe that you must be the one to validate this procedure, within the specific documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant