项目

一般

简介

插件 » Redmine Materials 物资管理插件

Redmine Materials

该插件用于材料和设备等物资管理, 例如设备、装备、书籍等 ...

发布于: https://bitbucket.org/39648421/redmine_materials
兼容于: Redmine 4.2.*,  4.1.*,  4.0.*,  3.4.*,  3.3.*,  3.2.*

最新版本: 0.0.2_3 更新日期: 2024-09-25 08:50

评论

添加评论

z zx2 天 之前添加

能更新到5.1嗎?

guo hongxing一天 之前添加

@z zx 你好,时间不能确定。redmine6 发布后,大多数常用插件都需要做兼容性调整。

z zx5 个月 之前添加

5.1支持嗎?

z zx5 个月 之前添加

@z zx 買了,不支持5.1

guo hongxing5 个月 之前添加

@z zx @z zx 你好,该插件目前支持到redmine 4.2

guo hongxing超过 3 年 之前添加

卸载方法 bundle exec rake redmine:plugins:migrate NAME=redmine_materials VERSION=0

匿名用户超过 3 年 之前添加

请问卸载该插件应该如何执行呢?

redmineplugins.cn Admin超过 3 年 之前添加

小小 孙超过 3 年 之前添加

您好,我看了一下,我使用的是修正版,这种怎么排查错误呢

小小 孙超过 3 年 之前添加

目前使用的是redmine3.3版本,也需要使用修正版本吗?

redmineplugins.cn Admin超过 3 年 之前添加

这只是个通用错误,具体要看你的redmine日志。另外,如果是redmine4以上版本,建议使用本站提供的修复版再试下。

匿名用户超过 3 年 之前添加

在docker redmine中安装此插件,点击新建仓库,出现如下错误,请问怎么解决呢:
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

redmineplugins.cn Admin超过 3 年 之前添加

安装方法不对,用下面方法重新安装试试:

  1. cd D:\Bitnami\redmine-4.1.1-7
  2. use_redmine.bat
  3. cd D:\Bitnami\redmine-4.1.1-7\apps\redmine\htdocs\
  4. set RAILS_ENV=production
  5. bundle exec rake redmine:plugins:migrate

从 前超过 3 年 之前添加

windows环境 redmine4.1.1-7
点击物资插件后显示报错
Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.
Back

安装执行bundle exec rake redmine:plugins:migrate
内容
D:\Bitnami\redmine-4.1.1-7\apps\redmine\htdocs\plugins>bundle exec rake redmine:
plugins:migrate
(in D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs)
rake aborted!
Mysql2::Error::ConnectionError: Access denied for user 'root’@'localhost’ (using
password: NO)
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/mys
ql2-0.5.2-x64-mingw32/lib/mysql2/client.rb:90:in `connect’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/mys
ql2-0.5.2-x64-mingw32/lib/mysql2/client.rb:90:in `initialize’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in
`new’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in
`mysql2_connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:830:in `new_connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:874:in `checkout_new_connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:853:in `try_to_checkout_new_connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:814:in `acquire_connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:538:in `checkout’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:382:in `connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_adapters/abstract/connection_pool
.rb:1033:in `retrieve_connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_handling.rb:118:in `retrieve_conn
ection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/connection_handling.rb:90:in `connection’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/model_schema.rb:466:in `load_schema!'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/attributes.rb:234:in `load_schema!'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/attribute_decorators.rb:51:in `load_schema!'

D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/model_schema.rb:459:in `block in load_schema
'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/model_schema.rb:456:in `load_schema’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/model_schema.rb:336:in `columns_hash’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/inheritance.rb:78:in `descends_from_active_r
ecord?'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/inheritance.rb:84:in `finder_needs_type_cond
ition?'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/core.rb:287:in `relation’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
iverecord-5.2.4.2/lib/active_record/scoping/default.rb:34:in `unscoped’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/user.rb:822:in `anonym
ous’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/user.rb:816:in `curren
t’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/query.rb:91:in `groupa
ble’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/query.rb:31:in `initia
lize’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/issue_query.rb:36:in `
new’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/issue_query.rb:36:in `
<class:IssueQuery>'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/app/models/issue_query.rb:20:in `
<top (required)>'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:476:in `load’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:476:in `block in load_file
'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:661:in `new_constants_in’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:475:in `load_file’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:373:in `block in require_o
r_load’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:37:in `block in load_inter
lock’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies/interlock.rb:14:in `block in
loading’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/concurrency/share_lock.rb:151:in `exclusiv
e’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies/interlock.rb:13:in `loading’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:37:in `load_interlock’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:356:in `require_or_load’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:334:in `depend_on’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/dependencies.rb:246:in `require_dependency
'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/plugins/custom_users_as_assignees
/init.rb:17:in `block in <top (required)>'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `instance_exec’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:426:in `block in make_lambda’

D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:198:in `block (2 levels) in h
alting’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:606:in `block (2 levels) in d
efault_terminator’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:605:in `catch’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:605:in `block in default_term
inator’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:199:in `block in halting’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:513:in `block in invoke_befor
e’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:513:in `each’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:513:in `invoke_before’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/callbacks.rb:131:in `run_callbacks’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/act
ivesupport-5.2.4.2/lib/active_support/reloader.rb:89:in `prepare!'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/application/finisher.rb:63:in `block in <module:Finisher

