Loomio
Fri 29 Apr 2016 12:37AM

loomio-deploy updated

RG Robert Guthrie Public Seen by 74

I've just pushed a reasonably big change up to the loomio/loomio-deploy repo.

The major change here is that we use nginx as a https frontend, and automatically manage issuing and renewing your SSL certificates.

I'm keen to hear how it goes for you.

F

FSF1967 Sat 30 Apr 2016 9:44AM

I installed the new loomio-deploy yesterday on my server by using the dns from ovh for the rerouting to my public ip, and my UTM https proxy does a snat to the ip of my loomio VM.

The UTM https proxy works perfectly with all my apache servers.

I had no error message during the installation

When i open the url https://loomio.mydomain.com i have this message:

Failure of the secure connection
The connection with loomio.mydomain.com was interrupted during the load of the page.

Thank you for your help

RG

Robert Guthrie Sun 1 May 2016 4:54AM

Sorry but I don't know what a UTM proxy is. If you access the host directly does it work?

F

FSF1967 Mon 2 May 2016 7:10AM

Hello

I'd tried this morning to connect to loomio with the URL https://IP_of_my_loomio_vm it's doesn't work

I have this message:

Connexion failed
firefox can't established connexion with server 172.16.0.85.

this is the result of docker ps:

docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4fdebe49d4cb jrcs/letsencrypt-nginx-proxy-companion "/bin/bash /app/entry" 2 days ago Up 2 days loomiodeploy_letsencrypt_1
f48a2113cb1b jwilder/nginx-proxy "/app/docker-entrypoi" 2 days ago Up 2 days 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp loomiodeploy_nginx_1
7bea4d788027 loomio/mailin-docker "/bin/sh -c 'mailin -" 2 days ago Up 2 days 25/tcp, 0.0.0.0:32768->1525/tcp loomiodeploy_mailin_1
acbcaa912ba2 loomio/loomio "/bin/sh -c 'bundle e" 2 days ago Up 2 days 3000/tcp loomiodeploy_loomio_1
6d54ce57b7ab loomio/loomio "bundle exec rake job" 2 days ago Up 2 days 3000/tcp loomiodeploy_worker_1
8ebb1c6d55b0 loomiodeploy_faye "/bin/sh -c 'thin --p" 2 days ago Up 2 days 3000/tcp loomiodeploy_faye_1
fce6a5608c50 postgres "/docker-entrypoint.s" 2 days ago Up 2 days 5432/tcp loomiodeploy_db_1

F

FSF1967 Wed 4 May 2016 9:22AM

Not having touched the server since last week so I have just tried to connect with the local url (https://172.16.0.85) and here is the return which I have:

503 Service Temporarily Unavailable
nginx/1.9.12

all docker service always run and i'm using Ubuntu server 14.04 LTS

Thank you for your help

RG

Robert Guthrie Wed 4 May 2016 9:22PM

If it's saying that, and you just started it... you might just need to wait another 30 seconds for it to finish booting. Otherwise, look at the logs docker-compose logs and see what the rails server is saying.

F

FSF1967 Mon 9 May 2016 7:30AM

hi

i always have this message
503 Service Temporarily Unavailable
nginx/1.9.12

I do have an error related to let's encrypt (see file)

RG

Robert Guthrie Mon 9 May 2016 7:33AM

It's saying that let's encrypt is not able to verify you are the owner of the domain.

I've had that error before and in my case I fixed it by opening port 80, because letsencrypt needs port 80 and 443 to do it's job.

F

FSF1967 Mon 9 May 2016 8:52AM

thank you

So i have just opened the port 80

How can i regen the letsencrypt validation?

RG

Robert Guthrie Mon 9 May 2016 9:02AM

It should automatically retry when you restart it. Check the logs again.

F

FSF1967 Mon 9 May 2016 9:37AM

i restarted the server, and do a docker-compose up -d for start loomio server

docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
4fdebe49d4cb jrcs/letsencrypt-nginx-proxy-companion "/bin/bash /app/entry" 9 days ago Up 22 minutes loomiodeploy_letsencrypt_1
f48a2113cb1b jwilder/nginx-proxy "/app/docker-entrypoi" 9 days ago Up 22 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp loomiodeploy_nginx_1
7bea4d788027 loomio/mailin-docker "/bin/sh -c 'mailin -" 9 days ago Up 22 minutes 25/tcp, 0.0.0.0:32768->1525/tcp loomiodeploy_mailin_1
acbcaa912ba2 loomio/loomio "/bin/sh -c 'bundle e" 9 days ago Up 22 minutes 3000/tcp loomiodeploy_loomio_1
6d54ce57b7ab loomio/loomio "bundle exec rake job" 9 days ago Up 22 minutes 3000/tcp loomiodeploy_worker_1
8ebb1c6d55b0 loomiodeploy_faye "/bin/sh -c 'thin --p" 9 days ago Up 22 minutes 3000/tcp loomiodeploy_faye_1
fce6a5608c50 postgres "/docker-entrypoint.s" 10 days ago Up 22 minutes 5432/tcp loomiodeploy_db_1

the logs are the same, there are no news logs

Load More