顺利启动显示Internal Server Error,查看log没有任何错误信息,runtime下也没有错误信息。
改用Apache后显示Unhandled Exception,在apache的errorlog文件可以看到
[Fri Jun 23 14:33:05.250516 2017] [proxy_fcgi:error] [pid 15172] [client 106.38.51.158:49576] AH01071: Got error 'Traceback (most recent call last):\n File
"/home/www-data/seafile/seafile-server/seahub/thirdpart/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py", line 558, in run\n protocolStatus, appStatus = self.server.handler(self)\n File
"/home/www-data/seafile/seafile-server/seahub/thirdpart/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py", line 1118, in handler\n result = self.application(environ, start_response)\n Fi le
"/home/www-data/seafile/seafile-server/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/wsgi.py", line 170, in __call__\n self.load_middleware()\n File
"/home/www-data/seafile/seafile-server/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/ha ndlers/base.py", line 52, in load_middleware\n mw_instance = mw_class()\n File
"/home/www-data/seafile/seafile-server/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/middleware/locale.py", line 24, in __init__\n for url_pattern in get_resolver(None).url_patte rns:\n
File "/home/www-data/seafile/seafile-server/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/urlresolvers.py", line 401, in url_patterns\n patterns = getattr(self.urlconf_module,
"urlpatterns", self.urlconf_module)\n File "/home/www-data/seafile/seaf ile-server/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/urlresolvers.py", line 395, in urlconf_module\n
self._urlconf_module = import_module(self.urlconf_name)\n File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module\n __import__(n ame)\n File
"/home/www-data/seafile/seafile-server/seahub/seahub/utils/rooturl.py", line 41, in <module>\n (r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),\n File
"/home/www-data/seafile/seafile-server/seahub/thirdpart/Django-1.8.18-py2.7 .egg/django/conf/urls/__init__.py", line 33, in include\n urlconf_module = import_module(urlconf_module)\n File
"/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module\n __import__(name)\n File "/home/www-data/seafile/seafile-server/seahub/seah ub/urls.py", line 8, in <module>\n
from seahub.views.file import view_repo_file, view_history_file, view_trash_file,\\\n File "/home/www-data/seafile/seafile-server/seahub/seahub/views/file.py", line 45, in <module>\n from
seahub.wopi.utils import get_wopi_di ct\n File "/home/www-data/seafile/seafile-server/seahub/seahub/wopi/utils.py", line 7, in <module>\n import requests\nImportError: No module named
requests\n', referer: http://cloud.xxx.com:8890/