企业版安装后无法在线预览文档,见seafevents.log日志

使用脚本一键安装的企业版,无法在线预览文档,日志如下


[2017-03-08 21:21:57,805] [INFO] audit is enabled
[2017-03-08 21:21:57,805] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-03-08 21:21:58,827] [DEBUG] seafes enabled: True
[2017-03-08 21:21:58,838] [DEBUG] seafes dir: /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 21:21:58,838] [DEBUG] seafes logfile: /opt/seafile/logs/index.log
[2017-03-08 21:21:58,838] [DEBUG] seafes index interval: 600 sec
[2017-03-08 21:21:58,838] [DEBUG] seafes index office/pdf: True
[2017-03-08 21:21:58,838] [DEBUG] seahub email enabled: True
[2017-03-08 21:21:58,838] [DEBUG] seahub dir: /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 21:21:58,838] [DEBUG] send seahub email interval: 1800 sec
[2017-03-08 21:21:58,839] [INFO] LDAP section is not set, disable ldap sync.
[2017-03-08 21:21:58,839] [INFO] [virus_scan] scan_command option is not found in /opt/seafile/conf/seafile.conf, disable virus scan.
[2017-03-08 21:21:58,839] [DEBUG] office enabled: True
[2017-03-08 21:21:58,840] [DEBUG] office convert workers: 1
[2017-03-08 21:21:58,840] [DEBUG] office outputdir: /tmp/seafile-office-output
[2017-03-08 21:21:58,840] [DEBUG] office convert max pages: 50
[2017-03-08 21:21:58,840] [DEBUG] office convert max size: 10 MB
[2017-03-08 21:21:58,840] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-03-08 21:21:58,872] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-03-08 21:21:58,872] [INFO] try to connect to ccnet-server…
[2017-03-08 21:21:58,873] [INFO] connected to ccnet server
[2017-03-08 21:21:58,873] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-03-08 21:21:58,890] [INFO] listen to mq: set([‘seaf_server.event’, ‘seahub.stats’])
[2017-03-08 21:21:58,891] [INFO] staring background tasks
[2017-03-08 21:21:58,891] [INFO] search indexer is started, interval = 600 sec
[2017-03-08 21:21:58,891] [INFO] seahub email sender is started, interval = 1800 sec
[2017-03-08 21:21:58,891] [INFO] ldap sync is disabled
[2017-03-08 21:21:58,891] [INFO] virus scan is disabled
[2017-03-08 21:22:01,925] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/pro/python/seafevents/office_converter/unoconv.py” “-vvv” “–pipe” “seafilepipe” “-l”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafevents/office_converter
[2017-03-08 21:22:01,984] [INFO] office converter started
[2017-03-08 21:22:08,135] [INFO] exit with code 0
[2017-03-08 21:22:08,136] [INFO] stop libreoffice…
[2017-03-08 21:22:08,136] [INFO] remove pidfile /opt/seafile/pids/seafevents.pid
[2017-03-08 21:22:11,645] [INFO] audit is enabled
[2017-03-08 21:22:11,646] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-03-08 21:22:11,710] [DEBUG] seafes enabled: True
[2017-03-08 21:22:11,710] [DEBUG] seafes dir: /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 21:22:11,710] [DEBUG] seafes logfile: /opt/seafile/logs/index.log
[2017-03-08 21:22:11,710] [DEBUG] seafes index interval: 600 sec
[2017-03-08 21:22:11,710] [DEBUG] seafes index office/pdf: True
[2017-03-08 21:22:11,710] [DEBUG] seahub email enabled: True
[2017-03-08 21:22:11,710] [DEBUG] seahub dir: /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 21:22:11,710] [DEBUG] send seahub email interval: 1800 sec
[2017-03-08 21:22:11,711] [INFO] LDAP section is not set, disable ldap sync.
[2017-03-08 21:22:11,711] [INFO] [virus_scan] scan_command option is not found in /opt/seafile/conf/seafile.conf, disable virus scan.
[2017-03-08 21:22:11,712] [DEBUG] office enabled: True
[2017-03-08 21:22:11,712] [DEBUG] office convert workers: 1
[2017-03-08 21:22:11,712] [DEBUG] office outputdir: /tmp/seafile-office-output
[2017-03-08 21:22:11,712] [DEBUG] office convert max pages: 50
[2017-03-08 21:22:11,712] [DEBUG] office convert max size: 10 MB
[2017-03-08 21:22:11,712] [INFO] [seafevents] database: mysql, name: seahub_db
[2017-03-08 21:22:11,723] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-03-08 21:22:11,723] [INFO] try to connect to ccnet-server…
[2017-03-08 21:22:11,723] [INFO] connected to ccnet server
[2017-03-08 21:22:11,723] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-03-08 21:22:11,725] [INFO] listen to mq: set([‘seaf_server.event’, ‘seahub.stats’])
[2017-03-08 21:22:11,725] [INFO] staring background tasks
[2017-03-08 21:22:11,725] [INFO] search indexer is started, interval = 600 sec
[2017-03-08 21:22:11,725] [INFO] seahub email sender is started, interval = 1800 sec
[2017-03-08 21:22:11,725] [INFO] ldap sync is disabled
[2017-03-08 21:22:11,725] [INFO] virus scan is disabled
[2017-03-08 21:22:12,464] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/pro/python/seafevents/office_converter/unoconv.py” “-vvv” “–pipe” “seafilepipe” “-l”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafevents/office_converter
[2017-03-08 21:22:12,480] [INFO] office converter started
[2017-03-08 21:23:47,461] [DEBUG] using config file /opt/seafile/conf/ccnet.conf
[2017-03-08 21:31:54,340] [DEBUG] start to fetch task <type: pptx, id: abf1ed03473e79c5ebe613cf6ba908abb0b1c22e>
[2017-03-08 21:31:54,395] [DEBUG] start to convert task <type: pptx, id: abf1ed03473e79c5ebe613cf6ba908abb0b1c22e>
[2017-03-08 21:32:12,060] [INFO] starts to index files
[2017-03-08 21:32:12,758] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 21:32:44,074] [WARNING] error when invoking libreoffice: Verbosity set to level 3
DEBUG: Connection type: pipe,name=seafilepipe;urp;StarOffice.ComponentContext
Input file: /tmp/tmpmgI1Vu.pptx
unoconv: RuntimeException during import phase:
Office probably died. Binary URP bridge disposed during call
Using office base path: /usr/lib64/libreoffice
Using office binary path: /usr/lib64/libreoffice/program