'

D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/initializable.rb:32:in `instance_exec’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/initializable.rb:32:in `run’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/initializable.rb:61:in `block in run_initializers’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/initializable.rb:60:in `run_initializers’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/application.rb:361:in `initialize!'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/config/environment.rb:16:in `<top
(required)>'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/application.rb:337:in `require’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/application.rb:337:in `require_environment!'
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rai
lties-5.2.4.2/lib/rails/application.rb:520:in `block in run_tasks_blocks’
D:/Bitnami/redmine-4.1.1-7/apps/redmine/htdocs/vendor/bundle/ruby/2.5.0/gems/rak
e-13.0.1/exe/rake:27:in `<top (required)>'
Tasks: TOP ⇒ redmine:plugins:migrate ⇒ environment
(See full trace by running task with --trace)

Chen Snowman将近 4 年 之前添加

没什么特殊依赖,可以支持windows的

xuan liu将近 4 年 之前添加

请问支持Windows bitnami redmine吗

Chen Snowman大约 4 年 之前添加

增加环境变量参数,再试下 RAILS_ENV=production bundle exec rake redmine:plugins:migrate

zl6536 zl6536大约 4 年 之前添加

/opt/redmine-4.1.1-3/apps/redmine/htdocs
bash-4.2#
bash-4.2#
bash-4.2# bundle install
Don’t run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
[DEPRECATED] Your Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config set disable_multisource true`.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
The dependency ffi (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
Using rake 13.0.1
Using concurrent-ruby 1.1.6
Using i18n 1.6.0
Using minitest 5.14.0
Using thread_safe 0.3.6
Using tzinfo 1.2.7
Using activesupport 5.2.4.2
Using builder 3.2.4
Using erubi 1.9.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.9
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.5.0
Using rails-html-sanitizer 1.3.0
Using actionview 5.2.4.2
Using rack 2.2.2
Using rack-test 1.1.0
Using actionpack 5.2.4.2
Using nio4r 2.5.2
Using websocket-extensions 0.1.4
Using websocket-driver 0.7.1
Using actioncable 5.2.4.2
Using globalid 0.4.2
Using activejob 5.2.4.2
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailer 5.2.4.2
Using method_source 1.0.0
Using thor 1.0.1
Using railties 5.2.4.2
Using actionpack-xml_parser 2.0.1
Using activemodel 5.2.4.2
Using arel 9.0.0
Using activerecord 5.2.4.2
Using mimemagic 0.3.4
Using marcel 0.3.3
Using activestorage 5.2.4.2
Using public_suffix 4.0.4
Using addressable 2.7.0
Using awesome_nested_set 3.2.1
Using coderay 1.1.3
Using better_errors 2.8.1
Using debug_inspector 0.0.3
Using binding_of_caller 0.8.0
Using bundler 2.1.2
Using climate_control 0.2.0
Using css_parser 1.7.1
Using csv 3.1.2
Using temple 0.8.2
Using tilt 2.0.10
Using haml 5.1.2
Using htmlentities 4.3.4
Using jquery-rails 4.4.0
Using kaminari-core 1.2.1
Using kaminari-actionview 1.2.1
Using kaminari-activerecord 1.2.1
Using kaminari 1.2.1
Using liquid 2.6.3
Using mime-types-data 3.2020.0512
Using mime-types 3.3.1
Using mini_magick 4.9.5
Using multi_json 1.15.0
Using mysql2 0.5.3
Using net-ldap 0.16.2
Using pandoc-ruby 2.1.4
Using terrapin 0.6.0
Using paperclip 6.1.0
Using ruby-openid 2.9.2
Using rack-openid 1.4.2
Using rack-raw-upload 1.1.1
Using sprockets 4.0.0
Using sprockets-rails 3.2.1
Using rails 5.2.4.2
Using rbpdf-font 1.19.1
Using rbpdf 1.20.1
Using redcarpet 3.5.0
Using rubyzip 2.3.0
Using redmine_crm 0.0.54
Using request_store 1.4.1
Using rich 1.4.8 from https://github.com/a-ono/rich.git (at 1.5.2@f5b5b07)
Using roadie 4.0.0
Using roadie-rails 2.1.1
Using rouge 3.12.0
Using ruby-filemagic 0.7.2
Using ya2yaml 0.31
Bundle complete! 47 Gemfile dependencies, 86 gems now installed.
Gems in the groups development, test and sqlite were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bash-4.2# bundle exec rake redmine:plugins:migrate
rake aborted!
Mysql2::Error::ConnectionError: Can’t connect to local MySQL server through socket '/tmp/mysql.sock’ (2)
/opt/redmine-4.1.1-3/apps/redmine/htdocs/plugins/accept/init.rb:11:in `block in <top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:94:in `instance_eval’
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:94:in `register’
/opt/redmine-4.1.1-3/apps/redmine/htdocs/plugins/accept/init.rb:4:in `<top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:181:in `block in load’
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:172:in `each’
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:172:in `load’
/opt/redmine-4.1.1-3/apps/redmine/htdocs/config/initializers/30-redmine.rb:20:in `<top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/config/environment.rb:16:in `<top (required)>'
Tasks: TOP ⇒ redmine:plugins:migrate ⇒ environment
(See full trace by running task with --trace)
bash-4.2#