Hi everybody,
for the first time in years I’ve been running into an issue upgrading my Seafile Pro Docker setup – and I’m running out of ideas. So any suggestion would be awesome!
- After running
docker-compose pull
and restarting the compose app (stop, rm, up), - I’m constantly getting a blank ‘Page unavailable’ screen
- and the
seahub.log
keeps on complaining about
ModuleNotFoundError: No module named 'seahub_extra'
.
The only related issue, I was able to find was this:
forum.seafile.com/t/seahub-problems-after-upgrading-8-0-17-to-9-05/16493
but unfortunately in my case it does not seem to solve itself.
I just found out that curling
the instance localhost does return the login page! That would point to nginx being the bad guy here – but I do not see any errors!?
My Stacktrace looks like this:
ModuleNotFoundError: No module named 'seahub_extra'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/seafile/seafile-pro-server-9.0.7/seahub/thirdpart/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/opt/seafile/seafile-pro-server-9.0.7/seahub/thirdpart/django/utils/deprecation.py", line 116, in __call__
response = self.process_request(request)
File "/opt/seafile/seafile-pro-server-9.0.7/seahub/seahub/auth/middleware.py", line 33, in process_request
if request.user.is_authenticated and not request.user.is_active:
File "/opt/seafile/seafile-pro-server-9.0.7/seahub/seahub/auth/middleware.py", line 23, in __get__
request._cached_user = get_user(request)
File "/opt/seafile/seafile-pro-server-9.0.7/seahub/seahub/auth/__init__.py", line 119, in get_user
backend = load_backend(backend_path)
File "/opt/seafile/seafile-pro-server-9.0.7/seahub/seahub/auth/__init__.py", line 23, in load_backend
raise ImproperlyConfigured('Error importing authentication backend %s: "%s"' % (module, e))
django.core.exceptions.ImproperlyConfigured: Error importing authentication backend seahub_extra.django_cas_ng.backends: "No module named 'seahub_extra'"