This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Support Forum

#supportforum Any doubts or questions on how to use Decidim? Check them with the Community!

  • The process
  • I have a question
  • Community Tutorials
chevron-left Back to list

Issue with SMTP Configuration

Avatar: Deloustal Deloustal
23/03/2021 20:03  

Hi

I got a problem similar to Louis Elkner-Alfaro's one :

I installed Decidim using the automated script recommended by Platoniq's documentation https://github.com/Platoniq/decidim-install ./install-decidim.sh -u some@email.com -p some-password my-decidim and i ran perfect with no error

I continued with basic configuration here https://github.com/Platoniq/decidim-install/blob/master/basic-config.md

I didn't set SSL up

I am using gmail as my SMTP provider.

I am confident that the issue is not a typo in my decidim.rb, and application.yml files.

I set up my gmail settings allow less secure apps.

Everything looks OK since the command grep ERROR ~/decidim-app/log/production.log -A3 -B3 gives following result : Fichier binaire /home/pretdegilles/decidim-app/log/production.log correspondant

Help appreciated since our village decided to use decidim in order to help for democraty


  • Filter results for category: Decidim Installation Decidim Installation
Endorsements count0
Issue with SMTP Configuration Comments 5

Reference: MDC-PROP-2021-03-16312
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 6113243978a63d776a611e0eb2fdaefefa5118f5d4f6ea9f8d04271b755c3589

Source: {"body":{"en":"<p>Hi</p><p>I got a problem similar to <a href=\"https://meta.decidim.org/profiles/Louis\" target=\"_blank\">Louis Elkner-Alfaro</a>'s one :</p><p>I installed Decidim using the automated script recommended by Platoniq's documentation <a href=\"https://github.com/Platoniq/decidim-install\" target=\"_blank\">https://github.com/Platoniq/decidim-install</a> ./install-decidim.sh -u some@email.com -p some-password my-decidim and i ran perfect with no error</p><p>I continued with basic configuration here <a href=\"https://github.com/Platoniq/decidim-install/blob/master/basic-config.md\" target=\"_blank\">https://github.com/Platoniq/decidim-install/blob/master/basic-config.md</a></p><p>I didn't set SSL up</p><p>I am using gmail as my SMTP provider.</p><p>I am confident that the issue is not a typo in my decidim.rb, and application.yml files.</p><p>I set up my gmail settings allow less secure apps.</p><p>Everything looks OK since the command grep ERROR ~/decidim-app/log/production.log -A3 -B3 gives following result : Fichier binaire /home/pretdegilles/decidim-app/log/production.log correspondant</p><p>Help appreciated since our village decided to use decidim in order to help for democraty</p><p><br></p>"},"title":{"en":"Issue with SMTP Configuration"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/supportforum/f/705/proposals/16312/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/supportforum/f/705/proposals/16312/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

5 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Avatar: Ivan Vergés Ivan Vergés verified-badge
24/03/2021 10:26
  • Get link Get link

Hi, according to you post it seems that your decidim installation is my-decidim and not decidim-app. Can you try grep ERROR ~/my-decidim/log/production.log -A3 -B3.

Also, if you can point to your github (or similar) code, we could take a look at it.

Avatar: Deloustal Deloustal
25/03/2021 18:10
  • Get link Get link

Hi
My folder was decidim-app
I restored the database at the state before creating the organization and re-made the test
The command grep ERROR ~/decidim-app/log/production.log -A3 -B3 returned
----==mimepart605c9d5ae8958_77e1fe6e43421--

E, [2021-03-25T15:25:33.735724 #1918] ERROR -- : [ActiveJob] [ActionMailer::DeliveryJob] [2dbeae08-3fe3-444e-8b2f-468b2516130e] Error performing ActionMailer::DeliveryJob (Job ID: 2dbeae08-3fe3-444e-8b2f-468b2516130e) from Async(mailers) in 3772.25ms: Net::SMTPAuthenticationError (535-5.7.8 Username and Password not accepted.
I re-installed a new linux + decidim with user and password identical to my gmail's and got the same result.
Here is a copy of my present decidim-app http://www.infoadrets.info/nuage/nextcloud/index.php/s/B2r9XfZg4AbqQCm
Thank you for helping

Avatar: Deloustal Deloustal
25/03/2021 18:57
  • Get link Get link

I forgot to tell that I switched from "less secure applications" to an application specific password.
I selected "other device" and gave it the name Linux
Thanks

Avatar: Deloustal Deloustal
25/03/2021 21:45
  • Get link Get link

Again, I forgot to tell that the password that I gave is the "application specific password"
Thanks

Avatar: Deloustal Deloustal
28/03/2021 08:51
  • Get link Get link

I also Unlock Captcha using this link https://accounts.google.com/DisplayUnlockCaptcha and it made no difference with
- an application specific password and Unlock Captcha, neither
- less secure applications and Unlock Captcha

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?