Project

General

Profile

Actions

Defect #12272

closed

Email config - Internal Server Error 500

Added by Cezar Nourescu over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Just installed a fresh copy of Bitnami Redmine VM from the following link http://bitnami.org/stack/redmine, and it works very well.

After i tried to edit the config/configuration.yml file for e-mail notifications i recieve:
@Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.@

result of: RAILS_ENV=production rake about
@ RAILS_ENV=production rake about
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace)
root@linux:~# RAILS_ENV=production rake about --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/opt/bitnami/ruby/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/opt/bitnami/ruby/bin/rake:19:in `load'
/opt/bitnami/ruby/bin/rake:19
@

In redmine log it's no error, just this:
Connecting to database specified by database.yml

My e-mail server is on Google Apps. I used the following configuration:
@# ==== SMTP server at using TLS (GMail) #
  1. This might require some additional configuration. See the guides at:
  2. http://www.redmine.org/projects/redmine/wiki/EmailConfiguration #
    production:
    email_delivery:
    delivery_method: :smtp
    smtp_settings:
    enable_starttls_auto: true
    address: smtp.gmail.com
    port: 587
    domain: my_domain
    authentication: :plain
    user_name: mail_address
    password: pass # #
  3. === More configuration options #
  4. See the "Configuration options" at the following website for a list of the
  5. full options allowed: #
  6. http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
  1. default configuration options for all environments
    #default: # Outgoing emails configuration (see examples above)
  2. email_delivery:
  3. delivery_method: :smtp
  4. smtp_settings:
  5. address: smtp.gmail.com
  6. port: 587
  7. domain: "domain"
  8. authentication: :plain
  9. user_name: "user"
  10. password: "pass"
  11. enable_starttls_auto: true
    @
Actions #1

Updated by Toshi MARUYAMA over 12 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

You need to run "rake" on Redmine root directory.

Actions

Also available in: Atom PDF