部署 Seafile 服务器( MySQL),不能登录,系统ubuntu server

服务器器:ubuntu server v16.04.4
按照手册“部署 Seafile 服务器(使用 MySQL/MariaDB)”的方法部署,没有出现错误,数据库和用户创建都正常,服务启动也正常,但web不能登录,500错误。手机客户端登录,显示internal server error。防火墙没有打开,web端本地抓包服务器是有回应的。

有没有调试命令,记录详细的日志

ccnet.log

[03/03/18 12:35:11] …/common/session.c(132): using config file /home/yxh/haiwen/conf/ccnet.conf
[03/03/18 12:35:11] …/common/session.c(484): Listen on /home/yxh/haiwen/ccnet/ccnet.sock for local clients
[03/03/18 12:35:11] …/common/session.c(290): Update pubinfo file
[03/03/18 12:35:12] …/common/session.c(398): Accepted a local client
[03/03/18 12:35:12] …/common/session.c(398): Accepted a local client
[03/03/18 12:35:12] …/common/session.c(398): Accepted a local client
[03/03/18 12:35:12] …/common/session.c(398): Accepted a local client
[03/03/18 12:35:24] …/common/session.c(398): Accepted a local client
[03/03/18 12:36:12] …/common/peer.c(943): Local peer down
[03/03/18 14:26:38] …/common/session.c(398): Accepted a local client
[03/03/18 14:26:38] …/common/peer.c(943): Local peer down
[03/03/18 18:17:32] …/common/session.c(369): Exit at Sat Mar 3 18:17:32 2018

[03/03/18 18:17:35] …/common/session.c(132): using config file /home/yxh/haiwen/conf/ccnet.conf
[03/03/18 18:17:35] …/common/session.c(455): socket file exists, delete it anyway
[03/03/18 18:17:35] …/common/session.c(484): Listen on /home/yxh/haiwen/ccnet/ccnet.sock for local clients
[03/03/18 18:17:35] …/common/session.c(290): Update pubinfo file
[03/03/18 18:17:36] …/common/session.c(398): Accepted a local client
[03/03/18 18:17:36] …/common/session.c(398): Accepted a local client
[03/03/18 18:17:36] …/common/session.c(398): Accepted a local client
[03/03/18 18:17:36] …/common/session.c(398): Accepted a local client
[03/03/18 18:19:20] …/common/session.c(369): Exit at Sat Mar 3 18:19:20 2018

[03/03/18 18:19:22] …/common/session.c(132): using config file /home/yxh/haiwen/conf/ccnet.conf
[03/03/18 18:19:23] …/common/session.c(455): socket file exists, delete it anyway
[03/03/18 18:19:23] …/common/session.c(484): Listen on /home/yxh/haiwen/ccnet/ccnet.sock for local clients
[03/03/18 18:19:23] …/common/session.c(290): Update pubinfo file
[03/03/18 18:19:23] …/common/session.c(398): Accepted a local client
[03/03/18 18:19:23] …/common/session.c(398): Accepted a local client
[03/03/18 18:19:23] …/common/session.c(398): Accepted a local client
[03/03/18 18:19:23] …/common/session.c(398): Accepted a local client
[03/03/18 18:19:34] …/common/session.c(398): Accepted a local client
[03/03/18 18:19:34] …/common/peer.c(943): Local peer down

controller.log

