Hi there,
thanks for working on a raspi-build for Seafile.
I am trying to deploy seafile-server-7-1-4-buster into a debian-buster container on raspberry pi 3 with latest raspbian (my current seafile 7.0.5 is running like this).
I followed the manual and installed all required dependencies:
apt-get install python3 python3-setuptools python3-pip -y
pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 sqlalchemy django-pylibmc django-simple-captcha python3-ldap
and did set the Symlink as mentioned above.
Starting seahub didn work, but I got no error-log. So I installed Pillow:
pip3 install -U Pillow -t /home/seafile/seafile-server-latest/seahub/thirdpart
Now I can start seafile and seahub, but when i try to contact the url, i get errors in seahub.log. Don’t know, what dependecies are missing, maybe some crypto-libs …?
Any Idea?
seahub.log:
2020-05-27 07:57:53,044 [ERROR] django.request:132 handle_uncaught_exception Internal Server Error: / Traceback (most recent call last): File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/core/handlers/base.py", line 244, in _legacy_get_response response = middleware_method(request) File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/middleware/locale.py", line 24, in process_request i18n_patterns_used, prefixed_default_language = is_language_prefix_patterns_used(urlconf) File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/conf/urls/i18n.py", line 29, in is_language_prefix_patterns_used for url_pattern in get_resolver(urlconf).url_patterns: File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/urls/resolvers.py", line 407, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/utils/functional.py", line 35, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/urls/resolvers.py", line 400, in urlconf_module return import_module(self.urlconf_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/seafile/seafile-server-7.1.4/seahub/seahub/utils/rooturl.py", line 41, in <module> url(r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)), File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/django/conf/urls/__init__.py", line 50, in include urlconf_module = import_module(urlconf_module) 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/seafile/seafile-server-7.1.4/seahub/seahub/urls.py", line 91, in <module> from seahub.api2.endpoints.webdav_secret import WebdavSecretView File "/home/seafile/seafile-server-7.1.4/seahub/seahub/api2/endpoints/webdav_secret.py", line 14, in <module> from seahub.utils.hasher import AESPasswordHasher File "/home/seafile/seafile-server-7.1.4/seahub/seahub/utils/hasher.py", line 4, in <module> from Crypto.Cipher import AES File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/Crypto/Cipher/__init__.py", line 27, in <module> from Crypto.Cipher._mode_ecb import _create_ecb_cipher File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/Crypto/Cipher/_mode_ecb.py", line 35, in <module> raw_ecb_lib = load_pycryptodome_raw_lib("Crypto.Cipher._raw_ecb", """ File "/home/seafile/seafile-server-7.1.4/seahub/thirdpart/Crypto/Util/_raw_api.py", line 303, in load_pycryptodome_raw_lib raise OSError("Cannot load native module '%s': %s" % (name, ", ".join(attempts))) OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Trying '_raw_ecb.cpython-38-arm-linux-gnueabihf.so': /home/seafile/seafile-server-7.1.4/seahub/thirdpart/Crypto/Util/../Cipher/_raw_ecb.cpython-38-arm-linux-gnueabihf.so: cannot open shared object file: No such file or directory, Trying '_raw_ecb.abi3.so': /home/seafile/seafile-server-7.1.4/seahub/thirdpart/Crypto/Util/../Cipher/_raw_ecb.abi3.so: cannot open shared object file: No such file or directory, Trying '_raw_ecb.so': /home/seafile/seafile-server-7.1.4/seahub/thirdpart/Crypto/Util/../Cipher/_raw_ecb.so: cannot open shared object file: No such file or directory