I want to make a build for Ubuntu-Server 20.04 for Raspberry PI arm64, as the [relaeses (7.1.4)](github .com/haiwen/seafile-rpi/releases) haven’t worked.
The build runs without errors: github .com/haiwen/seafile-rpi/blob/master/build3.sh
But when I want to start seahub (e.g. with ./seahub.sh start-fastcgi 8081
), I get this error:
File "/home/pi/seafile/seafile-server-7.1.4/seahub/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/pi/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/home/pi/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/management/__init__.py", line 357, in execute
django.setup()
File "/home/pi/seafile/seafile-server-7.1.4/seahub/thirdpart/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/pi/seafile/seafile-server-7.1.4/seahub/thirdpart/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/home/pi/seafile/seafile-server-7.1.4/seahub/thirdpart/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/pi/seafile/seafile-server-7.1.4/seahub/seahub/base/models.py", line 13, in <module>
from seahub.utils import calc_file_path_hash, within_time_range, \
File "/home/pi/seafile/seafile-server-7.1.4/seahub/seahub/utils/__init__.py", line 25, in <module>
from django.core.urlresolvers import reverse
ModuleNotFoundError: No module named 'django.core.urlresolvers'
I looked up the used sources and ther seahub-6.0.1
is used, where [this fix](github .com/haiwen/seahub/pull/4620) isn’t present and therefore throws the error.
Then I tried to set the [seahub version](github .com/haiwen/seafile-rpi/blob/master/build3.sh#22) in build3.sh
to the current 7.1.4
, but that did’t update the resources.
Any ideas, how to make seahub working, preferably by upgrading seahub to 7.1.4?
Related topics:
forum.seafile .com/t/error-seahub-failed-to-start/2101/5
forum.seafile .com/t/seahub-startet-nicht/12012
github .com/haiwen/seafile-rpi/issues/64