geonode-project icon indicating copy to clipboard operation
geonode-project copied to clipboard

Geonode migrates to another server with a different domain.

Open techworldthink opened this issue 2 years ago • 4 comments

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?

techworldthink avatar Jul 25 '23 08:07 techworldthink

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

t-book avatar Jul 25 '23 08:07 t-book

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 avatar Jul 25 '23 09:07 techworldthink

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 avatar Jul 29 '23 08:07 techworldthink

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

How to reset and initialize monitoring app data?

techworldthink avatar Jul 29 '23 09:07 techworldthink