Project

General

Profile

How to install Redmine with SQLite3 ?

Added by Cédric wat about 13 years ago

Hello,

I try to install Redmine with SQLite3 on Windows.
When i run the command "rake redmine:load_default_data", i obtain the
following error :
Error: SQLite3::SQLException: no such table: roles: SELECT * FROM "roles" WHERE LIMIT 1
Default configuration data was not loaded.

I have just create a database with instruction :
sqlite3 redmine

Maybe is not enought ?
I have put this database in root directory of Redmine.

Content of my database.yml file :
---------------------------------
production:
adapter: sqlite3
database: redmine
host: localhost
username: redmine
password: my_password
encoding: utf8

My local Gems :
---------------
actionmailer (2.3.11, 2.3.5)
actionpack (2.3.11, 2.3.5)
activerecord (2.3.11, 2.3.5)
activeresource (2.3.11, 2.3.5)
activesupport (2.3.11, 2.3.5)
i18n (0.4.2)
rack (1.1.2, 1.1.1, 1.0.1)
rails (2.3.11, 2.3.5)
rake (0.8.7)
rubygems-update (1.6.2)
sqlite3 (1.3.4 x86-mingw32)
sqlite3-ruby (1.3.3)


Replies (2)

RE: How to install Redmine with SQLite3 ? - Added by Etienne Massip about 13 years ago

Read RedmineInstall, you need to run database migration task first.

RE: How to install Redmine with SQLite3 ? - Added by Cédric wat about 13 years ago

Now, it's ok, Redmine is running.
Thank you Etienne.

    (1-2/2)