[GeoNode-users] GeoNode Docker Installation

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Mon Jul 23 15:16:39 PDT 2018


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
#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> 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"
> 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") 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'
>  ---> Running in 2d761040c8cf
> /bin/sh: wget 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''
> 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"
>
> I appreciated your help.
>
> Kind regards
>
> Julierme
>
>
> On Mon, Jul 23, 2018 at 3:46 PM, Toni Schönbuchner <
> 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" --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"
>>
>> Cheers toni
>>
>> Am 23.07.2018 um 19:06 schrieb Julierme Pinheiro <
>> 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/v
>> 1.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/v
>> 1.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 (5.153.250.7:443)
>> ssl_client: 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'
>> returned a non-zero code: 1
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180723/5df87d5b/attachment.html>


More information about the geonode-users mailing list