[03/03/18 12:35:11] seafile-controller.c(154): starting ccnet-server …
[03/03/18 12:35:11] seafile-controller.c(73): spawn_process: ccnet-server -F /home/yxh/haiwen/conf -c /home/yxh/haiwen/ccnet -f /home/yxh/haiwen/logs/ccnet.log -d -P /home/yxh/haiwen/pids/ccnet.pid
[03/03/18 12:35:11] seafile-controller.c(88): spawned ccnet-server, pid 11750
[03/03/18 12:35:12] seafile-controller.c(555): ccnet daemon connected.
[03/03/18 12:35:12] seafile-controller.c(186): starting seaf-server …
[03/03/18 12:35:12] seafile-controller.c(73): spawn_process: seaf-server -F /home/yxh/haiwen/conf -c /home/yxh/haiwen/ccnet -d /home/yxh/haiwen/seafile-data -l /home/yxh/haiwen/logs/seafile.log -P /home/yxh/haiwen/pids/seaf-server.pid
[03/03/18 12:35:12] seafile-controller.c(88): spawned seaf-server, pid 11754
[03/03/18 12:35:12] seafile-controller.c(528): seafdav not enabled.
[03/03/18 18:17:32] seafile-controller.c(566): shutting down ccnet-server …
[03/03/18 18:17:35] seafile-controller.c(154): starting ccnet-server …
[03/03/18 18:17:35] seafile-controller.c(73): spawn_process: ccnet-server -F /home/yxh/haiwen/conf -c /home/yxh/haiwen/ccnet -f /home/yxh/haiwen/logs/ccnet.log -d -P /home/yxh/haiwen/pids/ccnet.pid
[03/03/18 18:17:35] seafile-controller.c(88): spawned ccnet-server, pid 12013
[03/03/18 18:17:36] seafile-controller.c(555): ccnet daemon connected.
[03/03/18 18:17:36] seafile-controller.c(186): starting seaf-server …
[03/03/18 18:17:36] seafile-controller.c(73): spawn_process: seaf-server -F /home/yxh/haiwen/conf -c /home/yxh/haiwen/ccnet -d /home/yxh/haiwen/seafile-data -l /home/yxh/haiwen/logs/seafile.log -P /home/yxh/haiwen/pids/seaf-server.pid
[03/03/18 18:17:36] seafile-controller.c(88): spawned seaf-server, pid 12017
[03/03/18 18:17:36] seafile-controller.c(528): seafdav not enabled.
[03/03/18 18:19:20] seafile-controller.c(566): shutting down ccnet-server …
[03/03/18 18:19:22] seafile-controller.c(154): starting ccnet-server …
[03/03/18 18:19:22] seafile-controller.c(73): spawn_process: ccnet-server -F /home/yxh/haiwen/conf -c /home/yxh/haiwen/ccnet -f /home/yxh/haiwen/logs/ccnet.log -d -P /home/yxh/haiwen/pids/ccnet.pid
[03/03/18 18:19:22] seafile-controller.c(88): spawned ccnet-server, pid 12139
[03/03/18 18:19:23] seafile-controller.c(555): ccnet daemon connected.
[03/03/18 18:19:23] seafile-controller.c(186): starting seaf-server …
[03/03/18 18:19:23] seafile-controller.c(73): spawn_process: seaf-server -F /home/yxh/haiwen/conf -c /home/yxh/haiwen/ccnet -d /home/yxh/haiwen/seafile-data -l /home/yxh/haiwen/logs/seafile.log -P /home/yxh/haiwen/pids/seaf-server.pid
[03/03/18 18:19:23] seafile-controller.c(88): spawned seaf-server, pid 12143
[03/03/18 18:19:23] seafile-controller.c(528): seafdav not enabled.

seafile.log

[03/03/18 18:17:36] http-server.c(161): fileserver: worker_threads = 10
[03/03/18 18:17:36] http-server.c(176): fileserver: fixed_block_size = 8388608
[03/03/18 18:17:36] http-server.c(191): fileserver: web_token_expire_time = 3600
[03/03/18 18:17:36] http-server.c(206): fileserver: max_indexing_threads = 1
[03/03/2018 06:17:36 PM] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[03/03/2018 06:17:37 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:19:20 PM] Disconnected from daemon
[03/03/18 18:19:24] http-server.c(161): fileserver: worker_threads = 10
[03/03/18 18:19:24] http-server.c(176): fileserver: fixed_block_size = 8388608
[03/03/18 18:19:24] http-server.c(191): fileserver: web_token_expire_time = 3600
[03/03/18 18:19:24] http-server.c(206): fileserver: max_indexing_threads = 1
[03/03/2018 06:19:24 PM] …/common/mq-mgr.c(54): [mq client] mq cilent is started
[03/03/2018 06:19:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:24:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:29:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:34:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:39:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:44:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:49:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:54:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 06:59:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 07:04:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 07:09:25 PM] size-sched.c(96): Repo size compute queue size is 0
[03/03/2018 07:14:25 PM] size-sched.c(96): Repo size compute queue size is 0

改用debian,就可以了,为什么?不过debian中直接用root用户安装,有影响?