redmine_issue_template icon indicating copy to clipboard operation
redmine_issue_template copied to clipboard

Install issue on Debian9

Open spinne1000 opened this issue 7 years ago • 0 comments

On a fresh installed Debian9 I installed Redmine with maria-db like described there: https://wiki.debian.org/redmine

It works without problems.

Then I tried to install the redmine_issue_template plugin but bundle exec rake redmine:plugins:migrate RAILS_ENV=production failed with: == 20131021081917 AddStiToIssueTemplates: migrating =========================== -- add_column(:issue_templates, :type, :string) rake aborted! StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Duplicate column name 'type': ALTER TABLE issue_templates ADD type varchar(255)

I changed in: /usr/share/redmine/plugins/redmine_issue_template/db/migrate/20131021081917_add_sti_to_issue_templates.rb to: class AddStiToIssueTemplates < ActiveRecord::Migration def change # add_column :issue_templates, :type, :string add_index :issue_templates, :type end end

The plugin loads, but if I want to add a new ticket, i get the error "there is no status as default defined." But in Administration->Ticket-Status I can not define a default status.

Any hints? :-) Thanks

Environment: Redmine version 3.3.1.stable Ruby version 2.3.3-p222 (2016-11-21) [x86_64-linux-gnu] Rails version 4.2.10 Environment production Database adapter Mysql2 SCM: Git 2.11.0 Filesystem
Redmine plugins: redmine_issue_template 1.0.7

spinne1000 avatar Apr 26 '18 20:04 spinne1000