[GeoNode-devel] Docker db4geonode continuous restart

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Feb 14 02:00:39 PST 2020


You need to purge all the volumes also (*WARNING: This will wipe out all
your data*)

This the commandline to execute to cleanup completely the docker environment

docker kill $(docker ps -q); docker rm $(docker ps -a -q); docker rmi
$(docker images -q)
; docker volume ls -qf dangling=true | xargs -r docker volume rm;
docker system prune -a

Il giorno ven 14 feb 2020 alle ore 10:55 Pieter du Plooy <
pjduplooy.gis at gmail.com> ha scritto:

> I deleted all images, rebuilt from scratch, but still get the same error.
>
> On Fri, Feb 14, 2020 at 11:52 AM Alessio Fabiani <
> alessio.fabiani at geo-solutions.it> wrote:
>
>> If you want to start with a clean setup, yes, of course.
>>
>> Il giorno ven 14 feb 2020 alle ore 10:51 Pieter du Plooy <
>> pjduplooy.gis at gmail.com> ha scritto:
>>
>>> Hi Alessio
>>>
>>> Can I delete all images and start from scratch?
>>>
>>> Pieer
>>>
>>> On Fri, Feb 14, 2020 at 11:35 AM Alessio Fabiani <
>>> alessio.fabiani at geo-solutions.it> wrote:
>>>
>>>> Ok, so, if you want to keep the old DB just downgrade to 10 the
>>>> postgres version on the Dockerfile and then run a "docker-compose up -d
>>>> --build db" again
>>>>
>>>>
>>>> Il giorno ven 14 feb 2020 alle ore 10:32 Pieter du Plooy <
>>>> pjduplooy.gis at gmail.com> ha scritto:
>>>>
>>>>> Hi Alessio.
>>>>>
>>>>> I get
>>>>> db4geonode       | 2020-02-14 09:29:53.638 UTC [1] FATAL:  database
>>>>> files are incompatible with server
>>>>> db4geonode       | 2020-02-14 09:29:53.638 UTC [1] DETAIL:  The data
>>>>> directory was initialized by PostgreSQL version 10, which is not compatible
>>>>> with this version 11.2 (Debian 11.2-1.pgdg90+1).
>>>>>
>>>>> Pieter
>>>>>
>>>>>
>>>>> On Fri, Feb 14, 2020 at 10:33 AM Alessio Fabiani <
>>>>> alessio.fabiani at geo-solutions.it> wrote:
>>>>>
>>>>>> Hi Pieter,
>>>>>> try a "docker-compose logs -f --tail=30 db" in order to see the logs
>>>>>> and try to understand what's going on.
>>>>>>
>>>>>> Il giorno gio 13 feb 2020 alle ore 19:20 Pieter du Plooy <
>>>>>> pjduplooy.gis at gmail.com> ha scritto:
>>>>>>
>>>>>>> Hi guys.
>>>>>>>
>>>>>>> After a week or so away from geonode master, I did a complete
>>>>>>> rebuild after deleting all geonode related docker images.
>>>>>>>
>>>>>>> I have cloned the repo with the
>>>>>>>
>>>>>>> --config core.autocrlf=input --depth 1
>>>>>>>
>>>>>>> to run on Windows (as I did in the past).
>>>>>>>
>>>>>>> However the db4geonode image does not start (goes into continuous restart loop.
>>>>>>>
>>>>>>> Any help on this?
>>>>>>>
>>>>>>> Pieter
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> geonode-devel mailing list
>>>>>>> geonode-devel at lists.osgeo.org
>>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> ==
>>>>>>
>>>>>> 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
>>>>>> -------------------------------------------------------
>>>>>>
>>>>>> Con riferimento alla normativa sul trattamento dei dati personali
>>>>>> (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”),
>>>>>> si precisa che ogni circostanza inerente alla presente email (il suo
>>>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>>>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>>>>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>>>>>
>>>>>>
>>>>>> This email is intended only for the person or entity to which it is
>>>>>> addressed and may contain information that is privileged, confidential or
>>>>>> otherwise protected from disclosure. We remind that - as provided by
>>>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>>>>>> e-mail or the information herein by anyone other than the intended
>>>>>> recipient is prohibited. If you have received this email by mistake, please
>>>>>> notify us immediately by telephone or e-mail.
>>>>>>
>>>>> _______________________________________________
>>>>> geonode-devel mailing list
>>>>> geonode-devel at lists.osgeo.org
>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> ==
>>>>
>>>> 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
>>>> -------------------------------------------------------
>>>>
>>>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>>>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>>>> precisa che ogni circostanza inerente alla presente email (il suo
>>>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>>>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>>>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>>>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>>>
>>>>
>>>> This email is intended only for the person or entity to which it is
>>>> addressed and may contain information that is privileged, confidential or
>>>> otherwise protected from disclosure. We remind that - as provided by
>>>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>>>> e-mail or the information herein by anyone other than the intended
>>>> recipient is prohibited. If you have received this email by mistake, please
>>>> notify us immediately by telephone or e-mail.
>>>>
>>> _______________________________________________
>>> geonode-devel mailing list
>>> geonode-devel at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>
>>
>>
>> --
>>
>> ==
>>
>> 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
>> -------------------------------------------------------
>>
>> Con riferimento alla normativa sul trattamento dei dati personali (Reg.
>> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
>> precisa che ogni circostanza inerente alla presente email (il suo
>> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
>> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
>> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
>> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>>
>>
>> This email is intended only for the person or entity to which it is
>> addressed and may contain information that is privileged, confidential or
>> otherwise protected from disclosure. We remind that - as provided by
>> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
>> e-mail or the information herein by anyone other than the intended
>> recipient is prohibited. If you have received this email by mistake, please
>> notify us immediately by telephone or e-mail.
>>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>


-- 

==

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
-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.


This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20200214/78ac29f5/attachment-0001.html>


More information about the geonode-devel mailing list