This forum is no longer active. Please post your questions to our new community site

Forums Redmine

Maybe a problem? Not all the "Custom fields" have been restored when restore the redmine_backup.sql.

Subscribe to Maybe a problem? Not all the "Custom fields" have been restored when restore the redmine_backup.sql. 6 post(s), 4 voice(s)

 
Avatar xiaoyu.yin 14 post(s)

I have 9 “custom fields”, but only 2 were restored after restoring redmine_backup.sql .

 
Avatar xiaoyu.yin 14 post(s)

Addition:
It happened on 0.9.4 when restore redmine_backup.sql created by 0.9.3. And I have test that on 0.9.4 when restore the file created by 0.9.4, the issue not happened, the "custom fields " are correctly restored.
And this issue can be reproduced.

 
Avatar carlos Administrator 144 post(s)

Hi,

Have you run migrations after recovering the database from 0.9.3 ?

cd ${installdir}/apps/redmine
rake db:migrate RAILS_ENV=production

If that is not enough you may try copying the file apps/redmine/config/settings.yml from old version

I hope it helps

 
Avatar xiaoyu 1 post

Thanks! I’ll try it :)

 
Avatar xiaoyu.yin 14 post(s)

I have test it. The migrate command runs ok, but the problem still exist. Even I copy the file setting.yml, the problem still exist.

 
Avatar danoo Administrator 81 post(s)

Did you finally solve this issue ?

Danoo

Forums Redmine