Hi Isreal,

if you could please check the log to find the error and share it here it
would be helpful, there may be a bug.

Then try using instructions like the following to set the SMTP server on
django to use an external one, which is always the best option:

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.you-rdomain.com'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_PORT = 25 # or 587

Beware that if the config is not correct, email sending will fail.

You can set those config options also in the playbook y using the
variable openwisp2_extra_django_settings as indicated in the README of
ansible-openwisp2
<https://github.com/openwisp/ansible-openwisp2#role-variables>.

I hope it helps.

Best
Federico

On Wed, Apr 3, 2019 at 10:17 PM ICore <[email protected]> wrote:

> Hello,
>
> As the title suggest, the server keeps showing a gateway error 500 when I
> try to add a new user within the admin panel.
>
> I have followed the documention and even tried changing database servers
> to mysql to no avail.
>
> I have a domain name but i am using a subdomain for the openwisp2 server
> instance. Right now, LetsEncrypt also fails.
>
> Followed tutorial from:
> https://github.com/openwisp/ansible-openwisp2#usage-tutorial
>
> Openwisp-config is working on all the routers i have added for testing
> purposes. I do not want to deploy template because I need to fix the adding
> new users issue first.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to