Seahub Unhandled Exception after upgrading to 6.0.13 (Pro)

Hello,

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/fcgi_base.py", 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/fcgi_base.py", 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/wsgi.py", 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/base.py", 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/locale.py", 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/urlresolvers.py", 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/urlresolvers.py", 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/__init__.py", line 37, in import_module __import__(name)
  File "/opt/seafile/seafile-pro-server-6.0.13/seahub/seahub/utils/rooturl.py", 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/__init__.py", 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/connection_http.py", 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 !