haiwen / seafdav

Seafile webdav server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

seafdav does not work

shady2k opened this issue · comments

seafdav does not work. Server version 7.0.3.
https://download.seadrive.org/seafile-server_7.0.3_x86-64.tar.gz

Config:

[WEBDAV]
enabled = true
port = 8081
fastcgi = false
share_name = /seafdav

In log file after restart:

[2019-07-15 14:01:33,715]:  Init seahub database...
[2019-07-15 14:01:33,715]:  Failed to init seahub db: No module named seahub_settings.

Server returns HTTP error 500.

Check if seahub_settings.py exists in conf directory.

Check if seahub_settings.py exists in conf directory.

Yes, file exists.

can you tell me detailed reproduce step?

  1. Install server version 7.0.3
  2. Create config seafdav.conf
[WEBDAV]
enabled = true
port = 8081
fastcgi = false
share_name = /seafdav
  1. Set up nginx
  2. Restart Seafile

After upgrade server to version 7.0.4, no records in seafdav.log at all.

Seafdav is gone for me too, it just simply doesn't start anymore. I can't find a trace of it since upgrading to 7.0.4 from 6.3.4

EDIT: Controller.log shows stuff,


[12/25/19 02:32:29] seafile-controller.c(594): pid file /home/seafile/pids/seafdav.pid does not exist
[12/25/19 02:32:29] seafile-controller.c(631): seafdav need restart...
[12/25/19 02:32:29] seafile-controller.c(94): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server --log-file /home/seafile/logs/seafdav.log --pid /home/seafile/pids/seafdav.pid --port 12003 --host 0.0.0.0
[12/25/19 02:32:29] seafile-controller.c(109): spawned /usr/bin/python2.7, pid 3881302

this may be a bug.
because wsgi/addons/seafile/seahub_db.py import seahub_settings module and failed. I've made a symbolic link from the conf/seahub_settings.py to the addons, at least the error of 'Failed to init seahub db' never shows up. However it still not working.
I'm using nginx, nginx returns 502.

Same problem here - running Seafile server 7.0.5 behind Apache.

@caixiangyue - any news on this? It seems to be a general problem.

Update: I upgraded to v. 7.1.3 - that fixed the problem, so I guess It's OK now.

Same problem here - running Seafile server 7.0.5 behind Apache.

@caixiangyue - any news on this? It seems to be a general problem.

Update: I upgraded to v. 7.1.3 - that fixed the problem, so I guess It's OK now.

Yes, 7.1.X is available.