[GeoNode-devel] Move to Release 2.8

Dave Kennewell davekennewell at gmail.com
Sun Jan 21 23:16:54 PST 2018


Hi Alessio,

Thanks so much for putting the energy into this. I made two tries to get it
working:
___________________________________________________
*First attempt*

I installed on a fresh 16.04 Ubuntu server EC2 instance on AWS. The package
install worked fine (although took +30mins to download the packages - I
guess this is normal for a new launchpad repo).

However the command
IP_ADDRESS=$(ip route get 8.8.8.8 | awk '{print $NF; exit}')

will pick up the PRIVATE IP address on an Amazon instance, which leads to
"400 Bad Request" errors when trying to access Geonode through the
internet.

So I run the command instead with the PUBLIC IP:
sudo geonode-updateip 54.206.48.105

and now it throws and error while "Inspecting the available layers in
GeoServer" (apologies, I didn't record the exact error before I terminated
the machine & realised that would have been useful!)

But, the django part of geonode is accessible now, just not the geoserver
parts. I don't think it was valuable to delve into custom config to get a
release working, so I tried again from scratch...

____________________________________________________
*Second attempt*

I terminated the first machine and started again but this time I just
updated to the PUBLIC IP:

sudo geonode-updateip 54.206.23.196

Now there's no errors, and both django and geoserver parts of the app are
at least working. I can upload both raster and vector layers, and they will
display in the map preview.

However a few quick tests show the following bugs:
1. Once I'm logged in to the django app, if I try and log in to the
geoserver index page using the geonode button, I get the following error in
my browser:

> Error: invalid_request
> Mismatching redirect URI.


