Loomio on Raspbian
Hi,
As anybody already deployed Loomio on Raspian? If applicable, is there any specific step to follow?
Thx
- Install Docker on Raspian Jessie/Stretch
- Test Docker Installation: [sudo] docker run hello-world
- Get docker-compose on Rpi2
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?
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.
Hi,
Well I will give it a chance and let you know. Many thanks.
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?
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.
Thank you very much for your feedback. I will try this.
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.
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/
Great! Thanks!
FYI - I just updated the setup dev environment document so it's current as of this week.
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.