[GeoNode-users] Settings for migration scripts

Simone Dalmasso simone.dalmasso at gmail.com
Fri Jul 8 00:08:52 PDT 2016


Hi, you can add this to your settings
https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L406

2016-07-08 8:53 GMT+02:00 Benjamin Ducke <benducke at fastmail.fm>:

> 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
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160708/32248ea4/attachment.html>


More information about the geonode-users mailing list