[GeoNode-users] GeoNode Project master Docker - Upload layers (Julierme Pinheiro)

Francesco Bartoli xbartolone at gmail.com
Mon Sep 17 14:13:02 PDT 2018


Hi Julierme,

If you want to persist your changes you have to add the option to build ‘—build’. In this case a new local image is generated and your changes are reflected within the container. Commonly useful when you are developing.

Hope this helps

Ciao
Francesco
Il 17 set 2018, 22:01 +0200, Toni Schönbuchner <toni.schoenbuchner at csgis.de>, ha scritto:
> Hi Julierme,
>
> I think you had docker-compose stop (and docker-compose start) in mind?
> docker-compose down will remove your containers + networks.
> (-v for volumes as well … see —help for more).
>
> cheers,
>
> Toni
>
> -----------------------------------------------
> CSGIS
>
> -----------------------------------------------
> Kolonnadenstraße 1
> 04109 Leipzig
> -----------------------------------------------
> Mobil +49/ (0) 176 6680 3198
> Tel  +49/ (0) 341 24 04 738
> Fax  +49/ (0) 341 24 04 73
> Web http://csgis.de
> -----------------------------------------------
>
> Hinweis gemäß § 33 BDSG
> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den
> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich
> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht
> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung,
> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>
> > Am 17.09.2018 um 21:00 schrieb geonode-users-request at lists.osgeo.org:
> >
> > Send geonode-users mailing list submissions to
> > geonode-users at lists.osgeo.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.osgeo.org/mailman/listinfo/geonode-users
> > or, via email, send a message with subject or body 'help' to
> > geonode-users-request at lists.osgeo.org
> >
> > You can reach the person managing the list at
> > geonode-users-owner at lists.osgeo.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of geonode-users digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: GeoNode Project master Docker - Upload layers
> >      (Julierme Pinheiro)
> >   2. Re: GeoNode Project master Docker - Upload layers
> >      (Julierme Pinheiro)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 17 Sep 2018 14:36:07 -0300
> > From: Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com>
> > To: francesco bartoli <xbartolone at gmail.com>
> > Cc: Simone Dalmasso <simone.dalmasso at gmail.com>,  geonode-users
> > <geonode-users at lists.osgeo.org>
> > Subject: Re: [GeoNode-users] GeoNode Project master Docker - Upload
> > layers
> > Message-ID:
> > <CAKTKyJJtCV7GeVp1kXgc33YPODE9OpFj1_LDStcHUGHR2fYezw at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi Francesco,
> >
> > Thank you very much for your reply. I have GeoNode-Project at 2.7 installed
> > via Docker in a Centos7 VM and I had edited the templates html (site_base
> > and site_index) and css file (site_base). GeoNode site was working
> > smoothly. But lately, after running docker-compose down and right after
> > docker-compose up, this last command resets the django container (the
> > container gets a new ID), and why I see that, after running docker-compose
> > up the templates [1] and static [2] returns to their default configuration.
> > [1]
> > https://github.com/GeoNode/geonode-project/tree/2.7/project_name/templates
> > [2]
> > https://github.com/GeoNode/geonode-project/tree/2.7/project_name/static/css
> >
> > I appreciated your time
> > Kind regards
> >
> > Julierme
> >
> >
> > On Mon, Sep 17, 2018 at 2:02 PM francesco bartoli <xbartolone at gmail.com>
> > wrote:
> >
> > > Hi Julierme,
> > >
> > > the master branch is not supposed to be always in a safe docker build, at
> > > least until we could have time and maybe sponsors to introduce a reliable
> > > CI/CD procedure.
> > >
> > > With regards to the sentence "Django container gets a new one every time
> > > docker-compose up is run.", can you please elaborate more the issue? Is not
> > > clear what you are facing with.
> > >
> > > Thanks,
> > > Francesco
> > >
> > > Il giorno lun 17 set 2018 alle ore 18:52 Julierme Pinheiro <
> > > juliermeopensourcedeveloper at gmail.com> ha scritto:
> > >
> > > > Hi Simone,
> > > >
> > > > I have several instances of GeoNode-Project in different VMs.
> > > >
> > > > GeoNode-Project at 2.7 Docker Centos7 VM
> > > > Issue:
> > > > Django container gets a new one every time docker-compose up is run.
> > > >
> > > > GeoNode-Project at 2master Docker Centos7 VM
> > > > Issue:
> > > > Related to upload layers
> > > > *Unable to
> > > > usecom.vividsolutions.jts.geom.impl.CoordinateArraySequenceFactory at 32f58c5e
> > > > to produce CoordinateSequence with dimension 2*
> > > >
> > > > Thank you very much for your reply. I appreciated your time.
> > > >
> > > > Kind regards
> > > >
> > > > Julierme
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Sat, Sep 15, 2018 at 5:18 AM Simone Dalmasso <
> > > > simone.dalmasso at gmail.com> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > which version of GeoNode are you using. Keep in mind that the
> > > > > geonode-project branch you use should follow the geonode's version.
> > > > >
> > > > > Best
> > > > >
> > > > > Il giorno ven 14 set 2018 alle ore 22:37 Julierme Pinheiro <
> > > > > juliermeopensourcedeveloper at gmail.com> ha scritto:
> > > > >
> > > > > > Dear users,
> > > > > >
> > > > > > I had geonode-project at 2.7 running perfectly fine, including uploading
> > > > > > layers. Now, I am running GeoNode-Project at master, but I am unable to
> > > > > > upload data layers. The following message is shown at the end of the
> > > > > > uploading layers process:
> > > > > > *Unable to
> > > > > > usecom.vividsolutions.jts.geom.impl.CoordinateArraySequenceFactory at 32f58c5e
> > > > > > to produce CoordinateSequence with dimension 2*
> > > > > >
> > > > > > This would not happen on version 2.7
> > > > > >
> > > > > > Any comment on this issue would be very appreciated.
> > > > > >
> > > > > > Kind regards
> > > > > >
> > > > > > Julierme
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > geonode-users mailing list
> > > > > > geonode-users at lists.osgeo.org
> > > > > > https://lists.osgeo.org/mailman/listinfo/geonode-users
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Simone
> > > > >
> > > > _______________________________________________
> > > > 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/20180917/6e229744/attachment-0001.html>
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 17 Sep 2018 14:37:42 -0300
> > From: Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com>
> > To: francesco bartoli <xbartolone at gmail.com>
> > Cc: Simone Dalmasso <simone.dalmasso at gmail.com>,  geonode-users
> > <geonode-users at lists.osgeo.org>
> > Subject: Re: [GeoNode-users] GeoNode Project master Docker - Upload
> > layers
> > Message-ID:
> > <CAKTKyJ+hyezqUtBbvwf5HCN5u2_RF43DbcOUKm2g0rmptMMThg at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > ... their default configuration [1] and [2]
> >
> > Kind regards
> >
> > Julierme
> >
> > On Mon, Sep 17, 2018 at 2:36 PM Julierme Pinheiro <
> > juliermeopensourcedeveloper at gmail.com> wrote:
> >
> > > Hi Francesco,
> > >
> > > Thank you very much for your reply. I have GeoNode-Project at 2.7 installed
> > > via Docker in a Centos7 VM and I had edited the templates html (site_base
> > > and site_index) and css file (site_base). GeoNode site was working
> > > smoothly. But lately, after running docker-compose down and right after
> > > docker-compose up, this last command resets the django container (the
> > > container gets a new ID), and why I see that, after running docker-compose
> > > up the templates [1] and static [2] returns to their default configuration.
> > > [1]
> > > https://github.com/GeoNode/geonode-project/tree/2.7/project_name/templates
> > > [2]
> > > https://github.com/GeoNode/geonode-project/tree/2.7/project_name/static/css
> > >
> > > I appreciated your time
> > > Kind regards
> > >
> > > Julierme
> > >
> > >
> > > On Mon, Sep 17, 2018 at 2:02 PM francesco bartoli <xbartolone at gmail.com>
> > > wrote:
> > >
> > > > Hi Julierme,
> > > >
> > > > the master branch is not supposed to be always in a safe docker build, at
> > > > least until we could have time and maybe sponsors to introduce a reliable
> > > > CI/CD procedure.
> > > >
> > > > With regards to the sentence "Django container gets a new one every time
> > > > docker-compose up is run.", can you please elaborate more the issue? Is not
> > > > clear what you are facing with.
> > > >
> > > > Thanks,
> > > > Francesco
> > > >
> > > > Il giorno lun 17 set 2018 alle ore 18:52 Julierme Pinheiro <
> > > > juliermeopensourcedeveloper at gmail.com> ha scritto:
> > > >
> > > > > Hi Simone,
> > > > >
> > > > > I have several instances of GeoNode-Project in different VMs.
> > > > >
> > > > > GeoNode-Project at 2.7 Docker Centos7 VM
> > > > > Issue:
> > > > > Django container gets a new one every time docker-compose up is run.
> > > > >
> > > > > GeoNode-Project at 2master Docker Centos7 VM
> > > > > Issue:
> > > > > Related to upload layers
> > > > > *Unable to
> > > > > usecom.vividsolutions.jts.geom.impl.CoordinateArraySequenceFactory at 32f58c5e
> > > > > to produce CoordinateSequence with dimension 2*
> > > > >
> > > > > Thank you very much for your reply. I appreciated your time.
> > > > >
> > > > > Kind regards
> > > > >
> > > > > Julierme
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Sat, Sep 15, 2018 at 5:18 AM Simone Dalmasso <
> > > > > simone.dalmasso at gmail.com> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > which version of GeoNode are you using. Keep in mind that the
> > > > > > geonode-project branch you use should follow the geonode's version.
> > > > > >
> > > > > > Best
> > > > > >
> > > > > > Il giorno ven 14 set 2018 alle ore 22:37 Julierme Pinheiro <
> > > > > > juliermeopensourcedeveloper at gmail.com> ha scritto:
> > > > > >
> > > > > > > Dear users,
> > > > > > >
> > > > > > > I had geonode-project at 2.7 running perfectly fine, including uploading
> > > > > > > layers. Now, I am running GeoNode-Project at master, but I am unable to
> > > > > > > upload data layers. The following message is shown at the end of the
> > > > > > > uploading layers process:
> > > > > > > *Unable to
> > > > > > > usecom.vividsolutions.jts.geom.impl.CoordinateArraySequenceFactory at 32f58c5e
> > > > > > > to produce CoordinateSequence with dimension 2*
> > > > > > >
> > > > > > > This would not happen on version 2.7
> > > > > > >
> > > > > > > Any comment on this issue would be very appreciated.
> > > > > > >
> > > > > > > Kind regards
> > > > > > >
> > > > > > > Julierme
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > geonode-users mailing list
> > > > > > > geonode-users at lists.osgeo.org
> > > > > > > https://lists.osgeo.org/mailman/listinfo/geonode-users
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Simone
> > > > > >
> > > > > _______________________________________________
> > > > > 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/20180917/a8599a09/attachment-0001.html>
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > geonode-users mailing list
> > geonode-users at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/geonode-users
> >
> >
> > ------------------------------
> >
> > End of geonode-users Digest, Vol 44, Issue 42
> > *********************************************
>
> _______________________________________________
> 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/20180917/9d486a4f/attachment-0001.html>


More information about the geonode-users mailing list