loomio-deploy updated
I've just pushed a reasonably big change up to the loomio/loomio-deploy repo.
The major change here is that we use nginx as a https frontend, and automatically manage issuing and renewing your SSL certificates.
I'm keen to hear how it goes for you.
Robert Guthrie Tue 24 May 2016 10:53AM
Hi, Welcome back.
You can visit the /users/sign_up path to start an account.
FSF1967 Tue 24 May 2016 12:03PM
thank you very much it's working :thumbsup:
it's possible to insert a "create account" link or icon on the login page? how can i do it?
Many thanks
FSF1967 Wed 25 May 2016 9:04AM
after severals tests I have the following comments:
- Loomio-deploy works :thumbsup:
- I'd installed it on virtualmachine with 1go ram (ubuntu server 14.04LTS) so loomio is very slow, so, how much of ram do you recommend for the server?
On the other hand, I have another problem, we do not receive the e-mails of loomio
my smtp setting on env file:
smtp settings
SUPPORT_EMAIL=[email protected]
SMTP_DOMAIN=loomio.mydomain.com
SMTP_SERVER=smtp.fai.net
SMTP_PORT=465
SMTP_USERNAME=[email protected]
SMTP_PASSWORD= mypassword
FAYE_URL=https://faye.loomio.mydomain.com/faye
REPLY_HOSTNAME=loomio.mydomain.com
Extract of the file of log:
worker_1 |
worker_1 | Sent mail to [email protected] (60072.0ms)
worker_1 | [Worker(host:21c6de5ca23f pid:1)] Job ThreadMailer.send (id=705) FAILED (0 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
worker_1 | 2016-05-25T09:06:35+0000: [Worker(host:21c6de5ca23f pid:1)] Job ThreadMailer.send (id=705) FAILED (0 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
worker_1 | [Worker(host:21c6de5ca23f pid:1)] Job ThreadMailer.send (id=706) RUNNING
worker_1 | 2016-05-25T09:06:35+0000: [Worker(host:21c6de5ca23f pid:1)] Job ThreadMailer.send (id=706) RUNNING
Thank you for your help
Andrew McPherson Wed 25 May 2016 10:08AM
There are also other threads in this group where ubuntu 14.04 seems to have issues. See
https://www.loomio.org/d/MFvCj6fc/i-can-t-get-development-environment-running-on-ubuntu-14-04
https://www.loomio.org/d/F0Hw9zAC/how-to-install-loomio-in-ubuntu-14-04-
https://www.loomio.org/d/ar62Nty4/automated-setup-of-development-environment-ubuntu-14-04-lts (This is the thread where you got your loomio working, am including this link for my reference on how to get things setup.)
Andrew McPherson Wed 25 May 2016 10:03AM
SMTP_SERVER should be smtp.mydomain.com
if smtp server does not match smtp domain (loomio.mydomain.com), then it will not be sending through the emails from loomio.
FSF1967 Thu 26 May 2016 2:15PM
Thank you
I'd installed exim4 on my server for smtp smarthost
In env file which is the variable of smtp TLS?
SMTP TLS/SSL required: yes
or
SMTP_TLS_required=yes
or others format?
Thank you
Robert Guthrie Thu 26 May 2016 7:00PM
I think the TLS/SSL setting is automatic.. meaning it will try to use it and fall back if it is not available.
FSF1967 Fri 27 May 2016 8:37AM
pfff loomio always don't send email so it's not completely working
I'd installed exim4 on my server, and my server can send emails (tested)
I connect on loomio and loomio not sending e-mails.
i try to modified env file like describe here https://www.digitalocean.com/community/tutorials/how-to-use-google-s-smtp-server, no result
i always have this error message:
worker_1 | Sent mail to [email protected] (60043.0ms)
worker_1 | [Worker(host:d49fd2a2ca42 pid:1)] Job InvitePeopleMailer.to_join_group (id=885) FAILED (0 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
worker_1 | 2016-05-27T08:27:41+0000: [Worker(host:d49fd2a2ca42 pid:1)] Job InvitePeopleMailer.to_join_group (id=885) FAILED (0 prior attempts) with Net::ReadTimeout: Net::ReadTimeout
when i'm restarting docker i see theses logs
mailin_1 | info: Mailin v3.0.3
mailin_1 | info: Webhook url: http://loomio:3000/email_processor/
mailin_1 | info: Log file: /var/log/mailin.log
mailin_1 | info: Mailin Smtp server listening on port 25
mailin_1 | warn: Webhook http://loomio:3000/email_processor/ seems invalid or down. You may want to double check the webhook url.
this is my env file:
this is the hostname of your app used by loomio
CANONICAL_HOST=loomio.domain.com
this is to tell nginx that you want requests for this hostname to come to the app
VIRTUAL_HOST=loomio.domain.com
this is to configure letsencrypt to automatically issue and renew your hostname
LETSENCRYPT_HOST=loomio.domain.com
LETSENCRYPT_EMAIL=[email protected]
the number of dots in your hostname
TLD_LENGTH=2
smtp settings
SUPPORT_EMAIL=[email protected]
SMTP_DOMAIN=emailprovider.net
SMTP_SERVER=smtp.emailprovider.net
SMTP_PORT=465
SMTP_USERNAME=[email protected]
SMTP_PASSWORD=mypassword
FAYE_URL=https://faye.loomio.domain.com/faye
REPLY_HOSTNAME=loomio.domain.com
helper bot is the account which welcomes people to their groups.
HELPER_BOT_EMAIL=[email protected]
RAILS_ENV=production
FORCE_SSL=1
DEVISE_SECRET=8BE......................Lka4hD
SECRET_COOKIE_TOKEN=7hhnak...............QZuEoJ
PRIVATE_PUB_SECRET_TOKEN=JxUU2L8.............HcKG1uC4LWk
I don't understand what's happening and why it's don't works
Andrew McPherson Fri 27 May 2016 8:55AM
It looks like support_email is not the same domain as smtp_domain
so perhaps the email not coming from the same domain name is your problem ?
FSF1967 · Tue 24 May 2016 8:17AM
Hi everybody
sorry for my long silence due to holidays and other priorities in my job.
So i have installed an apache reverse proxy server in my local network (hard to configure to works with nginx loomio server) and now i can access to my local loomio server with the address https://loomio.mydomain.com, it's great.
but i have a problem again
When I want to log me, the server does not recognize my email adress and password. So i clic on "forgot password" icon, enter my email adress and the system tell me that my email adress is invalid.
How can i solved this problem?
There is a login and a password by default for an admin or for the manual creation of the users?
Thank you for your help.