[2017-03-08 21:32:44,152] [WARNING] failed to convert <type: pptx, id: abf1ed03473e79c5ebe613cf6ba908abb0b1c22e> to pdf
[2017-03-08 21:32:44,153] [DEBUG] removing temporary document /tmp/tmpmgI1Vu.pptx
[2017-03-08 21:33:09,694] [DEBUG] start to fetch task <type: docx, id: 42f02c4fcfd5fa9b1d6d36706d4d3f83efc9893c>
[2017-03-08 21:33:09,757] [DEBUG] start to convert task <type: docx, id: 42f02c4fcfd5fa9b1d6d36706d4d3f83efc9893c>
[2017-03-08 21:42:11,952] [INFO] starts to index files
[2017-03-08 21:42:11,955] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 21:52:11,823] [INFO] starts to send email
[2017-03-08 21:52:11,825] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_notices”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 21:52:11,829] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_queued_mail”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 21:52:11,963] [INFO] starts to index files
[2017-03-08 21:52:11,964] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 22:02:12,074] [INFO] starts to index files
[2017-03-08 22:02:12,074] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 22:12:12,178] [INFO] starts to index files
[2017-03-08 22:12:12,178] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 22:22:11,935] [INFO] starts to send email
[2017-03-08 22:22:11,935] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_notices”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 22:22:11,947] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_queued_mail”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 22:22:12,213] [INFO] starts to index files
[2017-03-08 22:22:12,213] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 22:32:12,316] [INFO] starts to index files
[2017-03-08 22:32:12,319] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 22:42:12,420] [INFO] starts to index files
[2017-03-08 22:42:12,421] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 22:52:12,051] [INFO] starts to send email
[2017-03-08 22:52:12,052] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_notices”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 22:52:12,065] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_queued_mail”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 22:52:12,438] [INFO] starts to index files
[2017-03-08 22:52:12,438] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 23:02:12,441] [INFO] starts to index files
[2017-03-08 23:02:12,444] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 23:12:12,444] [INFO] starts to index files
[2017-03-08 23:12:12,447] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 23:22:12,053] [INFO] starts to send email
[2017-03-08 23:22:12,064] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_notices”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 23:22:12,072] [DEBUG] Running command: “/usr/bin/python2.7” “/opt/seafile/seafile-pro-server-6.0.8/seahub/manage.py” “send_queued_mail”, cwd = /opt/seafile/seafile-pro-server-6.0.8/seahub
[2017-03-08 23:22:12,470] [INFO] starts to index files
[2017-03-08 23:22:12,471] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes
[2017-03-08 23:32:12,473] [INFO] starts to index files
[2017-03-08 23:32:12,479] [DEBUG] Running command: “/usr/bin/python2.7” “-m” “seafes.update_repos” “–logfile” “/opt/seafile/logs/index.log” “update”, cwd = /opt/seafile/seafile-pro-server-6.0.8/pro/python/seafes

如果是 centos 下,第一次安装的话,重启seafile试试

重启之后可以在线预览文档了。但是文件搜索又报错

Page unavailable

Sorry, but the requested page is unavailable due to a server hiccup.

Our engineers have been notified, so check back later.

打开 seahub.log, seahub_django_request.log, seafile.log ccnet.log seafevents.log 文件看看有没有相应错误日志

日志如下,麻烦看下哈

http://112.74.53.216/d/9d6cdcb948/