安装的是Redmine More Previews5.0.8,在服务器上也安装了LibreOffice7.6.4.1(X86-64)版本,
在浏览器客户端打开Redmine(5.0.3)还是预览不了WORD等文件。
问题可能 出在哪里?
同时在插件配置里要检查下想要预览的文件格式是否勾选上了
这里是是不是表现插件没有识别到已安装的LibreOffiec???
LibreOffice上是否还需要 配置?
Redminecn Admin同志,你服务器上否可以成功预览,LibreOffice版本是什么?
安装官网最新的版本就可以
可使用LibreOffice显示叹号,看来是没有识别,还需要其它配置嘛?
需要保证 libreoffice 和 redmine服务在同一环境
无需额外配置
我理解就是在服务器端,将两个软件安装部署在一起,用户应该不用再安装了吧?
对的,用户不需要安装,网页上就可以直接浏览内容
5.0.3版本这块“可使用 libreoffice”这块就是显示叹号,找不到原因?
你的redmine是bitnami安装的吗?还是linux?
是的,WIN2022上安装Redmine的bitnami一键安装版
最近重装Redmine More Previews5.0.8,bundle install命令后,Thin redmine和Thine redmine2 服务就起不来。
安装命令如下,没看出有什么问题:
在production.log下内容,也看不出问题在哪?
W, [2024-03-06T23:06:39.143155 #9044] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.W, [2024-03-06T23:06:39.234276 #7360] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.I, [2024-03-06T23:06:39.719357 #9044] INFO -- : RedmineMorePreviews:scanning pluginsI, [2024-03-06T23:06:39.719863 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/cliffI, [2024-03-06T23:06:39.719945 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libreI, [2024-03-06T23:06:39.720009 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/maggieI, [2024-03-06T23:06:39.720106 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/markI, [2024-03-06T23:06:39.720170 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/nil_textI, [2024-03-06T23:06:39.720231 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/passI, [2024-03-06T23:06:39.720290 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/peekI, [2024-03-06T23:06:39.720448 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/teddieI, [2024-03-06T23:06:39.720514 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/vinceI, [2024-03-06T23:06:39.720731 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/zippyI, [2024-03-06T23:06:39.813464 #7360] INFO -- : RedmineMorePreviews: scanning pluginsI, [2024-03-06T23:06:39.813793 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/cliffI, [2024-03-06T23:06:39.813896 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libreI, [2024-03-06T23:06:39.813964 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/maggieI, [2024-03-06T23:06:39.814025 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/markI, [2024-03-06T23:06:39.814085 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/nil_textI, [2024-03-06T23:06:39.814144 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/passI, [2024-03-06T23:06:39.814203 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/peekI, [2024-03-06T23:06:39.814262 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/teddieI, [2024-03-06T23:06:39.814321 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/vinceI, [2024-03-06T23:06:39.814395 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/zippyW, [2024-03-06T23:06:40.558033 #9044] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.W, [2024-03-06T23:06:40.558504 #7360] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.W, [2024-03-06T23:07:28.614285 #6212] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.W, [2024-03-06T23:07:29.003448 #6212] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.W, [2024-03-06T23:07:29.476857 #6212] WARN -- : Creating scope :visible. Overwriting existing method FavoriteProjectsQuery.visible.W, [2024-03-06T23:07:29.577191 #6212] WARN -- : Creating scope :visible. Overwriting existing method PeopleQuery.visible.W, [2024-03-06T23:07:29.991999 #6212] WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.W, [2024-03-06T23:07:31.562525 #9420] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.W, [2024-03-06T23:07:31.949659 #9420] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.W, [2024-03-06T23:07:32.401552 #9420] WARN -- : Creating scope :visible. Overwriting existing method FavoriteProjectsQuery.visible.W, [2024-03-06T23:07:32.501890 #9420] WARN -- : Creating scope :visible. Overwriting existing method PeopleQuery.visible.W, [2024-03-06T23:07:32.920126 #9420] WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.I, [2024-03-06T23:07:34.776184 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Started GET "/redmine/" for 111.197.236.69 at 2024-03-06 23:07:34 +0800I, [2024-03-06T23:07:34.777325 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Processing by WelcomeController#index as HTMLI, [2024-03-06T23:07:34.900010 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Current user: anonymousI, [2024-03-06T23:07:35.224105 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Rendered welcome/index.html.erb within layouts/base (Duration: 56.4ms | Allocations: 14810)I, [2024-03-06T23:07:35.329561 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Rendered layout layouts/base.html.erb (Duration: 162.0ms | Allocations: 31833)I, [2024-03-06T23:07:35.330459 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Completed 200 OK in 553ms (Views: 104.0ms | ActiveRecord: 220.8ms | Allocations: 137318)
看下启动时的错误日志
或者先进入 use_redmine.bat 然后进入到htdoc目录下执行下面的命令,也能看出报错信息:
bundle exec rails server -p 3000 -b 0.0.0.0 -e production
是这个插件的问题,先把这个插件移出掉再试
是的,已经删除 后,Thine服务不报错,可以运行起来,但在插件界面中点击配置,就打不开了。
在哪里可以找到错误日志??
点击“配置”过一会,报502错误,如下图:
看起来是响应超时,估计是连接 office 有问题
我感觉跟libreOffice没有什么关系吧,只是安装好插件,配置按钮都点不开。此外刚更新的“Redmine DMSF 支持审批、版本管理、预览和编辑 Office 文档管理系统功能插件”可以取代Redmine More Previews嘛?能实现Word,excel在线预览?
因为没看到日志,现在只是分析:你说的现象是点击配置然后过一会才出现的这个报错,很有可能是配置页面含有检测服务是否正常的机制,Proxy Error里又是和连接有关,所以有这个猜测,最好是能看到连接过程的日志(apache服务的日志)
查了5184,就是Apache服务,如下图所示:
看代理错误,涉及111.197.236.69这个IP几个端口,我在自己笔记本上测试端口都不通。
这几个端口上是什么服务?把防火墙关掉试试呢
原来安装好用的服务器上,该配件的:”配置“也点不开,但不影响在线预览WORD和Excel。
已解决,插件与LibreOffice版本兼容性有问题。
请问LibreOffice最后装的哪个版本解决的
装官方最新版的就可以
辽ICP备18016669号-2
粤公网安备 44030602007921号
安装的是Redmine More Previews5.0.8,在服务器上也安装了LibreOffice7.6.4.1(X86-64)版本,
在浏览器客户端打开Redmine(5.0.3)还是预览不了WORD等文件。
问题可能 出在哪里?
同时在插件配置里要检查下想要预览的文件格式是否勾选上了
这里是是不是表现插件没有识别到已安装的LibreOffiec???
LibreOffice上是否还需要 配置?
Redminecn Admin同志,你服务器上否可以成功预览,LibreOffice版本是什么?
安装官网最新的版本就可以
可使用LibreOffice显示叹号,看来是没有识别,还需要其它配置嘛?
需要保证 libreoffice 和 redmine服务在同一环境
无需额外配置
我理解就是在服务器端,将两个软件安装部署在一起,用户应该不用再安装了吧?
对的,用户不需要安装,网页上就可以直接浏览内容
5.0.3版本这块“可使用 libreoffice”这块就是显示叹号,找不到原因?
你的redmine是bitnami安装的吗?还是linux?
是的,WIN2022上安装Redmine的bitnami一键安装版
最近重装Redmine More Previews5.0.8,bundle install命令后,Thin redmine和Thine redmine2 服务就起不来。
安装命令如下,没看出有什么问题:
在production.log下内容,也看不出问题在哪?
W, [2024-03-06T23:06:39.143155 #9044] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
W, [2024-03-06T23:06:39.234276 #7360] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
I, [2024-03-06T23:06:39.719357 #9044] INFO -- : RedmineMorePreviews:
scanning plugins
I, [2024-03-06T23:06:39.719863 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/cliff
I, [2024-03-06T23:06:39.719945 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libre
I, [2024-03-06T23:06:39.720009 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/maggie
I, [2024-03-06T23:06:39.720106 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/mark
I, [2024-03-06T23:06:39.720170 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/nil_text
I, [2024-03-06T23:06:39.720231 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/pass
I, [2024-03-06T23:06:39.720290 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/peek
I, [2024-03-06T23:06:39.720448 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/teddie
I, [2024-03-06T23:06:39.720514 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/vince
I, [2024-03-06T23:06:39.720731 #9044] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/zippy
I, [2024-03-06T23:06:39.813464 #7360] INFO -- : RedmineMorePreviews: scanning plugins
I, [2024-03-06T23:06:39.813793 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/cliff
I, [2024-03-06T23:06:39.813896 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/libre
I, [2024-03-06T23:06:39.813964 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/maggie
I, [2024-03-06T23:06:39.814025 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/mark
I, [2024-03-06T23:06:39.814085 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/nil_text
I, [2024-03-06T23:06:39.814144 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/pass
I, [2024-03-06T23:06:39.814203 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/peek
I, [2024-03-06T23:06:39.814262 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/teddie
I, [2024-03-06T23:06:39.814321 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/vince
I, [2024-03-06T23:06:39.814395 #7360] INFO -- : D:/Bitnami/redmine-5.0.3-0/apps/redmine/htdocs/plugins/redmine_more_previews/converters/zippy
W, [2024-03-06T23:06:40.558033 #9044] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
W, [2024-03-06T23:06:40.558504 #7360] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
W, [2024-03-06T23:07:28.614285 #6212] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
W, [2024-03-06T23:07:29.003448 #6212] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
W, [2024-03-06T23:07:29.476857 #6212] WARN -- : Creating scope :visible. Overwriting existing method FavoriteProjectsQuery.visible.
W, [2024-03-06T23:07:29.577191 #6212] WARN -- : Creating scope :visible. Overwriting existing method PeopleQuery.visible.
W, [2024-03-06T23:07:29.991999 #6212] WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.
W, [2024-03-06T23:07:31.562525 #9420] WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
W, [2024-03-06T23:07:31.949659 #9420] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
W, [2024-03-06T23:07:32.401552 #9420] WARN -- : Creating scope :visible. Overwriting existing method FavoriteProjectsQuery.visible.
W, [2024-03-06T23:07:32.501890 #9420] WARN -- : Creating scope :visible. Overwriting existing method PeopleQuery.visible.
W, [2024-03-06T23:07:32.920126 #9420] WARN -- : Creating scope :sorted. Overwriting existing method Group.sorted.
I, [2024-03-06T23:07:34.776184 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Started GET "/redmine/" for 111.197.236.69 at 2024-03-06 23:07:34 +0800
I, [2024-03-06T23:07:34.777325 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Processing by WelcomeController#index as HTML
I, [2024-03-06T23:07:34.900010 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Current user: anonymous
I, [2024-03-06T23:07:35.224105 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Rendered welcome/index.html.erb within layouts/base (Duration: 56.4ms | Allocations: 14810)
I, [2024-03-06T23:07:35.329561 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Rendered layout layouts/base.html.erb (Duration: 162.0ms | Allocations: 31833)
I, [2024-03-06T23:07:35.330459 #6212] INFO -- : [bdf10cd2-86e6-4a86-8dd1-281c564a215b] Completed 200 OK in 553ms (Views: 104.0ms | ActiveRecord: 220.8ms | Allocations: 137318)
看下启动时的错误日志
或者先进入 use_redmine.bat 然后进入到htdoc目录下执行下面的命令,也能看出报错信息:
是这个插件的问题,先把这个插件移出掉再试
是的,已经删除 后,Thine服务不报错,可以运行起来,但在插件界面中点击配置,就打不开了。
在哪里可以找到错误日志??
点击“配置”过一会,报502错误,如下图:
看起来是响应超时,估计是连接 office 有问题
我感觉跟libreOffice没有什么关系吧,只是安装好插件,配置按钮都点不开。此外刚更新的“Redmine DMSF 支持审批、版本管理、预览和编辑 Office 文档管理系统功能插件”可以取代Redmine More Previews嘛?能实现Word,excel在线预览?
因为没看到日志,现在只是分析:
你说的现象是点击配置然后过一会才出现的这个报错,很有可能是配置页面含有检测服务是否正常的机制,Proxy Error里又是和连接有关,所以有这个猜测,最好是能看到连接过程的日志(apache服务的日志)
查了5184,就是Apache服务,如下图所示:
看代理错误,涉及111.197.236.69这个IP几个端口,我在自己笔记本上测试端口都不通。
这几个端口上是什么服务?把防火墙关掉试试呢
原来安装好用的服务器上,该配件的:”配置“也点不开,但不影响在线预览WORD和Excel。
已解决,插件与LibreOffice版本兼容性有问题。
请问LibreOffice最后装的哪个版本解决的
装官方最新版的就可以