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

Geonode migrates to another server with a different domain. #456

Open
techworldthink opened this issue Jul 25, 2023 · 4 comments
Open

Geonode migrates to another server with a different domain. #456

techworldthink opened this issue Jul 25, 2023 · 4 comments

Comments

@techworldthink
Copy link

I would like to migrate a Geonode instance I have installed using Docker on a server named "abc.com" to another server instance named "bcd.com". How can I achieve this?

I tried to backup and restore the database. But in the Geonode database tables, in many fields, it stores the old domain name. So, is there any better idea?

@t-book
Copy link
Contributor

t-book commented Jul 25, 2023

see: https://docs.geonode.org/en/master/admin/mgmt_commands/index.html

@techworldthink
Copy link
Author

see: https://docs.geonode.org/en/master/admin/mgmt_commands/index.html

I got an error when i tried to execute this command: "DJANGO_SETTINGS_MODULE=geonode.settings python manage.py sync_geonode_datasets --updatepermissions --updateattributes"

Error : 

geonode.geoserver.geofence.GeofenceException: Could not retrieve GeoFence Rules: [401]

@techworldthink
Copy link
Author

see: https://docs.geonode.org/en/master/admin/mgmt_commands/index.html

I got an error when i tried to execute this command: "DJANGO_SETTINGS_MODULE=geonode.settings python manage.py sync_geonode_datasets --updatepermissions --updateattributes"

Error : 

geonode.geoserver.geofence.GeofenceException: Could not retrieve GeoFence Rules: [401]

The problem is resolved by updating the GeoServer admin password with the password from the .env file.

@techworldthink
Copy link
Author

see: https://docs.geonode.org/en/master/admin/mgmt_commands/index.html

How to reset and initialize monitoring app data?

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

2 participants