[GeoNode-devel] [GeoNode-users] GeoNode 2.8.0 is out!
tom.pyatt.nz at gmail.com
tom.pyatt.nz at gmail.com
Thu Apr 5 13:55:12 PDT 2018
My issue was a difference of installed packages in clean Ubuntu server. I simply installed the missing geoip-database package and my problem was resolved.
Amazing that two separate clean installs can be so very different. Goes to show that the term ‘clean install’ is not appropriate since it is not identical everywhere.
Found a very handy perl script to compare Ubuntu packages at https://askubuntu.com/questions/344226/set-difference-of-packages-installed-on-2-machines.
Tom Pyatt
Ubuntu packages and versions installed on clean Local Ubuntu server but not installed on clean Ubuntu Web server
----------------------------------
+ apt-transport-https : 1.2.26
+ bash-completion : 1:2.1-4.2ubuntu1.1
+ bind9-host : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ bsdmainutils : 9.0.6ubuntu3
+ command-not-found : 0.3ubuntu16.04.2
+ command-not-found-data : 0.3ubuntu16.04.2
+ dnsutils : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ dosfstools : 3.0.28-2ubuntu0.1
+ ed : 1.10-2
+ friendly-recovery : 0.2.31ubuntu1
+ ftp : 0.17-33
+ geoip-database : 20160408-1
+ groff-base : 1.22.3-7
+ hdparm : 9.48+ds-1
+ info : 6.1.0.dfsg.1-5
+ install-info : 6.1.0.dfsg.1-5
+ iputils-tracepath : 3:20121221-5ubuntu2
+ irqbalance : 1.1.0-2ubuntu1
+ libbind9-140 : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ libdns162 : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ libelf1 : 0.165-3ubuntu1
+ libgeoip1 : 1.6.9-1
+ libisc160 : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ libisccc140 : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ libisccfg140 : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ liblwres141 : 1:9.10.3.dfsg.P4-8ubuntu1.10
+ libnuma1 : 2.0.11-1ubuntu1.1
+ libparted2 : 3.2-15ubuntu0.1
+ libpcap0.8 : 1.7.4-2
+ libpipeline1 : 1.4.1-2
+ linux-headers-4.4.0-116 : 4.4.0-116.140
+ linux-headers-4.4.0-116-generic : 4.4.0-116.140
+ linux-image-4.4.0-116-generic : 4.4.0-116.140
+ linux-image-extra-4.4.0-116-generic : 4.4.0-116.140
+ lshw : 02.17-1.1ubuntu3.5
+ lsof : 4.89+dfsg-0.1
+ ltrace : 0.7.3-5.1ubuntu4
+ man-db : 2.7.5-1
+ mlocate : 0.26-1ubuntu2
+ mtr-tiny : 0.86-1ubuntu0.1
+ ntfs-3g : 1:2015.3.14AR.1-1ubuntu0.1
+ parted : 3.2-15ubuntu0.1
+ popularity-contest : 1.64ubuntu2
+ powermgmt-base : 1.31+nmu1
+ python3-commandnotfound : 0.3ubuntu16.04.2
+ python3-gdbm : 3.5.1-1
+ strace : 4.11-1ubuntu3
+ tcpdump : 4.9.2-0ubuntu0.16.04.1
+ telnet : 0.17-40
+ time : 1.7-25.1
+ ubuntu-standard : 1.361.1
+ ufw : 0.35-0ubuntu2
+ uuid-runtime : 2.27.1-6ubuntu3.4
From: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
Sent: Wednesday, April 4, 2018 8:22 PM
To: tom.pyatt.nz at gmail.com
Cc: geonode-devel <geonode-devel at lists.osgeo.org>
Subject: Re: [GeoNode-devel] [GeoNode-users] GeoNode 2.8.0 is out!
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 <mailto: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 <mailto: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 <mailto:gcpp.kalxas at gmail.com> >; geonode-devel <geonode-devel at lists.osgeo.org <mailto: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 <mailto: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 <mailto: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 <mailto: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> 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: <tel:+39%200584%20962313> +39 0584 962313
fax: <tel:+39%200584%20166%200272> +39 0584 1660272
mob: <tel:+39%20331%20623%203686> +39 331 6233686
<http://www.geo-solutions.it> http://www.geo-solutions.it
<http://twitter.com/geosolutions_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 <mailto: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> 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: <tel:0584%20962313> +39 0584 962313
fax: <tel:0584%20166%200272> +39 0584 1660272
mob: <tel:331%20623%203686> +39 331 6233686
<http://www.geo-solutions.it> http://www.geo-solutions.it
<http://twitter.com/geosolutions_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 <mailto: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 <mailto: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> http://users.ntua.gr/tzotsos
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users
_______________________________________________
geonode-devel mailing list
geonode-devel at lists.osgeo.org <mailto: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/20180406/c57c50c9/attachment-0001.html>
More information about the geonode-devel
mailing list