@squirrel @jobenvil
Thanks for your replies…
I tried your workaround and it worked. I’m able to start it with “seahub.sh start”.
But when I try to connect it in the browser “odroidc4.lan:8000”, I have this error…
2021-02-01 17:49:39,387 [ERROR] django.request:132 handle_uncaught_exception Internal Server Error: /
Traceback (most recent call last):
File “/home/seafile/seafile-server-7.1.5/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/home/seafile/seafile-server-7.1.5/seahub/thirdpart/django/core/handlers/base.py”, line 244, in _legacy_get_response
response = middleware_method(request)
File “/home/seafile/seafile-server-7.1.5/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.5/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.5/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.5/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.5/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.5/seahub/thirdpart/django/urls/resolvers.py”, line 400, in urlconf_module
return import_module(self.urlconf_name)
File “/usr/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 790, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/home/seafile/seafile-server-7.1.5/seahub/seahub/utils/rooturl.py”, line 41, in
url(r’^%s’ % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
File “/home/seafile/seafile-server-7.1.5/seahub/thirdpart/django/conf/urls/init.py”, line 50, in include
urlconf_module = import_module(urlconf_module)
File “/usr/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 790, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/home/seafile/seafile-server-7.1.5/seahub/seahub/urls.py”, line 91, in
from seahub.api2.endpoints.webdav_secret import WebdavSecretView
File “/home/seafile/seafile-server-7.1.5/seahub/seahub/api2/endpoints/webdav_secret.py”, line 14, in
from seahub.utils.hasher import AESPasswordHasher
File “/home/seafile/seafile-server-7.1.5/seahub/seahub/utils/hasher.py”, line 4, in
from Crypto.Cipher import AES
File “/home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Cipher/init.py”, line 27, in
from Crypto.Cipher._mode_ecb import _create_ecb_cipher
File “/home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Cipher/_mode_ecb.py”, line 35, in
raw_ecb_lib = load_pycryptodome_raw_lib(“Crypto.Cipher._raw_ecb”, “”"
File “/home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Util/_raw_api.py”, line 308, 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-39-aarch64-linux-gnu.so’: /home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Util/…/Cipher/_raw_ecb.cpython-39-aarch64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying ‘_raw_ecb.abi3.so’: /home/seafile/seafile-server-7.1.5/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.5/seahub/thirdpart/Crypto/Util/…/Cipher/_raw_ecb.so: cannot open shared object file: No such file or directory
If I check the directory “/home/seafile/seafile-server-latest/seahub/thirdpart/Crypto/Cipher”, I have those files…
-rwxr-xr-x 1 401 401 94K 27 oct. 00:02 _raw_aes.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 93K 27 oct. 00:02 _raw_arc2.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 111K 27 oct. 00:02 _raw_blowfish.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 92K 27 oct. 00:02 _raw_cast.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 78K 27 oct. 00:02 _raw_cbc.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 82K 27 oct. 00:02 _raw_cfb.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 86K 27 oct. 00:02 _raw_ctr.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 96K 27 oct. 00:02 _raw_des3.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 95K 27 oct. 00:02 _raw_des.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 73K 27 oct. 00:02 _raw_ecb.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 185K 27 oct. 00:02 _raw_eksblowfish.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 94K 27 oct. 00:02 _raw_ocb.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 76K 27 oct. 00:02 _raw_ofb.cpython-37m-aarch64-linux-gnu.so
-rwxr-xr-x 1 401 401 80K 27 oct. 00:02 _Salsa20.cpython-37m-aarch64-linux-gnu.so
I do understand that it should be “39” instead of “37m” in the name of the files…
So I tried to symlink all of them, but now, I have another issue in this folder…
OSError: Cannot load native module ‘Crypto.Util._strxor’: Trying ‘_strxor.cpython-39-aarch64-linux-gnu.so’: /home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Util/…/Util/_strxor.cpython-39-aarch64-linux-gnu.so: cannot open shared object file: No such file or directory, Trying ‘_strxor.abi3.so’: /home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Util/…/Util/_strxor.abi3.so: cannot open shared object file: No such file or directory, Trying ‘_strxor.so’: /home/seafile/seafile-server-7.1.5/seahub/thirdpart/Crypto/Util/…/Util/_strxor.so: cannot open shared object file: No such file or directory
I wonder if I should re-install python3 library in the thirdpart directory of my seafile account.
But which ones, and is it the same procedure than you mentioned before?!…
I’m a bit disappointed… if you have any idea?!…