Project

General

Profile

Problem installing plugins - No such file or directory - C:/redmine-0.8/config/database.yml

Added by Steven Bialecki over 15 years ago

Hello,
I've been searching all over the forums and google but i can't seem to find an answer to my problem.

I'm trying to run

rake db:migrate_plugins RAILS_ENV=production

from my Redmine installation folder and the error I'm receiving is

No such file or directory - C:/redmine-0.8/config/database.yml

My software versions are:
Redmine version is Redmine-0.8
Ruby - ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

Gem versions:
rails (2.2.2, 2.1.2)
rake (0.8.7, 0.7.3)
mysql (2.8.1)

I used the BitNami installation .exe to install the server.
The server OS is Windows Server 2008 Standard

I've also ensure my user account has Full Control to read/write files on this directory, and the file does exist.

the configuration for the production database is

production:
adapter: mysql
database: redmine
host: localhost
username: root
password:
encoding: utf8

If you have any ideas i would greatly appreciate your response


Replies (2)

RE: Problem installing plugins - No such file or directory - C:/redmine-0.8/config/database.yml - Added by Eric Davis over 15 years ago

Steven Bialecki wrote:

from my Redmine installation folder and the error I'm receiving is

No such file or directory - C:/redmine-0.8/config/database.yml

That error is saying you haven't configured your database yet. Redmine comes with an example database configuration file (config/database.yml.example), did you put your configuration in there instead of config/database.yml?

Eric Davis

RE: Problem installing plugins - No such file or directory - C:/redmine-0.8/config/database.yml - Added by Steven Bialecki over 15 years ago

Okay nevermind. I thought i had the database.yml file in the folder, but i had the hide file extensions setting on. It was actually database.yml.example. This post should be closed.

    (1-2/2)