Seahub Unhandled Exception after upgrading to 6.0.13 (Pro)


I have just upgraded my 5.0.4 Pro Seafile to a 6.0.13.
Seafile and SeaHub did start normally.
But now, every time I try to access to seahub, I’ve got a “Unhandled Exception” error.

Seafile is running under Debian Jessie (8), with MariaDB and nginx.
The system is up to date.

Here is the latest log from /var/log/nginx/seahub.error.log :

2017/06/04 17:43:17 [error] 584#0: *11151 FastCGI sent in stderr: "Traceback (most recent call last):
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/flup-1.0.2-py2.7.egg/flup/server/", line 558, in run protocolStatus, appStatus = self.server.handler(self)
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/flup-1.0.2-py2.7.egg/flup/server/", line 1118, in handler result = self.application(environ, start_response)
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/", line 170, in __call__ self.load_middleware()
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/handlers/", line 52, in load_middleware mw_instance = mw_class()
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/middleware/", line 24, in __init__ for url_pattern in get_resolver(None).url_patterns:
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/", line 401, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/core/", line 395, in urlconf_module self._urlconf_module = import_module(self.urlconf_name)
  File "/opt/seafile/seafile-pro-server-6.0.13/pro/python/importlib-1.0.2-py2.6.egg/importlib/", line 37, in import_module __import__(name)
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/utils/", line 41, in <module> (r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/thirdpart/Django-1.8.18-py2.7.egg/django/conf/urls/", line 33, in include urlconf_module = import_module(urlconf_module)
  File "/opt/seafile/seafile-pro-server-6.0.13/pro/python/importlib-1.0.2-py2.

Where should I look ?

I saw a similar thread regarding a 6.1 version on raspberry py, but I don’t have any video preview option and I am not using a raspberry py.

As I have 80 users using Seafile, this is a quite urgent matter.
Thanks for your help.

Obviously I was not looking in the right direction…
I found the answer in the seahub_email_sender.log :slight_smile:

 File "/opt/seafile/seafile-pro-server-6.0.13/pro/python/pyes-0.99.6dev-py2.6.egg/pyes/", line 18, in <module>
    import urllib3
ImportError: No module named urllib3

It was related to a urllib3 problem.
On (re)installed everything worked fine again.

I hope this might help some other users !