@Jonathan: Thanks for your answer! I tried with a fresh server and fresh seafile installation on CentOS8 but still was not able to use seafdav!
First I got an error message about missing _sha1 module:
/opt/seafile/seafile-server-latest/seahub.sh start-fastcgi
…
File “/opt/seafile/seafile-server-7.1.1/seahub/seahub/repo_api_tokens/models.py”, line 1, in
from _sha1 import sha1
ModuleNotFoundError: No module named ‘_sha1’
I fixed it by replacing first line of file “/opt/seafile/seafile-server-7.1.1/seahub/seahub/repo_api_tokens/models.py” “from _sha1 import sha1” with “import hashlib” as discussed here Failed to install hashlib, python 3, debian - Stack Overflow
Then I enabled webdav in conf/seafdav.conf and got same error message in log file logs/controller.log every 10 seconds:
[02/27/20 22:49:58] seafile-controller.c(412): pid file /opt/seafile/pids/seafdav.pid does not exist
[02/27/20 22:49:58] seafile-controller.c(444): seafdav need restart…
[02/27/20 22:49:58] seafile-controller.c(79): spawn_process: /usr/bin/python3 -m wsgidav.server.server_cli --server gunicorn --root / --log-file /opt/seafile/logs/seafdav.log --pid /opt/seafile/pids/seafdav.pid --port 8080 --host 0.0.0.0
[02/27/20 22:49:58] seafile-controller.c(94): spawned /usr/bin/python3, pid 3441
If I execute command in a shell by hand
/usr/bin/python3 -m wsgidav.server.server_cli --server gunicorn --root / --log-file /opt/seafile/logs/seafdav.log --pid /opt/seafile/pids/seafdav.pid --port 8080 --host 0.0.0.0
I get error message
/usr/bin/python3: Error while finding module specification for ‘wsgidav.server.server_cli’ (ModuleNotFoundError: No module named ‘wsgidav’)
That’s why I tried to install module wsgidav by hand. (pip3 install wsgidav --user).
How can I install correct module wsgidav? Or why is module wsgidav shipped together with seafile (/opt/seafile/seafile-server-7.1.1/seahub/thirdpart/wsgidav) not found?