redmine_theme_changer icon indicating copy to clipboard operation
redmine_theme_changer copied to clipboard

Issue with database

Open mkaminski9193 opened this issue 5 years ago • 1 comments

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?

mkaminski9193 avatar Jul 17 '19 09:07 mkaminski9193

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 TABLE theme_changer_user_settings (idint NOT NULL AUTO_INCREMENT PRIMARY KEY,user_idint,themevarchar(255),updated_at timestamp 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.

mpauz avatar Sep 11 '19 05:09 mpauz