[GeoNode-users] [Geoserver-users] data dir migration from 2.7.x to 2.10.x

Eugenio Trumpy frippe12573 at hotmail.com
Mon Apr 3 02:43:07 PDT 2017


Just tried, but on click 'GeoFence Data Rules' I got:


https://paste.ubuntu.com/24305737/


Do you think it is feasible to let geoserver 2.10 runs for geonode 2.4?

Do you suggest me to come back to geoserver 2.9?


E.


________________________________
Da: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
Inviato: lunedì 3 aprile 2017 11.14
A: Eugenio Trumpy
Cc: geonode-users at lists.osgeo.org
Oggetto: Re: [Geoserver-users] data dir migration from 2.7.x to 2.10.x

Hello Eugenio,
pay attention, GeoServer 2.10.x version works against the new OAuth2 authentication.

However, try to enter on geoserver ui with the internal geoserver administrator (from the form insert admin / ****), go to geofence rules and add (if not exists) a new one with all defaults (ALLOW anything to all).

Best Regards,
Alessio Fabiani.

==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
GeoSolutions Enterprise Services<http://goo.gl/it488V>
goo.gl
GeoSolutions offers enterprise support services to help you building enterprise-class Spatial Data Infrastructures leveraging on best-of-breed Open Source


==

Ing. Alessio Fabiani
@alfa7691
github<https://github.com/afabiani?tab=overview>
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it<http://www.geo-solutions.it/>
http://twitter.com/geosolutions_it

-------------------------------------------------------


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

---------------------------------------------------------------------

On Mon, Apr 3, 2017 at 10:42 AM, Eugenio Trumpy <frippe12573 at hotmail.com<mailto:frippe12573 at hotmail.com>> wrote:

Hi Alessio,


I needed to update again the geonode geoserver.

I started from your suggestion wrote on the email below, so I downloaded geoserver 2.10 (instead 2.9 you pointed).

I thought were same procedure update from 2.7.x to 2.9.x but probably I'm wrong. I'm having some authentication problems,

here the log output:


https://paste.ubuntu.com/24305552/


for what I understood the main issues are:

2017-04-03 10:15:26,481 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes

2017-04-03 10:16:50,156 WARN [geofence.internal] - GeoFence was not able to find any matching user on Security Context amd Services.

2017-04-03 10:16:50,218 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Could not find layer geonode:hypo_density_clipped
... and others related to other layers


I would remember that I'm working with a geosites configuration, which needs to leave blank the <baseUrl> in config.xml of auth/geonodeAuthProvider

What am I missing?

cheers

Eugenio

________________________________
Da: Eugenio Trumpy <frippe12573 at hotmail.com<mailto:frippe12573 at hotmail.com>>
Inviato: giovedì 2 marzo 2017 14.46
A: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Oggetto: I: [Geoserver-users] data dir migration from 2.7.x to 2.9.x


I checked the contents of the security directories/files between those you suggested in data-2.9.zip and those I had in my 2.7 data dir.

I just insert the right baseurl in the geonodeAuthProvider/config.xml and it works.


Now I have geonode 2.4 stable with geonode 2.9-snapshot.

I can confirm that layers that had the border (due to tne reprojection on the fly) are well represented!!


So changing the geoserver version solved the issue.

Thank you

E.

________________________________
Da: alessio.fabiani at gmail.com<mailto:alessio.fabiani at gmail.com> <alessio.fabiani at gmail.com<mailto:alessio.fabiani at gmail.com>> per conto di Alessio Fabiani <alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>>
Inviato: giovedì 2 marzo 2017 10.13
A: Andrea Aime
Cc: Eugenio Trumpy; geoserver-users at lists.sourceforge.net<mailto:geoserver-users at lists.sourceforge.net>
Oggetto: Re: [Geoserver-users] data dir migration from 2.7.x to 2.9.x

Hi Eugenio,

try to replace the following "security" folders of your GeoServer data dir with the one here http://build.geonode.org/geoserver/latest/data-2.9.x.zip (backup the old ones first):

1. security\auth\geonodeAuthProvider
2. security\filter\geonodeAnonymousFilter
3. security\filter\geonodeCookieFilter

Later make sure to redo manually the GeoNode authentication filter configuration settings on the new security folder (just do a diff of XML files and be sure the GeoNode and GeoServer URLs are correct)


Best Regards,
Alessio Fabiani.

==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
GeoSolutions Enterprise Services<http://goo.gl/it488V>
goo.gl<http://goo.gl>
GeoSolutions offers enterprise support services to help you building enterprise-class Spatial Data Infrastructures leveraging on best-of-breed Open Source


==

Ing. Alessio Fabiani
@alfa7691
github<https://github.com/afabiani?tab=overview>
Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313<tel:0584%20962313>
fax:     +39 0584 1660272<tel:0584%20166%200272>
mob:   +39 331 6233686<tel:331%20623%203686>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

---------------------------------------------------------------------

On Thu, Mar 2, 2017 at 9:57 AM, Andrea Aime <andrea.aime at geo-solutions.it<mailto:andrea.aime at geo-solutions.it>> wrote:
Hi Eugenio,
read below:

On Thu, Mar 2, 2017 at 9:10 AM, Eugenio Trumpy <frippe12573 at hotmail.com<mailto:frippe12573 at hotmail.com>> wrote:

 org.geonode.security.HTTPClient.sendGET(HTTPClient.java:89)

        org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:185)
        org.geonode.security.DefaultSecurityClient.authenticateCookie(DefaultSecurityClient.java:116)
        org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:66)You are hitting an issue with a plugin the GeoServer community is not maintaining, not sure we can help.


Plugins are version specific, I'd suggest you check with the GeoNode developers if there is a version compatible
with GeoServer 2.9 and see if there is any upgrade procedure you have to follow to use it

Cheers
Andrea



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313<tel:0584%20962313>
fax: +39 0584 1660272<tel:0584%20166%200272>
mob: +39  339 8844549<tel:339%20884%204549>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users at lists.sourceforge.net<mailto:Geoserver-users at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170403/65e2122a/attachment-0001.html>


More information about the geonode-users mailing list