Loomio
Wed 30 May 2018 10:07PM

Loomio on Raspbian

FA FABRICE ALCINDOR Public Seen by 55

Hi,
As anybody already deployed Loomio on Raspian? If applicable, is there any specific step to follow?

Thx

RG

Robert Guthrie Thu 31 May 2018 7:56AM

Is this for development or production use?

For production we always recommend using our docker based install. See if there is Raspian docker instructions to get started?

Setting up any other way would be time consuming but definitely possible.

FA

FABRICE ALCINDOR Thu 31 May 2018 8:14PM

Hi,
Thanks for your feedback. Yes there is Docker simple install instruction for Raspbian: https://www.nextinpact.com/news/101174-raspberry-pi-installer-simplement-docker-dans-raspbian-jessie.htm

If I understand well, when Docker install, docker based install shall not be a problem.

My idea was to host a personnel instance of loomio, for friends and family use. So quite low traffic. @robertguthrie, do you think a PI 3 can do the job?

RG

Robert Guthrie Fri 1 Jun 2018 9:45AM

It should work, the main concern is memory. We run loomio on 1gb VPS's regularly so I think it will be ok. You may need to create a swap file and it might take few minutes to start the docker container.

FA

FABRICE ALCINDOR Sat 2 Jun 2018 10:21AM

Hi,
Well I will give it a chance and let you know. Many thanks.

FA

FABRICE ALCINDOR Sun 10 Jun 2018 4:13PM

Hi, here a feedback. I followed step of loomio deploy guide to the following step (For information I referred to this to install docker-compose for Rpi):

docker-compose run loomio rake db:setup

I have the following error when process stops:

Digest: sha256:19014354ef104e76404f1f4164d9910d058c7ec279b05e81615ea7671c3d8614
Status: Downloaded newer image for loomio/loomio:stable
standard_init_linux.go:190: exec user process caused "exec format error"

As far as I understood regarding my research on the web, the issue is due to some container that is not built for ARM architecture. Does it seems correct?

RG

Robert Guthrie Sun 10 Jun 2018 7:25PM

Hrrmm.. yes that sounds right. What a snag. Sorry you had to deal with that.

An alternative approach (if you're still happy to experiment) is to setup a development environment then run the app in production mode with

RAILS_ENV=production rails s

I think you can put your configuration ENV's into .env.production

Happy to answer more questions along the way.

FA

FABRICE ALCINDOR Sun 10 Jun 2018 7:55PM

Thank you very much for your feedback. I will try this.

RB

Robin Bels Mon 15 Oct 2018 9:33AM

Is there any new Information about setting up your own loomio on raspberry pi 3 b+?
It would be great. I could need it to organize projects with friends.

RG

Robert Guthrie Tue 23 Oct 2018 1:48AM

Hi Robin, our docker images are compiled for x86 and the raspberry pi is an ARM chip, so you'll need to setup Loomio and it's dependencies manually on your raspberry pi.

Follow this guide for more info: https://help.loomio.org/en/dev_manual/setup_dev_environment/

RB

Robin Bels Tue 23 Oct 2018 9:51PM

Great! Thanks!

Load More