Redmine Knowledgebase
为redmine增加专业的知识管理功能
bundle install
bash-4.3# bundle exec rake redmine:plugins:migrate NAME=redmine_knowledgebase == 20100210212009 CreateCategories: migrating ================================= -- create_table(:kb_categories, {:options=>"ENGINE=InnoDB", :id=>:integer}) -> 0.2780s == 20100210212009 CreateCategories: migrated (0.2782s) ======================== == 20100211210218 AddParentIdToCategories: migrating ========================== -- add_column(:kb_categories, :parent_id, :int, {}) -> 0.4941s == 20100211210218 AddParentIdToCategories: migrated (0.4942s) ================= == 20100211212704 CreateArticles: migrating =================================== -- create_table(:kb_articles, {:options=>"ENGINE=InnoDB", :id=>:integer}) -> 0.2752s == 20100211212704 CreateArticles: migrated (0.2754s) ========================== == 20100213145708 AddAuthorToArticle: migrating =============================== -- add_column(:kb_articles, :author_id, :int, {:default=>0, :null=>false}) -> 0.4266s == 20100213145708 AddAuthorToArticle: migrated (0.4268s) ====================== == 20100213201848 AddViewingTables: migrating ================================= == 20100213201848 AddViewingTables: migrated (0.8204s) ======================== == 20100216000133 AddNestedSetBoundriesToCategory: migrating ================== -- add_column(:kb_categories, :lft, :int, {}) -> 0.4267s -- add_column(:kb_categories, :rgt, :int, {}) -> 0.4532s == 20100216000133 AddNestedSetBoundriesToCategory: migrated (0.8802s) ========= == 20100317201659 AddRatingsToArticles: migrating ============================= == 20100317201659 AddRatingsToArticles: migrated (0.5722s) ==================== == 20100329103527 AddCommentsCountToArticles: migrating ======================= -- add_column(:kb_articles, :comments_count, :int, {}) -> 0.4600s == 20100329103527 AddCommentsCountToArticles: migrated (0.4601s) ============== == 20110131145123 AddProjectIdToArticles: migrating =========================== -- add_column(:kb_articles, :project_id, :int, {:default=>0}) -> 0.5116s == 20110131145123 AddProjectIdToArticles: migrated (0.5119s) ================== == 20121005075010 AddUpdaterToArticle: migrating ============================== -- add_column(:kb_articles, :updater_id, :int, {:default=>0, :null=>false}) -> 0.4684s == 20121005075010 AddUpdaterToArticle: migrated (0.4687s) ===================== == 20121030102100 AddProjectIdToCategories: migrating ========================= -- add_column(:kb_categories, :project_id, :int, {:default=>0}) -> 0.4517s == 20121030102100 AddProjectIdToCategories: migrated (0.4519s) ================ == 20121205100143 AddVersioning: migrating ==================================== -- add_column(:kb_articles, :version_comments, :string, {:limit=>255, :default=>""}) -> 0.5612s -- add_index(:kb_article_versions, :kb_article_id, {:name=>:kb_article_versions_kbaid}) -> 0.2673s -- add_index(:kb_article_versions, :updated_at, {:name=>:index_kb_article_versions_on_updated_at}) -> 0.2507s == 20121205100143 AddVersioning: migrated (7.1415s) =========================== == 20130513154700 AddTagsAndTaggings: migrating =============================== == 20130513154700 AddTagsAndTaggings: migrated (1.0798s) ====================== == 20141215120000 AddArticleVersionsComments: migrating ======================= -- column_exists?(:kb_article_versions, :version_comments) -> 0.0021s == 20141215120000 AddArticleVersionsComments: migrated (0.0023s) ============== == 20150326093104 AddMissingUniqueIndice: migrating =========================== == 20150326093104 AddMissingUniqueIndice: migrated (0.0000s) ================== == 20150326093122 AddTaggingsCounterCacheToTags: migrating ==================== == 20150326093122 AddTaggingsCounterCacheToTags: migrated (0.0076s) =========== == 20150326093139 AddMissingTaggableIndex: migrating ========================== == 20150326093139 AddMissingTaggableIndex: migrated (0.0000s) ================= == 20150616103300 ChangeColumnArticleToLongText: migrating ==================== -- change_column(:kb_articles, :content, :text, {:limit=>16777219}) -> 0.6202s == 20150616103300 ChangeColumnArticleToLongText: migrated (0.6207s) =========== == 20200605051507 AddUeditorImages: migrating ================================= -- create_table("ueditor_images") -> 0.2793s == 20200605051507 AddUeditorImages: migrated (0.2795s) ========================
评论
添加评论
由 zhou rongxuan 在 8 个月 之前添加
请问“4.1.1_修订版_6”支持redmine 5.1版本吗
由 redmineplugins.cn Admin 在 8 个月 之前添加
@zhou rongxuan 你好,redmine_knowledgebase-4.1.1_7可以支持redmine 5.1,见插件版本更新页面。
由 redmineplugins.cn Admin 在 将近 2 年 之前添加
@z r @guo hongxing 4.1.1_修订版_5修复了这个问题,方便时收邮件。
由 guo hongxing 在 将近 2 年 之前添加
@z r 应该可以吧。演示网站上的知识库可以搜索,例如:搜索 炒肉
由 z r 在 将近 2 年 之前添加
搜索框,是不能搜索到知识库的文章标题、标签、内容的吗?
由 redmineplugins.cn Admin 在 超过 2 年 之前添加
@忍者 火影 (Mysql2::Error: Table 'bitnami_redmine.kb_categories’ doesn’t exist) 这个错误表示插件没有正确安装,相关的表缺失。要求确保正确执行了如下操作:
由 忍者 火影 在 超过 2 年 之前添加
还有注明一下,我是用bitnami redmine集成安装安装的redmine
由 忍者 火影 在 超过 2 年 之前添加
[9c27fa9a-9a5d-44bd-8d93-e1cff8121c69] plugins/redmine_knowledgebase/app/controllers/articles_controller.rb:24:in `index’
[9c27fa9a-9a5d-44bd-8d93-e1cff8121c69] lib/redmine/sudo_mode.rb:61:in `sudo_mode’
I, [2022-06-15T16:14:05.855377 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Started GET "/redmine/projects/haha/activity” for ::1 at 2022-06-15 16:14:05 +0800
I, [2022-06-15T16:14:05.855893 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Processing by ActivitiesController#index as HTML
I, [2022-06-15T16:14:05.855961 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Parameters: {“id"⇒“haha”}
I, [2022-06-15T16:14:05.860884 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Current user: user (id=1)
I, [2022-06-15T16:14:05.880814 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Rendered activities/index.html.erb within layouts/base (Duration: 5.4ms | Allocations: 3827)
I, [2022-06-15T16:14:05.881992 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Rendered inline template (Duration: 0.3ms | Allocations: 146)
I, [2022-06-15T16:14:05.896489 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Rendered layout layouts/base.html.erb (Duration: 21.1ms | Allocations: 13638)
I, [2022-06-15T16:14:05.896884 #3300] INFO – : [99b76a6c-61ac-4308-8375-43f2df18856a] Completed 200 OK in 41ms (Views: 18.2ms | ActiveRecord: 11.7ms | Allocations: 19940)
I, [2022-06-15T16:14:14.186649 #3300] INFO – : [b790847f-a2f8-4944-a637-e583d413cc09] Started GET "/redmine/projects/haha/knowledgebase/articles” for ::1 at 2022-06-15 16:14:14 +0800
I, [2022-06-15T16:14:14.187436 #3300] INFO – : [b790847f-a2f8-4944-a637-e583d413cc09] Processing by ArticlesController#index as HTML
I, [2022-06-15T16:14:14.187618 #3300] INFO – : [b790847f-a2f8-4944-a637-e583d413cc09] Parameters: {“project_id"⇒“haha”}
I, [2022-06-15T16:14:14.192298 #3300] INFO – : [b790847f-a2f8-4944-a637-e583d413cc09] Current user: user (id=1)
I, [2022-06-15T16:14:14.197409 #3300] INFO – : [b790847f-a2f8-4944-a637-e583d413cc09] Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.9ms | Allocations: 2312)
F, [2022-06-15T16:14:14.198156 #3300] FATAL – : [b790847f-a2f8-4944-a637-e583d413cc09]
[b790847f-a2f8-4944-a637-e583d413cc09] ActiveRecord::StatementInvalid (Mysql2::Error: Table 'bitnami_redmine.kb_categories’ doesn’t exist):
[b790847f-a2f8-4944-a637-e583d413cc09]
[b790847f-a2f8-4944-a637-e583d413cc09] plugins/redmine_knowledgebase/app/controllers/articles_controller.rb:24:in `index’
[b790847f-a2f8-4944-a637-e583d413cc09] lib/redmine/sudo_mode.rb:61:in `sudo_mode’
由 忍者 火影 在 超过 2 年 之前添加
[9c27fa9a-9a5d-44bd-8d93-e1cff8121c69] ActiveRecord::StatementInvalid (Mysql2::Error: Table 'bitnami_redmine.kb_categories’ doesn’t exist):
[9c27fa9a-9a5d-44bd-8d93-e1cff8121c69]
[9c27fa9a-9a5d-44bd-8d93-e1cff8121c69] plugins/redmine_knowledgebase/app/controllers/articles_controller.rb:24:in `index’
[9c27fa9a-9a5d-44bd-8d93-e1cff8121c69] lib/redmine/sudo_mode.rb:61:in `sudo_mode’
看了下日志,如上
由 忍者 火影 在 超过 2 年 之前添加
我是5.0.0版本的,安装了之后,点击知识库就出现Internal error页面的提示错误了,怎么解决,急
由 Chen Snowman 在 超过 2 年 之前添加
@长 长 稍候测试下Knowledgebase 和 onlyoffice_redmine的兼容性
由 长 长 在 超过 2 年 之前添加
目前使用的修订版2,redmine-4.2.4,在使用中与onlyoffice插件有冲突。安装知识库插件后,onlyoffice的编辑图标无法显示,不能编辑。删除知识库插件后,office编辑图标出现,恢复正常。这个问题在修订版3种不知道会不会也存在,是否能测试一下呢?
https://www.redmine.org/plugins/onlyoffice_redmine
由 redmineplugins.cn Admin 在 大约 3 年 之前添加
这些问题在4.1.1_修订版_3中解决了。
由 Chang Uart 在 大约 3 年 之前添加
子类别可否修改上一层父类别?经常不小心开到错误的类别之下.
由 匿名用户 在 将近 4 年 之前添加
~/redmine_git/redmine-4.1.1-7/use_redmine
RAILS_ENV=production bundle exec rake redmine:plugins:migrate NAME=redmine_knowledgebase
@chen rain Snowman
如上命令就可以安装了,感谢感谢!
由 Chen Snowman 在 将近 4 年 之前添加
@yuan_lianhuan 按如下步骤再试试看:
重新启动redmine
由 yuan lianhuan 在 将近 4 年 之前添加
安装不上,望帮忙看看
报错
linux@linux-virtual-machine:~/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs$ bundle exec rake redmine:plugins:migrate NAME=redmine_knowledgebase
rake aborted!
Mysql2::Error::ConnectionError: Can’t connect to local MySQL server through socket '/tmp/mysql.sock’ (2)
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:550:in `get_all_versions’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:558:in `current_version’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:540:in `migrate_plugin’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:483:in `migrate’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/redmine/plugin.rb:494:in `migrate’
/home/linux/redmine_git/redmine-4.1.1-7/apps/redmine/htdocs/lib/tasks/redmine.rake:135:in `block (3 levels) in <top (required)>'
Tasks: TOP ⇒ redmine:plugins:migrate
(See full trace by running task with --trace)
由 Chen Snowman 在 将近 4 年 之前添加
按照提示操作,执行 bundle install --no-deployment
由 小孩 坏 在 将近 4 年 之前添加
bundle install 时输出下面提示怎么解决?
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated ../Gemfile.lock to version control.
If this is a development machine, remove the /opt/bitnami/apps/redmine/htdocs/Gemfile freeze
by running `bundle install --no-deployment`.
The dependencies in your gemfile changed
You have added to the Gemfile:由 redmineplugins.cn Admin 在 将近 4 年 之前添加
@Smith Johnson 用 #129 可以做到根类别可折叠
由 Smith Johnson 在 大约 4 年 之前添加
我试着在span里面加入了class,页面可以实现,但点击无效,应该是未定义相关的方法。
请帮忙完善一下代码。
路径:redmine-4.1/plugins/redmine_knowledgebase/app/views/categories/_tree_row.html.erb
由 Smith Johnson 在 大约 4 年 之前添加
能不能帮忙在categories中,加入层级展开关闭功能?
如果可以实现,就可以创建多级目录后不占用太多页面高度了。
由 redmineplugins.cn Admin 在 超过 4 年 之前添加
@Chang Uart 是的,因为redmineup的系列插件会依赖tags,同时Redmine Knowledgebase也会。有一个解决方案是安装 redmine_acts_as_taggable_on 以化解他们的冲突。你可以试试看,我还没有验证过。
由 Chang Uart 在 超过 4 年 之前添加
似乎跟CRM插件衝突, 但也許是安裝方法的問題.
由 redmineplugins.cn Admin 在 超过 4 年 之前添加
是的,可以支持4.1.0 stable
由 匿名用户 在 超过 4 年 之前添加
支持4.1.0 stable版本吗?