seafile 7.1.1 Pro Beta Libreoffice 预览问题:内部错误


#1

之前使用的7.0.13,配套的是Libreoffice 6.4.1,一切完全正常
升级到7.1.1 Beta之后,按照官方中文手册+官方英文手册,重新部署了 Libreoff,并且更新到6.4.2,但是无法预览了,预览界面报错:内部错误。
问一下有没有人遇到这个问题
附相关日志:
seafevents.log,虽然官方文档说要查询这个日志,但是很明显的,这个日志没能提供office预览错误的信息,应该是日志记录地方变更了,因为之前的7.0.13版本我还是能在这个日志文件中看到office预览相关日志输出信息

[2020-04-04 22:11:03,792] [INFO] [seafevents] database: mysql, name: seahub-db
[2020-04-04 22:11:03,935] [INFO] audit is enabled
[2020-04-04 22:11:03,937] [INFO] [seafevents] database: mysql, name: seahub-db
[2020-04-04 22:11:03,940] [INFO] [seafevents] database: mysql, name: seafile-db
[2020-04-04 22:11:04,297] [INFO] The file with the following suffix will be recorded into the file history: md,txt,doc,docx,xls,xlsx,ppt,pptx
[2020-04-04 22:11:04,299] [INFO] [seafevents] database: mysql, name: seahub-db
[2020-04-04 22:11:04,300] [INFO] Events publish to redis is disabled.
[2020-04-04 22:11:04,303] [WARNING] insane interval 0
[2020-04-04 22:11:04,304] [INFO] LDAP section is not set, disable ldap sync.
[2020-04-04 22:11:04,306] [INFO] [virus_scan] scan_command option is not found in /root/seafile/conf/seafile.conf, disable virus scan.
[2020-04-04 22:11:04,338] [INFO] Subscribe to channels: {‘seahub.draft’, ‘seaf_server.stats’, ‘seahub.stats’, ‘seaf_server.event’, ‘seahub.audit’}
[2020-04-04 22:11:04,350] [INFO] Starting background tasks.
[2020-04-04 22:11:04,350] [INFO] Start file updates sender, interval = 60 sec
[2020-04-04 22:11:04,351] [INFO] work weixin notice sender is disabled
[2020-04-04 22:11:04,351] [INFO] search indexer is started, interval = 600 sec
[2020-04-04 22:11:04,352] [INFO] seahub email sender is started, interval = 1800 sec
[2020-04-04 22:11:04,353] [INFO] ldap sync is disabled
[2020-04-04 22:11:04,353] [INFO] virus scan is disabled
[2020-04-04 22:11:04,353] [INFO] Starting data statistics.
[2020-04-04 22:11:04,354] [INFO] content scan is disabled
[2020-04-04 22:11:04,360] [INFO] Start counting total storage…
[2020-04-04 22:11:04,404] [INFO] Start counting monthly traffic info…
[2020-04-04 22:11:04,406] [INFO] http server process already start.
[2020-04-04 22:11:04,417] [INFO] office converter started
[2020-04-04 22:11:04,415] [INFO] Start counting file operations…
[2020-04-04 22:11:04,419] [INFO] Start counting user activity info…
[2020-04-04 22:11:04,452] [INFO] [UserActivityCounter] update 0 items.
[2020-04-04 22:11:04,478] [INFO] Start counting traffic info…
[2020-04-04 22:11:04,478] [INFO] Traffic counter finished, total time: 0.0005552768707275391 seconds.
[2020-04-04 22:11:04,533] [INFO] [FileOpsCounter] Finish counting file operations in 0.09257912635803223 seconds, 0 added, 0 deleted, 6 visited, 0 modified
[2020-04-04 22:11:04,559] [INFO] Monthly traffic counter finished, update 1 user items, 1 org items, total time: 0.1546170711517334 seconds.
[2020-04-04 22:11:04,574] [INFO] [TotalStorageCounter] Finish counting total storage in 0.21255111694335938 seconds.

我倒是在这里seahub.log 看到报错:

2020-04-05 03:31:53,726 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seahub-db
2020-04-05 03:31:53,763 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seafile-db
2020-04-05 03:31:54,060 [INFO] seafevents.app.config:127 load_file_history_config The file with the following suffix will be recorded into the file history: md,txt,doc,docx,xls,xlsx,ppt,pptx
2020-04-05 03:31:54,077 [INFO] seafevents.db:74 create_engine_from_conf [seafevents] database: mysql, name: seahub-db
2020-04-05 03:31:54,080 [INFO] seafevents:118 is_audit_enabled audit is enabled
2020-04-05 03:32:05,182 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-04-05 03:32:08,570 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-04-05 03:32:08,700 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-04-05 03:32:19,705 [INFO] seafes:162 load_seafevents_conf [seafes] use highlighter fvh
2020-04-05 03:32:25,784 [ERROR] root:1184 prepare_converted_html failed to add_office_convert_task: Invalid URL ‘/add-task’: No schema supplied. Perhaps you meant http:///add-task?
Traceback (most recent call last):
File “/root/seafile/seafile-pro-server-7.1.1/seahub/seahub/utils/init.py”, line 1181, in prepare_converted_html
add_office_convert_task(obj_id, doctype, raw_path)
File “/root/seafile/seafile-pro-server-7.1.1/seahub/seahub/utils/init.py”, line 1127, in add_office_convert_task
requests.get(url, params, headers=headers)
File “/root/seafile/seafile-pro-server-7.1.1/seahub/thirdpart/requests/api.py”, line 75, in get
return request(‘get’, url, params=params, **kwargs)
File “/root/seafile/seafile-pro-server-7.1.1/seahub/thirdpart/requests/api.py”, line 60, in request
return session.request(method=method, url=url, **kwargs)
File “/root/seafile/seafile-pro-server-7.1.1/seahub/thirdpart/requests/sessions.py”, line 519, in request
prep = self.prepare_request(req)
File “/root/seafile/seafile-pro-server-7.1.1/seahub/thirdpart/requests/sessions.py”, line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File “/root/seafile/seafile-pro-server-7.1.1/seahub/thirdpart/requests/models.py”, line 313, in prepare
self.prepare_url(url, params)
File “/root/seafile/seafile-pro-server-7.1.1/seahub/thirdpart/requests/models.py”, line 387, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL ‘/add-task’: No schema supplied. Perhaps you meant http:///add-task?


#2

Python3 v3.6.8


#3

同样的问题 请问解决了吗?


#4

早就解决了,我好像另外开了一篇帖子描述这个问题,在那个帖子标记为解决了,主要是是libreOffice版本问题和seafile配置问题(端口路径)


#5

这个前端错误是由于配置错误引起的


#6

参考这个我录制的视频
https://iwx.mail.qq.com/ftn/download?func=3&key=c8c65266613d0e0efab518663234343296b3172e30343432121606500003520a005a1b515601041f035b05041d5507015614020251520407045f53070607273205090456000d050b680902550104001c5a490272b5d87b7c64dda32128f5177c809fcb63b7639c32&code=796f0442&k=c8c65266613d0e0efab518663234343296b3172e30343432121606500003520a005a1b515601041f035b05041d5507015614020251520407045f53070607273205090456000d050b680902550104001c5a490272b5d87b7c64dda32128f5177c809fcb63b7639c32


#7

感谢回复 现在遇到一个另外的问题