Project

General

Profile

Problem during the installation with sqlite3 and redmine 0.8

Added by Hasan Ozdil almost 16 years ago

Hi,

I have installed ruby, rails, gems, ... correctly I think : I have launched the test_rails project without any problem.

I have then get redmine through svn
I don't have any mysql and I don't like it so I would like to user sqlite.

I have so changed the production database configuration to use sqlite3 (Actually I have copy/paste the demo configuration)

When I install the database with the rake command the result is :

---------------------------------------------------------------------------------------
...

-- create_table("users", {:force=>true})
> 0.0067s
-
create_table("versions", {:force=>true})
> 0.0059s
-
add_index("versions", ["project_id"], {:name=>"versions_project_id"})
> 0.0028s
-
create_table("workflows", {:force=>true})
-> 0.0059s
rake aborted!
Could not find table 'permissions'

(See full trace by running task with --trace)
----------------------------------------------------------------------------------------

So it couldn't find permissions table.

The default data could not be installer either.

Any idea on how to resolve this ?

Thx,
Hasan


Replies (1)

RE: Problem during the installation with sqlite3 and redmine 0.8 - Added by Yassen Damyanov almost 16 years ago

Hasan: I don't use sqlite (at least not with Rails) so no practical help available; but just trying to be useful out of common sense: have you read this page already: http://weblog.rubyonrails.org/2007/1/29/using-sqlite3-with-rails ?

    (1-1/1)