Defect #12272
closedEmail config - Internal Server Error 500
0%
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, you@example.com 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
@# ==== SMTP server at using TLS (GMail) #
- This might require some additional configuration. See the guides at:
- 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 # # - === More configuration options #
- See the "Configuration options" at the following website for a list of the
- full options allowed: #
- http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
- default configuration options for all environments
#default: # Outgoing emails configuration (see examples above) - email_delivery:
- delivery_method: :smtp
- smtp_settings:
- address: smtp.gmail.com
- port: 587
- domain: "domain"
- authentication: :plain
- user_name: "user"
- password: "pass"
- enable_starttls_auto: true
@
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.