haru / redmine_theme_changer

57 stars 28 forks source link

Issue with database #11

Open mkaminski9193 opened 5 years ago

mkaminski9193 commented 5 years ago

Hey,

Plugin once downloaded won't go thru further steps. What I did is:

downloaded plugin 0.4.0 version unzip into redmine/plugins bundle install bundle exec rake redmine:plugins:migrate NAME=redmine_theme_changer RAILS_ENV=production And then i received error that database redmine that database redmine.theme_changer is not found

Could you advise me how to fix it and succesfully install plugin?

mpauz commented 5 years ago

I think related bug is when i trying to migrate all plugins (bundle exec rake redmine:plugins:migrate RAILS_ENV=production) i get an error with db settings: Mysql2::Error: Table 'theme_changer_user_settings' already exists: CREATE TABLEtheme_changer_user_settings(idint NOT NULL AUTO_INCREMENT PRIMARY KEY,user_idint,themevarchar(255),updated_attimestamp NULL) ENGINE=InnoDB path: redmine/plugins/redmine_theme_changer/db/migrate/0001_create_theme_changer_user_settings.rb:20:in `up'

That one plugin i'm using more then half year.