GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
79 stars 173 forks source link

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

Open techworldthink opened 1 year ago

techworldthink commented 1 year ago

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 commented 1 year ago

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

techworldthink commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

How to reset and initialize monitoring app data?