[GeoNode-users] Issue with admin authentication
Annalisa Schiavon
annalisa.schiavon at gmail.com
Wed Jul 12 04:09:03 PDT 2017
I add that if I run this command:
$ curl http://localhost/api/users/admin
I get:
{"users": []}
The other cmd:
curl http://localhost/api/adminRole
curl http://localhost/api/users
curl http://localhost/api/roles
are ok.
I attach the last lines of geoserver.log
I've migrated from geonode 2.4 to geonode 2.6.
I've changed the geoserver data dir coping the original 2.9 and than
replacing these directories from my geoserver 2.7:
- data
- layergroups
- legendsamples
- styles
- workspace
Thanks for any reply
Annalisa
2017-07-12 12:48 GMT+02:00 Annalisa Schiavon <annalisa.schiavon at gmail.com>:
> Hi all.
> I've followed this doc because I had some problems with permissions on
> layers: http://docs.geonode.org/en/master/tutorials/admin/
> geoserver_geonode_security/index.html .
>
> My geonode superuser is "*geonode*", so I access Geoserver with geonode
> and setted geonode REST role service as Active role service in Security
> settings.
>
> After doing this, I can no more login in Geoserver with *admin* user.
> Unfortunately, I made a "updatelayer" with --remove-deleted option and
> this deleted all my layers from geonode. In geoserver there are all layers.
>
> I try to change back Security settings and set it to "default". Now if I
> make an updatelayers, geonode recreate my layers (but I have to restore my
> old backups because I lost all metadata and link with the maps).
>
> I hope that after restoring geonode DB and doing "geonode migrate
> --fake-initial" I'll return to my situation of yesterday.
> But how should I set Security settings?
>
> Thanks
> Annalisa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170712/e0a87363/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geoserver.log
Type: application/octet-stream
Size: 13641 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170712/e0a87363/attachment-0001.obj>
More information about the geonode-users
mailing list