[GeoNode-users] Settings for migration scripts

Benjamin Ducke benducke at fastmail.fm
Thu Jul 7 23:53:45 PDT 2016


Dear All --

I am in the process of migrating a GeoNode 2.0
instance to GeoNode 2.4.

I am following the instructions here:
https://github.com/capooti/geonode/blob/migration_from20_to_24/scripts/migrations/migrate20to24/index.rst

... and I have downloaded the migration scripts
mentioned on the page above.

At the last step, "create_auth_group_and_update_res.py"
throws this error message:

django.core.exceptions.ImproperlyConfigured: In order to use
django-guardian's ObjectPermissionBackend authorization backend you have
to configure ANONYMOUS_USER_ID at your settings module

I assume that the problem is a wrong setting in the
"[path]" section of "gn_migration.cfg"

My current settings are:

 [path]
 geonode_path = /usr/local/lib/python2.7/dist-packages/geonode/
 settings_path = geonode.local_settings

What would be the correct settings for a GeoNode
installation on Ubuntu 14.04 using the official
packages?

Thanks and best,

Ben


More information about the geonode-users mailing list