Redmine won't read configuration.yml
Added by Boris Lysynski about 12 years ago
I get the following message
Email delivery is not configured, and notifications are disabled. Configure your SMTP server in config/configuration.yml and restart the application to enable them.
This is a final install to wwwroot, not sure why it's not reading the config file.
set RAILS_ENV=production ruby script/about
returns:
C:/inetpub/wwwroot/redmine/redmine/vendor/gems/ruby/1.9.1/gems/activesupport-3.2
.11/lib/active_support/dependencies.rb:251:in `block in require': iconv will be
deprecated in the future, use String#encode instead.
Environment:
Redmine version 2.2.2.stable
Ruby version 1.9.3 (i386-mingw32)
Rails version 3.2.11
Environment production
Database adapter SQLite
Redmine plugins:
no plugin installed
Installation using Microsoft Web Platform Installer, Helicon Zoo feed;
O/S:
Windows Server 2008 R2 Standard
Service Pack 1
Replies (5)
RE: Redmine won't read configuration.yml
-
Added by Jean-Baptiste Barth about 12 years ago
Are you sure you have renamed "config/configuration.yml.example" to "config/configuration.yml" and put your parameters in the correct one ? If so that could be a permission problem, don't know how Windows handle them though..
RE: Redmine won't read configuration.yml
-
Added by Boris Lysynski almost 12 years ago
It was a permissions problem - thanks for the help!
RE: Redmine won't read configuration.yml
-
Added by jerome l almost 12 years ago
hi Boris
I have the same problem as you, could you explain what was the problem with your permissions please ?
here is the output of ls my /config's files
total 84K
drwxr-xr-x 2 www-data www-data 4,0K mai 1 17:15 localesrw-r--r- 1 www-data www-data 4,8K mai 1 17:15 settings.ymlrw-r--r- 1 www-data www-data 17K mai 1 17:15 routes.rbrw-r--r- 1 www-data www-data 649 mai 1 17:15 preinitializer.rb
drwxr-xr-x 2 www-data www-data 4,0K mai 1 17:15 environmentsrw-r--r- 1 www-data www-data 592 mai 1 17:15 environment.rbrw-r--r- 1 www-data www-data 1,2K mai 1 17:15 database.yml.examplerw-r--r- 1 www-data www-data 7,0K mai 1 17:15 configuration.yml.examplerw-r--r- 1 www-data www-data 191 mai 1 17:15 boot.rbrw-r--r- 1 www-data www-data 2,6K mai 1 17:15 application.rbrw-r--r- 1 www-data www-data 219 mai 1 17:15 additional_environment.rb.examplerw-r--r- 1 www-data www-data 1,3K juin 9 20:46 database.yml
drwxr-xr-x 2 www-data www-data 4,0K juin 9 20:46 initializersrwxrwxr- 1 www-data www-data 7,0K juin 26 23:03 configuration.yml
thanks for your help :)
PS: i try to use gmail mode.
RE: Redmine won't read configuration.yml
-
Added by Boris Lysynski almost 12 years ago
It ended up being Windows permission, I went to the root directory and changed the owner over to the system for the root and all sub-directories.
Hope that helps.
RE: Redmine won't read configuration.yml
-
Added by jerome l almost 12 years ago
thanks for your answer Boris, in fact it was a problème of yamk incorrect syntax.
now i Know That i must respect the Space indentation :)
see you