[GeoNode-devel] [GeoNode-users] GeoNode 2.8.0 is out!

Alessio Fabiani alessio.fabiani at geo-solutions.it
Wed Apr 4 01:22:17 PDT 2018


 It looks related to the Django version. Somehow on those distributions
there is a Django 1.7.* installed around.

You should spot it and remove from the system and install python-django
package from ppa:geonode/stable


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
55054  Massarosa (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.

2018-04-03 23:21 GMT+02:00 <tom.pyatt.nz at gmail.com>:

> Very good work and thanks to everyone involved.
>
>
>
> I am getting the same exact error as Dimitris reported, but only when I
> install on a live web server. All installations on local server are
> perfectly ok. The Ubuntu versions and kernels are the same.
>
> The same web server previously had Geonode 2.6.3 so I expected no
> problems.
>
>
>
> Discovered that some parts of Ubuntu Server were not installed on web
> server. No idea why or what they were.
>
> Ran “tasksel” as root and add tick to “Basic Ubuntu Server”.
>
> Restarted Ubuntu.
>
> No change, Geonode 2.8 install fails on live web server.
>
>
>
> Any suggestions?
>
>
>
> Traceback (most recent call last):
>
>   File "/usr/bin/django-admin", line 9, in <module>
>
>     load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
>
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
>
>     utility.execute()
>
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 328, in execute
>
>     django.setup()
>
>   File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in
> setup
>
>     apps.populate(settings.INSTALLED_APPS)
>
>   File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line
> 108, in populate
>
>     app_config.import_models(all_models)
>
>   File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line
> 198, in import_models
>
>     self.models_module = import_module(models_module_name)
>
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
>
>     __import__(name)
>
>   File "/usr/local/lib/python2.7/dist-packages/geonode/contrib/monitoring/models.py",
> line 44, in <module>
>
>     from django.contrib.gis.geoip import GeoIP
>
> ImportError: cannot import name GeoIP
>
> dpkg: error processing package geonode (--configure):
>
> subprocess installed post-installation script returned error exit status 1
>
> Errors were encountered while processing:
>
> geonode
>
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> Tom Pyatt
>
>
>
> *From:* geonode-devel <geonode-devel-bounces at lists.osgeo.org> *On Behalf
> Of *Dimitris Karakostis
> *Sent:* Wednesday, April 4, 2018 2:45 AM
> *To:* Angelos Tzotsos <gcpp.kalxas at gmail.com>; geonode-devel <
> geonode-devel at lists.osgeo.org>
> *Subject:* Re: [GeoNode-devel] [GeoNode-users] GeoNode 2.8.0 is out!
>
>
>
> Thanks a lot everyone.
>
>
>
> Alessio I have made the installation in a fresh Ubuntu 16.04 machine but I
> encountered the following error:
>
>
>
> Running GeoNode postinstall ...
>
> Traceback (most recent call last):
>
>   File "/usr/bin/django-admin", line 9, in <module>
>
>     load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
>
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
>
>     utility.execute()
>
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 328, in execute
>
>     django.setup()
>
>   File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in
> setup
>
>     apps.populate(settings.INSTALLED_APPS)
>
>   File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line
> 108, in populate
>
>     app_config.import_models(all_models)
>
>   File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line
> 198, in import_models
>
>     self.models_module = import_module(models_module_name)
>
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
>
>     __import__(name)
>
>   File "/usr/local/lib/python2.7/dist-packages/geonode/contrib/monitoring/models.py",
> line 44, in <module>
>
>     from django.contrib.gis.geoip import GeoIP
>
> ImportError: cannot import name GeoIP
>
>
>
> I've installed the python-geoip package manually:
>
>
>
> sudo apt-get install python-geoip
>
>
>
> And restarted apache and tomcat as:
>
>
>
> sudo service apache2 restart
>
> sudo service tomcat8 start
>
>
>
> But still can not access http://localhost when:
>
>
>
> sudo geonode runserver localhost:8000
>
>
>
> Do you have any hint what the error could be?
>
>
>
>
>
>
>
> On Tue, Apr 3, 2018 at 2:16 PM, Angelos Tzotsos <gcpp.kalxas at gmail.com>
> wrote:
>
> Thanks all for the release!
>
>
>
> On Tue, Apr 3, 2018 at 2:55 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
> wrote:
>
> Thanks a lot Alessio! Great job!
>
>
>
>
>
>
>
> 2018-04-03 13:32 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-
> solutions.it>:
>
> *ERRATA CORRIGE:*
>
>
>
> sudo apt-add-repository ppa:geonode/testing -->  sudo apt-add-repository
> ppa:geonode/stable
>
>
> 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
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax:     +39 0584 1660272 <+39%200584%20166%200272>
> mob:   +39 331 6233686 <+39%20331%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.
>
>
>
> 2018-04-03 13:31 GMT+02:00 Alessio Fabiani <alessio.fabiani at geo-
> solutions.it>:
>
> Dear all,
>
>
>
> GeoNode release 2.8.0 is out!
>
>
>
> *Installing from apt on Ubuntu 16.04*
>
>
>
> In order to test it through APT, on a clean Ubuntu 16.04 instance run:
>
>
>
> sudo apt-add-repository ppa:geonode/testing
>
> sudo apt update -y
>
> sudo apt upgrade -y
>
> sudo apt install geonode
>
>
>
> *Few notes on finalizing the setup (this will be improved on next release)*
>
>
>
> *1) Update your default map crs to 3857*
>
>
>
> *  sudo nano /etc/geonode/local_settings.py*
>
>
>
> *    DEFAULT_MAP_CRS = "EPSG:3857"*
>
>
>
> *    DEFAULT_LAYER_FORMAT = "image/png8"*
>
>
>
> *  sudo service apache2 restart*
>
>
>
> *2) Restart Tomcat in order to allow GeoServer to reload the configuration*
>
>
>
> *  sudo service apache tomcat8 restart*
>
>
>
>
>
> *Setting up your custom project*
>
>
>
> Please follow instructions from
>
>
>
> https://github.com/GeoNode/geonode-project#using-a-
> python-virtual-environment
>
>
>
> *Upgrading from 2.6.x release*
>
>
>
> If you would like to update from a 2.6.x development version, please take
> a look at the following document (still not definitive)
>
>
>
> http://docs.geonode.org/en/master/tutorials/install_and_
> admin/geonode_update/26_to_27/index.html#update-from-
> geonode-2-6-3-to-geonode-2-7
>
>
>
> *Other type of setup / installer*
>
>
>
> Docker and Windows installers won't be ready by the announcement of the
> official release.
>
> There are still many issues with those two packages, preventing us to
> publish stable versions of them.
>
>
>
> 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
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <0584%20962313>
> fax:     +39 0584 1660272 <0584%20166%200272>
> mob:   +39 331 6233686 <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.
>
>
>
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
>
>
>
> --
>
> Simone
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
>
>
>
> --
>
> Angelos Tzotsos, PhD
> OSGeo Charter Member
>
> http://users.ntua.gr/tzotsos
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180404/460a4a52/attachment-0001.html>


More information about the geonode-devel mailing list