2. The vector layer is displayed in the map preview map (
http://54.206.23.196/layers/geonode:model_boundary), but I get pink tiles
if I try and "create a map" and view in geoexplorer.  (
http://54.206.23.196/maps/new?layer=geonode:model_boundary)

I'll leave this instance up & running for a couple of days if you wish to
investigate. I can send you superuser details direct if it will help debug,
let me know.

Thanks again
Dave


On 19 January 2018 at 17:20, Alessio Fabiani-2 [via OSGeo.org] <
ml+s1560n5350525h90 at n6.nabble.com> wrote:

> Release process ongoing.
>
> For whom willing to try geonode 2.8.0, on a clean Ubuntu 16.04 instance
> just run the following commands
>
>
> sudo add-apt-repository ppa:geonode/testing
> sudo apt update
> sudo apt install geonode
>
> geonode createsuperuser
>
> IP_ADDRESS=$(ip route get 8.8.8.8 | awk '{print $NF; exit}')
> sudo geonode-updateip $IP_ADDRESS
>
> sudo service apache2 restart
>
>
>
> This is still under testing, so 1. do not try this on production servers -
> or on server where you have installations you don't want to break ; 2. it
> is possible that something goes wrong - in this case please report to me
>
>
>
> Regards,
>
> Alessio Fabiani
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
> 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.
>
> 2017-12-23 11:29 GMT+01:00 Paolo Corti <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5350525&i=0>>:
>
>> +1!
>> of course
>> Paolo
>>
>> On Fri, Dec 22, 2017 at 12:47 AM, Francesco Bartoli
>> <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5350525&i=1>>
>> wrote:
>> > Hi Rizky,
>> >
>> > yes you should backport it to 2.7.x which will become 2.8.0 then.
>> >
>> > Ciao
>> >
>> > Il giorno 21/dic/2017, alle ore 22:49, Rizky Maulana Nugraha
>> > <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5350525&i=2>>
>> ha scritto:
>> >
>> > +1
>> >
>> > Can I also know how are you going to release 2.8? Is it coming from
>> 2.7.x
>> > branch? I would like to include qgis-server backend if possible, but
>> that
>> > depends on how much effort that would be. At the moment, only master
>> branch
>> > have qgis-server backend.
>> >
>> > --
>> > Rizky Maulana Nugraha
>> > Software Developer
>> > Kartoza.com
>> >
>> > On Dec 22, 2017 02:15, "Tom Kralidis" <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=3>> wrote:
>> >>
>> >> +1
>> >>
>> >> ..Tom
>> >>
>> >> Sent from my iPhone
>> >>
>> >> On Dec 21, 2017, at 14:13, Simone Dalmasso <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=4>>
>> >> wrote:
>> >>
>> >> +1!
>> >>
>> >> 2017-12-21 19:52 GMT+01:00 Jeremiah Cooper <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=5>>:
>> >>>
>> >>> +1.
>> >>>
>> >>> Thanks.
>> >>>
>> >>> Jeremiah Cooper
>> >>>
>> >>> On Thu, Dec 21, 2017 at 1:06 PM, Alessio Fabiani
>> >>> <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=6>> wrote:
>> >>>>
>> >>>> +1
>> >>>>
>> >>>> Regards,
>> >>>> Alessio Fabiani
>> >>>> ==
>> >>>> GeoServer Professional Services from the experts! Visit
>> >>>> http://goo.gl/it488V for more information.
>> >>>> ==
>> >>>>
>> >>>> Ing. Alessio Fabiani
>> >>>> @alfa7691
>> >>>> Founder/Technical Lead
>> >>>>
>> >>>> GeoSolutions S.A.S.
>> >>>> Via di Montramito 3/A
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+%3E%3E%3E%3E+55054%C2%A0+Massarosa&entry=gmail&source=g>
>> >>>> 55054  Massarosa
>> <https://maps.google.com/?q=Via+di+Montramito+3/A+%0D+%3E%3E%3E%3E+55054%C2%A0+Massarosa&entry=gmail&source=g>
>> (LU)
>> >>>> Italy
>> >>>> phone: <a href="tel:%2B39%200584%20962313"
>> value="+390584962313">+39 0584 962313
>> >>>> fax:     <a href="tel:%2B39%200584%201660272"
>> value="+3905841660272">+39 0584 1660272
>> >>>> mob:   <a href="tel:%2B39%20331%206233686"
>> value="+393316233686">+39 331 6233686
>>
>> >>>>
>> >>>> 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 21 dicembre 2017 17:43, Francesco Bartoli <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=7>>
>> >>>> wrote:
>> >>>>>
>> >>>>> Hi devs,
>> >>>>>
>> >>>>> as 2.7.x became quite stable we should be ready to move to releasing
>> >>>>> 2.8.0 as new stable version. Any feedback or concern?
>> >>>>>
>> >>>>> At the moment we don’t have a release manager but Alessio, Angelos
>> and
>> >>>>> me can volunteer. However it’s likely we need some guidance to the
>> overall
>> >>>>> procedure.
>> >>>>>
>> >>>>> Thanks and Merry Christmas to all of you
>> >>>>> Francesco
>> >>>>> _______________________________________________
>> >>>>> geonode-devel mailing list
>> >>>>> [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=8>
>> >>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >>>>
>> >>>>
>> >>>>
>> >>>> _______________________________________________
>> >>>> geonode-devel mailing list
>> >>>> [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=9>
>> >>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >>>>
>> >>>
>> >>>
>> >>> _______________________________________________
>> >>> geonode-devel mailing list
>> >>> [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=10>
>> >>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Simone
>> >>
>> >> _______________________________________________
>> >> geonode-devel mailing list
>> >> [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=11>
>> >> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >>
>> >>
>> >> _______________________________________________
>> >> geonode-devel mailing list
>> >> [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5350525&i=12>
>> >> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >>
>> > _______________________________________________
>> > geonode-devel mailing list
>> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5350525&i=13>
>> > https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >
>> >
>> >
>> > _______________________________________________
>> > geonode-devel mailing list
>> > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5350525&i=14>
>> > https://lists.osgeo.org/mailman/listinfo/geonode-devel
>> >
>>
>>
>>
>> --
>> Paolo Corti
>> Geospatial software developer
>> web: http://www.paolocorti.net
>> twitter: @capooti
>> skype: capooti
>> _______________________________________________
>> geonode-devel mailing list
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5350525&i=15>
>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>
>
>
> _______________________________________________
> geonode-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5350525&i=16>
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://osgeo-org.1560.x6.nabble.com/Move-to-Release-2-
> 8-tp5347506p5350525.html
> To unsubscribe from GeoNode devel, click here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185388&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM4OHwtOTI1NjEyMTk0>
> .
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180122/e29f0d19/attachment-0001.html>


More information about the geonode-devel mailing list