GFDRR / geonode

GFDRR Lab GeoNode
https://www.geonode-gfdrrlab.org
GNU General Public License v3.0
2 stars 3 forks source link

Cannot create new layer #15

Closed fvanderbiest closed 7 years ago

fvanderbiest commented 7 years ago

On http://54.229.171.111/layers/upload

capture du 2017-03-31 16-28-21

Looks like geonode is not authorized to push data into geoserver using the rest API.

Current security/rest.properties config is:

/rest/process/batchdownload/download/*;GET=IS_AUTHENTICATED_ANONYMOUSLY         
/rest/printing/*;GET,POST=IS_AUTHENTICATED_ANONYMOUSLY                          
/**;GET=ADMIN                                                                   
/**;POST,DELETE,PUT=ADMIN
fvanderbiest commented 7 years ago

For some reason GeoNode does not use it's settings file, in which the credentials for the geoserver admin user are stored. Still investigating.

stufraser1 commented 7 years ago

@fvanderbiest has there been any progress or resolution of this issue?

@ErikKBethke please keep an eye on this issue, to know whether you can upload new files next week

fvanderbiest commented 7 years ago

has there been any progress or resolution of this issue?

I've been able to overcome this, but hit a second issue with geoserver still denying access to the REST API.

fvanderbiest commented 7 years ago

I think we fixed the issue, at last ! The geoserver datadir missed some migration ... Sorry for the delay.

stufraser1 commented 7 years ago

Excellent. @ErikKBethke can you please upload / replace some layers on the new geonode to confirm this works form our side.

fvanderbiest commented 7 years ago

We still have an issue uploading new layers: thumbnails are not generated. We're working on it. In addition, layer + map removal is broken at the moment.

vdeparday commented 7 years ago

This has been a recurring issue in some installations, there should be some resources on the mailing or in the docs to solve it.

On Tue, Apr 11, 2017 at 9:58 AM, François Van Der Biest < notifications@github.com> wrote:

We still have an issue uploading new layers: thumbnails are not generated. We're working on it.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GFDRR/geonode/issues/15#issuecomment-293271640, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_PnXnq6w3OqTNDlXC7jJQ0WNUvFrk9ks5ru4b5gaJpZM4Mvvnb .

fvanderbiest commented 7 years ago

This has been a recurring issue in some installations, there should be some resources on the mailing or in the docs to solve it.

We think the issue is rather linked with the way the app is containerized with docker. Background tasks handled by the internal Celery app are not working. We're trying to understand how it works to fix it.

fvanderbiest commented 7 years ago

Not relevant anymore