Project

General

Profile

Redmine 1.3 - Problem while load_default_data

Added by Daniel Camargo about 12 years ago

Hi,
Any ideas of what that might be:

Steps:

jruby -S rake generate_session_store

OK

jruby -S rake db:migrate RAILS_ENV=production

OK

jruby -S rake redmine:load_default_data RAILS_ENV=production

Select language: ar, bg, bs, ca, cs, da, de, el, en, en-GB, es, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en] ====================================
Error: Validation failed: Name has already been taken
Default configuration data was not loaded.

I am using jruby with the following list of gems:

/opt/jruby/lib/ruby/gems/1.8/gems/
|-- actionmailer-2.3.14
|-- actionpack-2.3.14
|-- activerecord-2.3.14
|-- activerecord-jdbc-adapter-0.9.7-java
|-- activerecord-jdbc-adapter-1.2.2
|-- activerecord-jdbcpostgresql-adapter-0.9.7-java
|-- activerecord-jdbcpostgresql-adapter-1.2.2
|-- activeresource-2.3.14
|-- activesupport-2.3.14
|-- bouncy-castle-java-1.5.0146.1
|-- columnize-0.3.1
|-- darcs-ruby-0.0.1
|-- i18n-0.4.2
|-- jdbc-postgres-9.1.901
|-- jruby-jars-1.6.5.1
|-- jruby-openssl-0.7.5
|-- jruby-rack-1.0.10
|-- linecache-0.46-java
|-- rack-1.1.3
|-- rails-2.3.14
|-- rake-0.8.7
|-- rdoc-2.4.2
|-- rspec-1.3.0
|-- rubygems-update-1.6.2
|-- rubytree-0.5.2
|-- rubyzip-0.9.5
|-- sources-0.0.1
`-- warbler-1.3.2

Replies (3)

RE: Redmine 1.3 - Problem while load_default_data - Added by Ryan Calder about 12 years ago

Daniel, did you get past this error?

RE: Redmine 1.3 - Problem while load_default_data - Added by Daniel Camargo about 12 years ago

Yes, I did!

The script is still failing but you can load the default data using a feature in Redmine itself.

Just sign in as admin and Redmine will realise that you need to load the default data and show a warning message with a button (or link) to help you do so.

Can you please check if the file upload is working in you system? I can't get it working in here.

Tell me if you need anything else.

    (1-3/3)