Loomio
Sun 14 May 2017 8:07PM

Stand alone loomio install guide

BS Bursuc Sergiu Public Seen by 57

Hi,

I am trying to run a self hosted loomio install on my server. I found the loomio-deploy install guide but it is using docker which is highly unstable and I get many errors after install is complete and the install simply does not run as it should.

Can someone please tell me if there's any how-to, docs or guide that tells how to install the self hosted version of loomio without docker but with all services on one dedicated server instance?

Please let me know.
Thanks in advance.

RG

Robert Guthrie Tue 16 May 2017 12:41AM

The Dockerfile itself is a pretty good guide.

What did you find unstable about docker? Are there any error messages?

RG

Robert Guthrie Tue 16 May 2017 12:43AM

On review, maybe it isnt.

Any guide for running a rails application should do the trick.

RG

Robert Guthrie Tue 16 May 2017 12:44AM

I would recommend to stick with Docker... we chose to do things that way because it's the easiest. Being a small team we can't support more than that at this stage.

BS

Bursuc Sergiu Thu 18 May 2017 8:49PM

Thanks for your input. I simply do not like running things using docker. I do not find it suitable in production environments.

Another concern is that all binaries related to ruby from the loomio docker containers were compiled against the outdated and insecure openssl 1.0.0. I would like to try a different approach with newer ruby, openssl and other packages.

BS

Bursuc Sergiu Fri 19 May 2017 6:56PM

Ok, I have Loomio standalone running on one dedicated server with apache/mod_passenger/ruby 2.3/postgresql 9.6/faye/proxypass/delayed_jobs component and I have one remaining problem.

I can't seem to get the mailing out to work. I get the following in the "delayed_jobs" component logs:

Worker(host:HIDDEN pid:5207)] Job InvitePeopleMailer.to_join_group (id=22) FAILED (5 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
2017-05-19T20:32:45+0200: [Worker(host:HIDDEN pid:5207)] Job InvitePeopleMailer.to_join_group (id=22) FAILED (5 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
[Worker(host:HIDDEN pid:5207)] 1 jobs processed at 0.0166 j/s, 1 failed
2017-05-19T20:32:45+0200: [Worker(host:HIDDEN pid:5207)] 1 jobs processed at 0.0166 j/s, 1 failed

Can you please tell me how does this exactly work?

I can see the mailin container in docker which runs nodejs with the mailin module with a webhook set:
http://loomio:3000/email_processor/

Now if I go to my loomio install at http://HIDDEN/email_processor/ I get:
Sorry, the page you were looking for doesn't exist.

Can you please shed more light on this?
Thanks in advance.

PC

Pablo Costa Thu 8 Jun 2017 4:42PM

I guess mailin is used to manage inbound email, and not to send any emails.

BS

Bursuc Sergiu Fri 19 May 2017 8:21PM

Another question that I have. Does the faye.loomio.domain.com hostname needs to be accessible from outside or is it internal only?

PC

Pablo Costa Thu 8 Jun 2017 5:13PM

faye.loomio.domain.com is contacted by the user's browser.