[GeoNode-devel] Upgrading GeoNode: map permissions
pcorti at gmail.com
Fri Oct 25 11:08:02 PDT 2019
I don't think GeoServer is impacting here, as you said you have the
problem only with maps and that error is raised by Django.
Are you using the same Django database you were using in the other server?
On Fri, Oct 25, 2019 at 11:02 AM Paolo Pasquali
<paolo.pasquali at gmail.com> wrote:
> Ciao Paolo,
> Thanks for the reply.
> I've just tried with GeoExplorer and I'm getting the same error: Failed to load resource: the server responded with a status of 401 (Unauthorized)
> But the overlay appears.
> Do you have any clue why this happens?
> However this behaviour can be fixed by manually updating the permissions via the the UI. Is there a command to update (or better restore) all map permissions at once?
> On Thu, Oct 24, 2019 at 4:39 PM Paolo Corti <pcorti at gmail.com> wrote:
>> Hi Paolo
>> never seen this error. As a first check, did you try to test if maps
>> open using GeoExplorer?
>> On Wed, Oct 23, 2019 at 3:34 AM Paolo Pasquali <paolo.pasquali at gmail.com> wrote:
>> > Dear devs,
>> > I have an issue with map permissions after migrating.
>> > I have migrated my GeoNode 2.10.x (unstable with GeoExplorer) to another server upgrading to the latest stable version (with MapStore2).
>> > I have copied the workspaces, styles, uploaded and permissions folders from the old GeoServer data folder to the new one (after restoring the db). Then I've run some scripts such as updatemaplayerip, fix_baselayers, set_layer_permissions and sync_security_rules.
>> > All seems ok except for maps. I'm getting an error when I try to view a map:
>> > Failed to load resource: the server responded with a status of 401 (Unauthorized)
>> > at mydomain/security/permission/xx
>> > You are not allowed to change permissions for this resource
>> > Am I missing something?
>> > Thanks in advance for your help!
>> > Best,
>> > Paolo
>> > _______________________________________________
>> > geonode-devel mailing list
>> > geonode-devel at lists.osgeo.org
>> > https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> Paolo Corti
>> Geospatial software developer
>> web: http://www.paolocorti.net
>> twitter: @capooti
>> skype: capooti
Geospatial software developer
More information about the geonode-devel