Seafdav not starting

Hi,

I’m using Seafile 7.0 CE and I have the issue, that Seafdav is not working.

I see in the controller.log that the seafdav process is starting:

[07/12/19 17:01:21] seafile-controller.c(92): spawn_process: /usr/local/bin/python2.7 -m wsgidav.server.run_server --log-file /usr/local/www/haiwen/logs/seafdav.log --pid /usr/local/www/haiwen/pids/seafdav.pid --port 8080 --host 0.0.0.0
[07/12/19 17:01:21] seafile-controller.c(107): spawned /usr/local/bin/python2.7, pid 51481

But nothing is listening on port 8080:
tcp4 0 0 *.8000 . LISTEN
tcp4 0 0 *.8082 . LISTEN
tcp6 0 0 *.443 . LISTEN
tcp4 0 0 *.443 . LISTEN
tcp6 0 0 *.80 . LISTEN
tcp4 0 0 *.80 . LISTEN
tcp4 0 0 127.0.0.1.3306 . LISTEN
tcp4 0 0 127.0.0.1.25 . LISTEN
tcp4 0 0 *.22 . LISTEN
tcp6 0 0 *.22 . LISTEN

Unfortunately, there is nothing in the seafdav.log that could help - the last entry is from may.

Is anybody else having similar issues?

WebDAV seems to be broken on 7.0. I had similar problems. Upgrade to the latest version and seafdav will work again.

Yes, I confirm @Tjelfe post. On CE 7.0.3 is working again.

2 Likes

I’ve upgraded today to 7.0.3 and WebDAV is still not working.

My seafdav.conf:
[WEBDAV]
enabled = true
port = 8080
fastcgi = false
share_name = /seafdav

I see again in controller.log that it’s starting, but nothing is listening on port 8080.

Any ideas?

You mean 7.0.4?

Yes, that was a typo. Version 7.0.4.

I’ve finally found some time to dig a little deeper with this issue.

Again, in the controller log I’m still seeing the same:

[09/28/19 22:40:18] seafile-controller.c(92): spawn_process: /usr/local/bin/python2.7 -m wsgidav.server.run_server --log-file /usr/local/www/haiwen/logs/seafdav.log --pid /usr/local/www/haiwen/pids/seafdav.pid --port 8080 --host 0.0.0.0
[09/28/19 22:40:18] seafile-controller.c(107): spawned /usr/local/bin/python2.7, pid 7190
[09/28/19 22:40:28] seafile-controller.c(537): seafdav need restart...
[09/28/19 22:40:28] seafile-controller.c(92): spawn_process: /usr/local/bin/python2.7 -m wsgidav.server.run_server --log-file /usr/local/www/haiwen/logs/seafdav.log --pid /usr/local/www/haiwen/pids/seafdav.pid --port 8080 --host 0.0.0.0
[09/28/19 22:40:28] seafile-controller.c(107): spawned /usr/local/bin/python2.7, pid 7242
[09/28/19 22:40:38] seafile-controller.c(537): seafdav need restart...
[09/28/19 22:40:38] seafile-controller.c(92): spawn_process: /usr/local/bin/python2.7 -m wsgidav.server.run_server --log-file /usr/local/www/haiwen/logs/seafdav.log --pid /usr/local/www/haiwen/pids/seafdav.pid --port 8080 --host 0.0.0.0
[09/28/19 22:40:38] seafile-controller.c(107): spawned /usr/local/bin/python2.7, pid 7299

When I try to start the process manually:

server# /usr/local/bin/python2.7 -m wsgidav.server.run_server --log-file /usr/local/www/haiwen/logs/seafdav.log --pid /usr/local/www/haiwen/pids/seafdav.pid --port 8080 --host 0.0.0.0

/usr/local/bin/python2.7: No module named wsgidav.server.run_server

My first thought was, that the WsgiDAV package isn’t or isn’t properly installed. After reinstalling the package I’m still seeing the same error.

The versions:
Seafile Server: 7.0.4
Seahub: 7.0.9

I’m really stuck here. Any help is truly appreciated.