[GeoNode-users] GeoNode Docker Installation

Toni Schönbuchner toni.schoenbuchner at csgis.de
Wed Jul 25 07:54:29 PDT 2018


Dear Julierme,

this is really great to hear! Yes indeed the docker and docker-compose installations
are a bit different compared to Ubuntu. But it seems you did quite good ;)
(the internet is full of installation guides)

I would suggest to get more familiar with docker, backup migration of data and
customizations. It´s really a great environment !

Temperature Leipzig / Germany	32°
Temperature Sao Paulo			20 °

;))

Best greetings

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 25.07.2018 um 16:48 schrieb Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com>:
> 
> Dear Toni,
> 
> Thank you very much for the advises, information and  video 21':26" long. I appreciated your work, help and time.
> 
> I made it.
> 
> I followed your entire video to install GeoNode in a CentOS7 VM. 
> 
> The only thing I had to do was to install docker and docker-compose for a CentOS7. From cloning the repository (git clone https://github.com/GeoNode/geonode.git <https://github.com/GeoNode/geonode.git>) on, all works the same as Ubuntu, If I am not mistaking something. GeoNode is up and running smoothly.
> 
> I did not find a GeoNode Docker installation tutorial for CentOS, if you want, I can share the steps I had to go through to get it installed.
> 
> Thank you very much for the video.
> 
> Kind regards
> 
> Julierme
> 
> 
> On Tue, Jul 24, 2018 at 4:13 AM, Toni Schönbuchner <toni.schoenbuchner at csgis.de <mailto:toni.schoenbuchner at csgis.de>> wrote:
> Dear Julierme,
> 
> the rclone setup is specific to SPCGeoNode. Unfortunately I cannot explain what´s going
> wrong here. 
> 
> My advise would be to file an issue for Oliver at SPC Geonode repository: 
> https://github.com/olivierdalang/SPCgeonode/issues <https://github.com/olivierdalang/SPCgeonode/issues>
> To make sure all Information is there to solve your problem you can have a look at this Issue template:
> https://gist.github.com/t-book/5dda86218b0bc6e8f958339f1bf67f68 <https://gist.github.com/t-book/5dda86218b0bc6e8f958339f1bf67f68>
> 
> In between I would suggest to try the official GeoNode Docker Stack. Therefore I´ve recorded
> a little Video for you which guides you through the steps: 
> https://vimeo.com/281179387?utm_source=email&utm_medium=vimeo-cliptranscode-201504&utm_campaign=29220 <https://vimeo.com/281179387?utm_source=email&utm_medium=vimeo-cliptranscode-201504&utm_campaign=29220>
> 
> As this is with Ubuntu and installing docker might work a bit different under centos you can directly jump
> to Minute 2:10. There you see the the hello-world test which makes sure docker is up and running
> correctly. 
> 
> Let me know if you have problems.
> 
> Best,
> 
> Toni
> 
> 
> -----------------------------------------------
> CSGIS
> 
> -----------------------------------------------
> Kolonnadenstraße 1 <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
> 04109 Leipzig <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
> -----------------------------------------------
> Mobil	+49/ (0) 176 6680 3198
> Tel 		+49/ (0) 341 24 04 738
> Fax 		+49/ (0) 341 24 04 73
> Web		http://csgis.de <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 24.07.2018 um 00:16 schrieb Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com <mailto:juliermeopensourcedeveloper at gmail.com>>:
>> 
>> Hi Toni,
>> 
>> It is not something very fancy and I am not sure if I can do that without causing another problem, but I did the following in order to have the command (
>> docker-compose -f docker-compose.yml up -d --build) running from its begin to the end.
>> 
>> 1 - I downloaded the file via wget 
>>  <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>2 - I unzipped the file  rclone-v1.39-linux-amd64.zip
>> 3 - I removed the file rclone-v1.39-linux-amd64.zip
>> 4 - I moved the file rclone-v1.39-linux-amd64.zip to /usr/bin
>> 5 - I commented the following line in the Dockerfile
>> # 3. Install Rclone
>> #RUN wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>
>> #RUN unzip /rclone-v1.39-linux-amd64.zip
>> #RUN rm /rclone-v1.39-linux-amd64.zip
>> #RUN mv /rclone-v1.39-linux-amd64/rclone /usr/bin
>> 
>> I appreciated you time
>> 
>> Kind regards
>> 
>> Julierme
>> 
>> 
>> 
>> 
>> 
>> 
>> On Mon, Jul 23, 2018 at 4:51 PM, Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com <mailto:juliermeopensourcedeveloper at gmail.com>> wrote:
>> Thank you very much for your reply Toni. Yes, the wget you sent in the previous e-mail works. I realized that if I run this command /bin/sh -c "wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>" with wget between double quotes works too. I tried setting the wget between quotes (RUN "wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>") in ./SPCgeonode/_service_rclone/Dockerfile and got the following error:
>> 
>> Step 3/17 : RUN 'wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>'
>>  ---> Running in 2d761040c8cf
>> /bin/sh: wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>: not found
>> ERROR: Service 'rclone' failed to build: The command '/bin/sh -c 'wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>'' returned a non-zero code: 127
>> 
>> I am still tweaking through the Dockerfile in order to build something similar to /bin/sh -c "wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>"
>> 
>> I appreciated your help.
>> 
>> Kind regards
>> 
>> Julierme
>> 
>> 
>> On Mon, Jul 23, 2018 at 3:46 PM, Toni Schönbuchner <toni.schoenbuchner at csgis.de <mailto:toni.schoenbuchner at csgis.de>> wrote:
>> Hi Julierme,
>> 
>>  does it work when you spoof a Major Browser?
>> 
>> wget "https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>" --user-agent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 <http://2.0.0.6/>"
>> Cheers toni
>> 
>> Am 23.07.2018 um 19:06 schrieb Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com <mailto:juliermeopensourcedeveloper at gmail.com>>:
>> 
>>> Dear GeoNode users,
>>> 
>>> I got all the prerequisites stated by @olivierdalang <https://github.com/olivierdalang/SPCgeonode> installed in CentOS VM. During step 3/17:  "RUN wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>", related to the container ID "dbf265cb3519", I got an error message bellow and I wonder if this error is related to firewall. My first guess is not, because the download windows is shown while accessing the link https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip> in the browser.
>>> Any hint on that will be very appreciated? 
>>> 
>>> Thank you for your time and help in advance.
>>> 
>>> Kind regards
>>> 
>>> Julierme
>>> 
>>> Error Message:
>>> 
>>> Connecting to downloads.rclone.org <http://downloads.rclone.org/> (5.153.250.7:443 <http://5.153.250.7:443/>)
>>> ssl_client: downloads.rclone.org <http://downloads.rclone.org/>: TLS connect failed
>>> wget: error getting response: Connection reset by peer
>>> ERROR: Service 'rclone' failed to build: The command '/bin/sh -c wget https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip <https://downloads.rclone.org/v1.39/rclone-v1.39-linux-amd64.zip>' returned a non-zero code: 1
>>> 
>> 
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180725/39ba3c94/attachment-0001.html>


More information about the geonode-users mailing list