Loomio
Thu 21 Nov 2019 4:56PM

Loomio not running after update

MM Michael McKinsey Public Seen by 46

Hi,

I have been running a loomio install for quite some time (years). It has been a long time since I did an update.

I ran the following:

cd loomio-deploy/

docker-compose down

docker-compose pull

docker-compose run app rake db:migrate

ERROR: No such service: app

I upgraded docker, and did a general update on my system, which is Ubuntu 14.04. I had to do a kernel update to get docker running after the update, but that seems to be working fine.

When I use:

docker-compose up -d

I end up with a:

502 Bad Gateway


nginx/1.17.5

When looking at:

docker-compose logs -f

I am getting a massive amount of scrolling text, it is difficult to pull out what might be important, it just keeps cycling through and shooting out massive lists of text.

I will include some snipits from the log in the hopes it may help. Any advice as to how to proceed would be great.

Thanks!

RG

Robert Guthrie Fri 22 Nov 2019 12:11AM

no, the "dot env" file ie: .env

MM

Michael McKinsey Fri 22 Nov 2019 3:34AM

root@loomio:~/loomio-deploy# more .env
LOOMIO_CONTAINER_IMAGE=loomio/loomio
LOOMIO_CONTAINER_TAG=latest
MAILIN_CONTAINER_IMAGE=loomio/mailin-docker
MAILIN_CONTAINER_TAG=latest
POSTGRES_CONTAINER_TAG=9.6
RG

Robert Guthrie Fri 22 Nov 2019 3:44AM

I have seen this issue recently with someone else. So It's a thing. I'll see if I can find some energy to look properly over the next few days.

MM

Michael McKinsey Fri 22 Nov 2019 3:57AM

I am poking around in the dark a bit, could it be the ruby version? Whatever it is the update broke it in the same way on the old box as the new fresh 18.04 install.

RG

Robert Guthrie Fri 22 Nov 2019 4:03AM

is it a cloud VPS?

MM

Michael McKinsey Fri 22 Nov 2019 5:14AM

It is a KVM virtual machine running on a bare metal server I have in a DC

RG

Robert Guthrie Fri 22 Nov 2019 5:53AM

Oh I know! Maybe you can just build it yourself!

put a copy of the loomio repo into your loomio-deploy folder:

git clone [email protected]:loomio/loomio.git (or maybe the https url?)

and modify docker-compose.yml to look a bit like this (I've added build and commented image)

MM

Michael McKinsey Sat 23 Nov 2019 4:12AM

hmmm I guess I can go down that road, but then updates will be a hassle it would seem. Although this update has brought the server down and not sure I can recover it so hard to be any worse I guess.

RG

Robert Guthrie Sat 23 Nov 2019 4:50AM

It’s super easy to update the source. Hit pull origin master. And you can always switch back to an image later if they start working for you.

MM

Michael McKinsey Sat 23 Nov 2019 4:56AM

okay I will give it a shot - sorry to take your time and I appreciate your availability. I was an original contributor to the project in the first crowd funding and I love Loomio. I am always trying to get orgs I work with to use it, and I hope I can get this back up in time to not have people think it is a bad idea to use it.

Load More