Bitnami install on Google Cloud / Smooth except EMAIL

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

GOOGLE CLOUD BLOCKS 587 I USED 2525.
Link to Google Docs:

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

Unfortunately, we can’t support the Bitnami install, sorry. We only support standard installs here due to time constraints.

I’m using SMTP Gmail, get error :

Started POST "/finish-installation/register" for 221.133.124.208 at 2020-09-07 15:47:17 +0000
Processing by FinishInstallationController#register as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"GFYxTcxnzG29LzHQEMbe5pgysksmSIxPMDctBKXAATFXVaFRXvbyYReyMZpfv5UKfgMzC2pls+COFYOEdMihdg==", "email"=>"tat.t.tran@gmail.com", "username"=>"administrator", "password"=>"[FILTERED]", "commit"=>"Register"}
Redirected to http://haitra.xyz/finish-installation/confirm-email
Completed 302 Found in 2007ms (ActiveRecord: 0.0ms | Allocations: 203216)
Started GET "/finish-installation/confirm-email" for 221.133.124.208 at 2020-09-07 15:47:19 +0000
Processing by FinishInstallationController#confirm_email as HTML
  Rendering finish_installation/confirm_email.html.erb within layouts/finish_installation
  Rendered finish_installation/confirm_email.html.erb within layouts/finish_installation (Duration: 11.1ms | Allocations: 443)
  Rendered layouts/_head.html.erb (Duration: 4.5ms | Allocations: 304)
Completed 200 OK in 101ms (Views: 94.0ms | ActiveRecord: 0.0ms | Allocations: 3748)
  Rendering layouts/email_template.html.erb
  Rendered layouts/email_template.html.erb (Duration: 36.6ms | Allocations: 886)
Delivered mail d878748f-69e9-42ae-8252-877d6f6c2e40@haitra.xyz (1046.9ms)
Job exception: 534-5.7.9 Application-specific password required. Learn more at

If you’re using bitnami, which is the subject of this topic, then we cannot help you. Bitnami isn’t supported here. You will need to contact the package maintainer for any assistance.

1 Like