[GeoNode-users] GeoNode install mix up.

Daniel Victoria daniel.victoria at gmail.com
Wed Apr 4 13:24:23 PDT 2018


Hi Alessio,

Thanks for your help but I believe things are way more messed up than I
realized.

I think my machine was in a 'in between state', with some packages from 2.6
and some from 2.8. So here is what I did

1) I cloned my machine and worked on the clone
2) Completed the version 2.8 install by doing `apt-get install geonode`
from the ppa:genode/stable xenial repository

The update did not work. Things failed in the postinstall script. The error
message is in the attached file (geonode_install_error.txt)

I also get an error when trying to run
DJANGO_SETTINGS_MODULE=geonode.local_settings geonode migrate
The output is in geonode_migration_error.txt

At this point I'm considering installing a fresh GeoNode and populate it
again. Sad...

Anyway, I still have another machine running GeoNode 2.6, installed from
apt-get. What would be the procedure to upgrade to version 2.8? A simple
apt-get update should do the trick?

Cheers
Daniel

On Wed, Apr 4, 2018 at 8:40 AM Alessio Fabiani <
alessio.fabiani at geo-solutions.it> wrote:

> So, currently I don't have time to try to setup a whole infrastructure
> starting from 2.6.x. Therefore let's see if we can manage this somehow with
> a first troubleshooting by using your instance as a test base.
>
> I would try doing something like this:
>
> 1. Double check /etc/geonode/local_settings.py is this still your original
> one or it has been replaced by the setup? Also you should do a diff with
> the following one
> https://github.com/GeoNode/geonode/blob/2.8.0/package/support/geonode.local_settings
>
> 2. Once the settings have been checked, try to run the following commands
>
> DJANGO_SETTINGS_MODULE=geonode.local_settings geonode makemigrations
> DJANGO_SETTINGS_MODULE=geonode.local_settings geonode migrate
>
> hopefully those will update the layers to the 2.8 schema
>
> 3. You will need to update GeoServer and be sure it starts on local tomcat
>
> This guide
> http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_update/26_to_27/index.html
>
> starting from "Download the latest GeoServer WAR..." point, should help
> you to understand how to update GeoServer.
>
> By using apt:
>
> a) The GeoServer code is located into /usr/share/geoserver
> b) The GeoServer Data Dir is located into /usr/share/geoserver/data
> c) The Catalina Context is configured
> into /var/lib/tomcat8/conf/Catalina/localhost/geoserver.xml
> d) The Tomcat logs are located into /var/lib/tomcat8/logs
>
> To restart GeoServer run: sudo service tomcat8 restart
> To restart GeoNode run: sudo service apache2 restart
>
> To check for GeoNode errors do: sudo tail -F -n 300
> /var/log/apache2/error.log
>
> To check for GeoServer errors either look into:
>
>   /var/lib/tomcat8/logs/catalina.out
>   /usr/share/geoserver/data/logs/geoserver.log
>
>
>
>
> 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 <+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-04 0:00 GMT+02:00 Alessio Fabiani <
> alessio.fabiani at geo-solutions.it>:
>
>> Will try to send you instructions tomorrow. Basically for geonode you
>> need to update the dB and python libraries, while for geoserver you will
>> need to update war and align data directory.
>>
>> Il mar 3 apr 2018, 20:58 Daniel Victoria <daniel.victoria at gmail.com> ha
>> scritto:
>>
>>> OK, we tried to go back to v2.6.3 pulling from the trusty repository but
>>> that did not work. So we will now try to migrate to version 2.8
>>>
>>> I saw that there is a document about migrating from the 2.7.X
>>> development version. Are there migration scripts to do a 2.6 --> 2.8
>>> migration? Or a writeup somewhere?
>>>
>>> Thanks
>>> Daniel
>>>
>>> On Tue, Apr 3, 2018 at 1:25 PM Alessio Fabiani <
>>> alessio.fabiani at geo-solutions.it> wrote:
>>>
>>>> P.s.: at this point maybe you should envisage to update directly to
>>>> 2.8, but you must do this manually.
>>>>
>>>> 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 <+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 18:24 GMT+02:00 Alessio Fabiani <
>>>> alessio.fabiani at geo-solutions.it>:
>>>>
>>>>> Daniel,
>>>>> didn't try myself, but the easiest option I can figure out right now
>>>>> would be to revert the geonode ppa to Trusty dist only
>>>>>
>>>>> see for example
>>>>>
>>>>> https://help.ubuntu.com/community/add-apt-repository
>>>>>
>>>>> Sorry I guess I can't help much more than this. I didn't face such
>>>>> issue at all until now.
>>>>>
>>>>>
>>>>> 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 <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.
>>>>>
>>>>> 2018-04-03 18:06 GMT+02:00 Daniel Victoria <daniel.victoria at gmail.com>
>>>>> :
>>>>>
>>>>>> I'm sorry Alessio but I don't quite understand. Is there a way to go
>>>>>> back 'temporarily' to geonode 2.6.3 to get things fixed? I am running
>>>>>> Ubuntu Xenial.
>>>>>>
>>>>>> Am I the only one that is having this problem?
>>>>>>
>>>>>> Cheers
>>>>>> Daniel
>>>>>>
>>>>>>
>>>>>> On Tue, Apr 3, 2018 at 11:38 AM Alessio Fabiani <
>>>>>> alessio.fabiani at geo-solutions.it> wrote:
>>>>>>
>>>>>>> Yes, currently all the updated packages are just for xenial
>>>>>>> distribution.
>>>>>>>
>>>>>>> Most probably the easiest way would be to add ppa sources for Trusty
>>>>>>> only.
>>>>>>>
>>>>>>> Another good thing to do, would be to spend some time (maybe let's
>>>>>>> open an issues for that) to specify packages versions here
>>>>>>>
>>>>>>> https://github.com/GeoNode/geonode/blob/master/package/debian/control
>>>>>>>
>>>>>>> and rebuild the debs.
>>>>>>>
>>>>>>>
>>>>>>> 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 <+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 16:32 GMT+02:00 Daniel Victoria <
>>>>>>> daniel.victoria at gmail.com>:
>>>>>>>
>>>>>>>> Ok, thanks.
>>>>>>>>
>>>>>>>> Is there a easy way to do this? Can it be fixed using APT? Our IT
>>>>>>>> Specialist mentioned he is having to manually download the debs? He also
>>>>>>>> mentioned that this happened once with our OwnCloud instalation. So what
>>>>>>>> the devs did was to have version specific repositories. Do we have that for
>>>>>>>> geonode?
>>>>>>>>
>>>>>>>> Cheers
>>>>>>>> Daniel
>>>>>>>>
>>>>>>>> On Tue, Apr 3, 2018 at 9:41 AM Alessio Fabiani <
>>>>>>>> alessio.fabiani at geo-solutions.it> wrote:
>>>>>>>>
>>>>>>>>> I guess the only way is to revert dependency packages to old
>>>>>>>>> versions from ppa.
>>>>>>>>>
>>>>>>>>> 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 <+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 14:27 GMT+02:00 Daniel Victoria <
>>>>>>>>> daniel.victoria at gmail.com>:
>>>>>>>>>
>>>>>>>>>> Hi all,
>>>>>>>>>>
>>>>>>>>>> First of all, thanks for the great work and this new 2.8 release.
>>>>>>>>>> Looking forward to test it out.
>>>>>>>>>>
>>>>>>>>>> Meanwhile, I believe I messed things up on my side. The server
>>>>>>>>>> that I had GeoNode 2.6 running went through an update and the new 2.8
>>>>>>>>>> version got installed. I'm now in a package dependency mess and my GeoNode
>>>>>>>>>> install is not working.
>>>>>>>>>>
>>>>>>>>>> Looking back now, I thing I should have set the GeoNode 2.6
>>>>>>>>>> package on hold, correct? How can I go back to version 2.6 using apt? Or
>>>>>>>>>> should the apt upgrade install version 2.8 on top of 2.6 fine?
>>>>>>>>>>
>>>>>>>>>> Cheers
>>>>>>>>>> Daniel
>>>>>>>>>>
>>>>>>>>>> On Tue, Apr 3, 2018 at 9:16 AM 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
>>>>>>>>>>>>> <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 <+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 restart2)
>>>>>>>>>>>>>> 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
>>>>>>>>>>>>>> <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 <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-users mailing list
>>>>>>>>>> geonode-users at lists.osgeo.org
>>>>>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> geonode-users mailing list
>>>>>>>> geonode-users at lists.osgeo.org
>>>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>
>>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180404/fb5cef76/attachment-0001.html>
-------------- next part --------------
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/7,370 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 72473 files and directories currently installed.)
Preparing to unpack .../geonode_2.8.0+thefinal0_all.deb ...
Unpacking geonode (2.8.0+thefinal0) over (2.8.0+thefinal0) ...
Setting up geonode (2.8.0+thefinal0) ...
Sourcing /usr/share/geonode/config-post.sh as the configuration file
	Step: 'post specified
