C:\Bitnami\redmine-4.2.0-1\apps\redmine\htdocs>bundle install Your Gemfile lists the gem redmine_extensions (>= 0) more than once. You should probably keep only one of them. Remove any duplicate entries and specify the gem only once. While it’s not a problem now, it could cause errors if you change the version of one of them later. Fetching source index from https://mirrors.tuna.tsinghua.edu.cn/rubygems/ Resolving dependencies.... chartkick-5.1.4 requires ruby version >= 3.1, which is incompatible with the current version, ruby 2.6.6p146
我装的是最开始的2.0.0版本,在安装这个插件迁移数据库时,发现了这个报错,查看了信息,我把对应/issue_charts/db/migrate/这个路径下的7个文件中的对应的版本改成了[5.2],最终是能顺利迁移。 我现在是在测试环境测试,但这个如果上线到正式环境后,是否会影响到我其他插件的使用???我看到其他插件中的db/migrate这个路径文件夹的文件中,很多都是指向[4.2]或者为空。 提示报错如下: 执行:rake redmine:plugins:migrate RAILS_ENV=production 报错提示: <in /usr/src/redmine> rake aborted standardError:An error has occurred,all later migrations canceled: directlu inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for: class CreateCharts < ActiveRecord::Migration[4.2] /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:528:in `inherited’ /usr/src/redmine/plugins/issue_charts/db/migrate/006_add_issue_status_to_charts.rb:1:in `<top (required)>' /usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require’ /usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency’ /usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:986:in `load_migration’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:982:in `migration’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:977:in `disable_ddl_transaction’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1350:in `use_transaction?' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1342:in `ddl_transaction’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1263:in `block in migrate_without_lock’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `each’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `migrate_without_lock’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `block in migrate’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1363:in `with_advisory_lock’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `migrate’ /usr/src/redmine/lib/redmine/plugin.rb:542:in `up’ /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1011:in `migrate’ /usr/src/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin’ /usr/src/redmine/lib/redmine/plugin.rb:515:in `migrate’ /usr/src/redmine/lib/redmine/plugin.rb:529:in `block in migrate’ /usr/src/redmine/lib/redmine/plugin.rb:528:in `each’ /usr/src/redmine/lib/redmine/plugin.rb:528:in `migrate’ /usr/src/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>' /usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Caused by: StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class AddIssueStatusToCharts < ActiveRecord::Migration[4.2] /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:528:in `inherited' /usr/src/redmine/plugins/issue_charts/db/migrate/006_add_issue_status_to_charts.rb:1:in `<top (required)>' /usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require' /usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency' /usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:986:in `load_migration' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:982:in `migration' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:977:in `disable_ddl_transaction' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1350:in `use_transaction?' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1342:in `ddl_transaction' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1263:in `block in migrate_without_lock' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `each' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `migrate_without_lock' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `block in migrate' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1363:in `with_advisory_lock' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `migrate' /usr/src/redmine/lib/redmine/plugin.rb:542:in `up' /usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1011:in `migrate' /usr/src/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin' /usr/src/redmine/lib/redmine/plugin.rb:515:in `migrate' /usr/src/redmine/lib/redmine/plugin.rb:529:in `block in migrate' /usr/src/redmine/lib/redmine/plugin.rb:528:in `each' /usr/src/redmine/lib/redmine/plugin.rb:528:in `migrate' /usr/src/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>' /usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>' Tasks: TOP => redmine:plugins:migrate (See full trace by running task with --trace)
【1.3.0_3 】 安装提示这个错误,寻找了各种方法,都不行~ F:\Bitnami\redmine-5.0.3-0\apps\redmine\htdocs>bundle install Your Gemfile lists the gem redmine_crm (>= 0) more than once. You should probably keep only one of them. Remove any duplicate entries and specify the gem only once. While it’s not a problem now, it could cause errors if you change the version of one of them later.
评论
添加评论
C:\Bitnami\redmine-4.2.0-1\apps\redmine\htdocs>bundle install
Your Gemfile lists the gem redmine_extensions (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it’s not a problem now, it could cause errors if you change the version of one of them later.
Fetching source index from https://mirrors.tuna.tsinghua.edu.cn/rubygems/
Resolving dependencies....
chartkick-5.1.4 requires ruby version >= 3.1, which is incompatible with the
current version, ruby 2.6.6p146
下载的是1.3.0_1 (2022-05-14),兼容4.2版本
但是bundle install 时出现上述提示
但是5.0 才支持ruby 3.1, [[https://www.redmine.org/projects/redmine/wiki/RedmineInstall]] 请问下该怎么办
@FENG ZHIP 你好,修改plugins/issue_charts/Gemfile文件,然后执行RAILS_ENV=production bundle exec rake redmine:plugins:migrate,再重新启动redmine
修改前:
修改后
付了10块钱,下载的压缩包是损坏的
xue ying 邮件已发送
@guo hongxing 可以再发一下邮件吗,好像没有收到
xue ying 再试试看,重新发了下载链接
xue ying 不支持下载工具。稍候下载链接会发送至邮箱
付款了2次,下载了两次都是损坏的。已经支付宝申请欺诈。两次付款需要退款
@崔 先生 你好, 插件下载链接已重新发送到邮箱,下载失败的积分即返回到账户,请方便查收。另外,文件损坏的原因见 https://redmineplugins.cn/contact/redmineplugins/comments?tab=faqs&questions=5
我装的是最开始的2.0.0版本,在安装这个插件迁移数据库时,发现了这个报错,查看了信息,我把对应/issue_charts/db/migrate/这个路径下的7个文件中的对应的版本改成了[5.2],最终是能顺利迁移。
我现在是在测试环境测试,但这个如果上线到正式环境后,是否会影响到我其他插件的使用???我看到其他插件中的db/migrate这个路径文件夹的文件中,很多都是指向[4.2]或者为空。
提示报错如下:
执行:rake redmine:plugins:migrate RAILS_ENV=production
报错提示:
<in /usr/src/redmine>
rake aborted
standardError:An error has occurred,all later migrations canceled:
directlu inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateCharts < ActiveRecord::Migration[4.2]
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:528:in `inherited’
/usr/src/redmine/plugins/issue_charts/db/migrate/006_add_issue_status_to_charts.rb:1:in `<top (required)>'
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `block in require’
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in `load_dependency’
/usr/local/bundle/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in `require’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:986:in `load_migration’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:982:in `migration’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:977:in `disable_ddl_transaction’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1350:in `use_transaction?'
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1342:in `ddl_transaction’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1263:in `block in migrate_without_lock’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `each’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1262:in `migrate_without_lock’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `block in migrate’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1363:in `with_advisory_lock’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1210:in `migrate’
/usr/src/redmine/lib/redmine/plugin.rb:542:in `up’
/usr/local/bundle/gems/activerecord-5.2.6/lib/active_record/migration.rb:1011:in `migrate’
/usr/src/redmine/lib/redmine/plugin.rb:574:in `migrate_plugin’
/usr/src/redmine/lib/redmine/plugin.rb:515:in `migrate’
/usr/src/redmine/lib/redmine/plugin.rb:529:in `block in migrate’
/usr/src/redmine/lib/redmine/plugin.rb:528:in `each’
/usr/src/redmine/lib/redmine/plugin.rb:528:in `migrate’
/usr/src/redmine/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Caused by:
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
huang zequan 2.0.0 没有适配过 redmine4以上版本
【1.3.0_3 】
安装提示这个错误,寻找了各种方法,都不行~
F:\Bitnami\redmine-5.0.3-0\apps\redmine\htdocs>bundle install
Your Gemfile lists the gem redmine_crm (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it’s not a problem now, it could cause errors if you change the version of one of them later.
@lee Vtophya 你好,这个提示信息仅是警告,并不是错误信息。它不是issue_charts插件引起的,而且并不影响使用,你可以忽略。如果这些信息下面还包含其它含有'error’字样的信息,可以再贴上来。
redmine在项目页面如何可以隐藏概述中所有成员(即使是分组内成员相互都看不到对方)。
@wu eddie 可以试下这个方法 https://www.redmineplugins.cn/boards/1/topics/460?r=462#message-462
可以有偿订制吗?可以的话,回复我一下,留个邮箱给我吧
@angel yohhen 你好,定制需求可联系邮件至 support@craftmine.pro
表达清楚一点,就是保存的时候就会出现500错误
@忍者 火影 1.3.0_3 更新修复了
提个bug,就是有权限的问题,有些权限不够不应该看到某些图标显示的,但还是能看到
Issue Charts插件版本和redmine版本分别是多少
issue_charts插件安装后新增了“查看图表”权限,需要给项目角色赋予正确的权限。另外,评论里不方便上传附件和截图,更详细的现象可以提交到 https://redmineplugins.cn/projects/redmineplugins/issues/new
1.3.0_2和redmine的5.0.2
此插件支持定制么?定制费用是多少?
@jiang wei 你好,可以将具体的定制需求发邮件至 support@craftmine.pro
安装后,报错:D:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/zeitwerk-2.6.8/lib/zeitwerk/loader/helpers.rb:135:in `const_get’: uninitialized constant IssueCharts (NameError)
@Frank Su 谢谢反馈。这个问题已经修复,新修订的版本已发邮件过去,方便请查收。
@Frank Su 你好,是redmine5吗? 提交这里方便跟踪 https://redmineplugins.cn/projects/redmineplugins/issues/new
终于兼顾5了
@代 代刚 有些插件下载是需要需要积分的,下载时扫码就可以了
感谢。第一次来找插件。不知道积分怎么挣
@tt677666 tt677666 你好,1.3.0_2可以兼容redmine5
辛苦帮忙更新下5.0版本的支持