The original poster, John_Schwitz, had issues with setting up email on a Bitnami install of Discourse on Google Cloud. They eventually solved the problem by using port 2525 instead of 587, as Google Cloud blocks the latter. They provided logs of various errors encountered, including issues with Sendgrid and PostgreSQL connections.
Others, including codinghorror and Stephen, noted that Bitnami installs are not supported on this forum, and users should contact the package maintainer for assistance. Mackeno also reported issues with using SMTP Gmail, receiving an error message related to application-specific passwords.
Smooth install except I cannot get email to work. I cannot get sendgrid to work with Discourse. I believe the problem is on the server. Enclosed are logs. PROBLEM SOLVED SEE BELOW
PG::UndefinedTable: ERROR: relation "users" does not exist LINE 5: WHERE a.attrelid = '"users"'::regclass ^ : SELECT a.attname,
29 Nov 15
Scoped order and limit are ignored, it's forced to be batch order and batch size
29 Nov 15
Job exception: Network is unreachable - connect(2)
29 Nov 15
42
Job exception: Network is unreachable - connect(2)
1 Jan 10:37 am
30
Job exception: 534-5.7.9 Application-specific password required. Learn more at
Su 5:01 pm
PG::ConnectionBad (FATAL: the database system is shutting down ) /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql_
4:19 pm
5
PG::ConnectionBad (FATAL: the database system is shutting down ) /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql_
4:23 pm
Job exception: FATAL: the database system is shutting down
4:25 pm
7
PG::ConnectionBad (FATAL: the database system is shutting down ) /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/2.0.0/gems/activerecord-4.1.10/lib/active_record/connection_adapters/postgresql_
4:28 pm
19
Job exception: execution expired
4:51 pm
3
Discourse::InvalidParameters (email) /opt/bitnami/apps/discourse/htdocs/app/controllers/users_controller.rb:436:in `change_email'
4:56 pm
Inizio POST "/finish-installation/register" per 221.133.124.208 il 2020-09-07 15:47:17 +0000
Elaborazione da parte di FinishInstallationController#register come HTML
Parametri: {"utf8"=>"✓", "authenticity_token"=>"GFYxTcxnzG29LzHQEMbe5pgysksmSIxPMDctBKXAATFXVaFRXvbyYReyMZpfv5UKfgMzC2pls+COFYOEdMihdg==", "email"=>"tat.t.tran@gmail.com", "username"=>"administrator", "password"=>"[FILTRO]", "commit"=>"Registra"}
Reindirizzamento a http://haitra.xyz/finish-installation/confirm-email
Completato 302 Found in 2007ms (ActiveRecord: 0,0ms | Allocazioni: 203216)
Inizio GET "/finish-installation/confirm-email" per 221.133.124.208 il 2020-09-07 15:47:19 +0000
Elaborazione da parte di FinishInstallationController#confirm_email come HTML
Rendering di finish_installation/confirm_email.html.erb all'interno di layouts/finish_installation
Rendering completato di finish_installation/confirm_email.html.erb all'interno di layouts/finish_installation (Durata: 11,1ms | Allocazioni: 443)
Rendering completato di layouts/_head.html.erb (Durata: 4,5ms | Allocazioni: 304)
Completato 200 OK in 101ms (Viste: 94,0ms | ActiveRecord: 0,0ms | Allocazioni: 3748)
Rendering di layouts/email_template.html.erb
Rendering completato di layouts/email_template.html.erb (Durata: 36,6ms | Allocazioni: 886)
Messaggio consegnato d878748f-69e9-42ae-8252-877d6f6c2e40@haitra.xyz (1046,9ms)
Eccezione del lavoro: 534-5.7.9 Password specifica per l'applicazione richiesta. Ulteriori informazioni disponibili su
Se stai utilizzando Bitnami, che è l’argomento di questa discussione, non possiamo aiutarti. Bitnami non è supportato qui. Dovrai contattare il manutentore del pacchetto per qualsiasi assistenza.