Loomio
Fri 8 Apr 2016 2:03PM

Blank dashboard after install with docker

J JosephK Public Seen by 553

Hi,
I'm trying to install Loomio for Framasoft, a french non profit NGO who wants to degooglize the internet :)

And I have the same problem as in this thread : "sing_in" and "sing_up" forms seems to work, I'm redirected on dashboard page but it's blank.
I'm in a "production" environment, inside a docker container, so I'm surprised that I should have to build the Angular app as it saids in the thread.

This is the log file I get on a fresh install.

Is there something to do on my side or the documentation is too fresh (I saw that the loomio-deploy repository is young) ?

RG

Robert Guthrie Wed 13 Apr 2016 4:52AM

Ok I've pushed up the fix. The image will be ready for pull in about 15 minutes from now.
Let me know how it goes.

P.s. hi @bzzrd, thanks for offering a temporary fix!

J

JosephK Wed 13 Apr 2016 12:42PM

Thank you @robertguthrie,

The web part of Loomio seems working fine now but emails are not sent.

This is what I get in docker logs loomiodeploy_worker_1

Sent mail to josephk@~~~~~.org (60095.1ms)
[Worker(host:1e33ed8f6f92 pid:1)] Job InvitePeopleMailer.to_join_group (id=43) FAILED (3 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
2016-04-13T12:30:29+0000: [Worker(host:1e33ed8f6f92 pid:1)] Job InvitePeopleMailer.to_join_group (id=43) FAILED (3 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
[Worker(host:1e33ed8f6f92 pid:1)] Job InvitePeopleMailer.to_join_group (id=27) RUNNING
2016-04-13T12:30:30+0000: [Worker(host:1e33ed8f6f92 pid:1)] Job InvitePeopleMailer.to_join_group (id=27) RUNNING
Rendered application/_mailer_doctype.html.haml (0.5ms)
Rendered invite_people_mailer/to_join_group.html.haml (5.1ms)
Rendered invite_people_mailer/to_join_group.text.haml (1.6ms)

And this in docker logs loomiodeploy_mailin_1

info: Mailin v3.0.3
info: Webhook url: http://web:3000/email_processor/
info: Log file: /var/log/mailin.log
info: Mailin Smtp server listening on port 25
warn: Webhook http://web:3000/email_processor/ seems invalid or down. You may want to double check the webhook url.

It is set in loomio-deploy\docker-compose.yml but it should be changed in the container, I guess.
In the env file, the smtp server is set with our own server on 465 port.

B

Bzzrd Wed 13 Apr 2016 12:48PM

Hi @josephk,

Same problem here with mailgun.

Bzzrd (NuitDebout Lyon)

RG

Robert Guthrie Thu 14 Apr 2016 9:48PM

@josephk Mailin error can safely be ignored. It's just staring before the webserver.

Emails not being sent because workers are not running. I'm trying to fix another bug today but I'll follow up on this after I squish that. The problem is around rake jobs:work and where that is being run.