Running GeoNode postinstall ...
No conflicts detected to merge.
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 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 222, in handle
    executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 110, in migrate
    self.apply_migration(states[migration], migration, fake=fake, fake_initial=fake_initial)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 148, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/migration.py", line 115, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/operations/models.py", line 59, in database_forwards
    schema_editor.create_model(model)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 286, in create_model
    self.execute(sql, params or None)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 111, in execute
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
django.db.utils.ProgrammingError: relation "avatar_avatar" already exists

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 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/modeltranslation/management/commands/loaddata.py", line 61, in handle
    return super(Command, self).handle(*fixture_labels, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 60, in handle
    self.loaddata(fixture_labels)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 100, in loaddata
    self.load_label(fixture_label)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 157, in load_label
    obj.save(using=self.using)
  File "/usr/lib/python2.7/dist-packages/django/core/serializers/base.py", line 173, in save
    models.Model.save_base(self.object, using=using, raw=True)
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 762, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 827, in _save_table
    forced_update)
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 877, in _do_update
    return filtered._update(values) > 0
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 580, in _update
    return query.get_compiler(self.db).execute_sql(CURSOR)
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 1062, in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: Problem installing fixture '/usr/local/lib/python2.7/dist-packages/geonode/people/fixtures/sample_admin.json': Could not load people.Profile(pk=1000): column "language" of relation "people_profile" does not exist
LINE 1: ...area" = NULL, "zipcode" = NULL, "country" = NULL, "language"...
                                                             ^

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 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/modeltranslation/management/commands/loaddata.py", line 61, in handle
    return super(Command, self).handle(*fixture_labels, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 60, in handle
    self.loaddata(fixture_labels)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 100, in loaddata
    self.load_label(fixture_label)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 151, in load_label
    for obj in objects:
  File "/usr/lib/python2.7/dist-packages/django/core/serializers/json.py", line 85, in Deserializer
    six.reraise(DeserializationError, DeserializationError(e), sys.exc_info()[2])
  File "/usr/lib/python2.7/dist-packages/django/core/serializers/json.py", line 79, in Deserializer
    for obj in PythonDeserializer(objects, **options):
  File "/usr/lib/python2.7/dist-packages/django/core/serializers/python.py", line 139, in Deserializer
    obj = field.rel.to._default_manager.db_manager(db).get_by_natural_key(*field_value)
  File "/usr/local/lib/python2.7/dist-packages/geonode/people/models.py", line 42, in get_by_natural_key
    return self.get(username__iexact=username)
  File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 328, in get
    num = len(clone)
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 144, in __len__
    self._fetch_all()
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.core.serializers.base.DeserializationError: Problem installing fixture '/usr/local/lib/python2.7/dist-packages/geonode/base/fixtures/default_oauth_apps.json': column people_profile.language does not exist
LINE 1: ...e_profile"."zipcode", "people_profile"."country", "people_pr...
                                                             ^

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 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/modeltranslation/management/commands/loaddata.py", line 61, in handle
    return super(Command, self).handle(*fixture_labels, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 60, in handle
    self.loaddata(fixture_labels)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 100, in loaddata
    self.load_label(fixture_label)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", line 157, in load_label
    obj.save(using=self.using)
  File "/usr/lib/python2.7/dist-packages/django/core/serializers/base.py", line 173, in save
    models.Model.save_base(self.object, using=using, raw=True)
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 762, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 827, in _save_table
    forced_update)
  File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 877, in _do_update
    return filtered._update(values) > 0
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 580, in _update
    return query.get_compiler(self.db).execute_sql(CURSOR)
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 1062, in execute_sql
    cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: Problem installing fixture '/usr/local/lib/python2.7/dist-packages/geonode/base/fixtures/initial_data.json': Could not load base.Region(pk=1): column "bbox_x0" of relation "base_region" does not exist
LINE 1: ...lobal', "name_en" = 'Global', "parent_id" = NULL, "bbox_x0" ...
                                                             ^

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 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/dist-packages/geonode/base/management/commands/set_all_layers_alternate.py", line 32, in handle
    for index, layer in enumerate(all_layers):
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 162, in __iter__
    self._fetch_all()
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 965, in _fetch_all
    self._result_cache = list(self.iterator())
  File "/usr/lib/python2.7/dist-packages/polymorphic/query.py", line 469, in iterator
    for o in base_iter:
  File "/usr/lib/python2.7/dist-packages/django/db/models/query.py", line 238, in iterator
    results = compiler.execute_sql()
  File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 840, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column base_resourcebase.alternate does not exist
LINE 1: ...rcebase"."owner_id", "base_resourcebase"."title", "base_reso...
                                                             ^

Site 000-default already disabled
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Site geonode already enabled
-------------- next part --------------
Operations to perform:
  Synchronize unmigrated apps: django_basic_auth, tasks, floppyforms, allauth, modeltranslation, django_extensions, polymorphic, treebeard, corsheaders, django_forms_bootstrap, catalogue, humanize, bootstrap3_datetime, geoserver, api_basemaps, storages, mptt, staticfiles, metadataxsl, geoexplorer, sitemaps, proxy, gis, pinax_theme_bootstrap, autocomplete_light, messages, leaflet, geonode_client, api, social, messaging, security, dj_pagination, ows_api
  Apply all migrations: dialogos, people, agon_ratings, documents, actstream, sites, maps, contenttypes, announcements, user_messages, layers, sessions, guardian, auth, invitations, base, pinax_notifications, groups, services, oauth2_provider, account, admin, qgis_server, upload, avatar, taggit, socialaccount
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying avatar.0001_initial...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 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 222, in handle
    executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 110, in migrate
    self.apply_migration(states[migration], migration, fake=fake, fake_initial=fake_initial)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 148, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/migration.py", line 115, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/usr/lib/python2.7/dist-packages/django/db/migrations/operations/models.py", line 59, in database_forwards
    schema_editor.create_model(model)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 286, in create_model
    self.execute(sql, params or None)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/base/schema.py", line 111, in execute
    cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
django.db.utils.ProgrammingError: relation "avatar_avatar" already exists



More information about the geonode-users mailing list