Hi!
I tried building Seafile Server 7.0.2 and I ran into some issues.
https://github.com/haiwen/django-constance/blob/master/setup.py lists “django-picklefield” as a requirement. Unfortunately, the download from pip (v2.0) fails, something seems to be broken on their side. Is it possible to add picklefield’s version number in constance’s setup.py? Or mention it in the manual?
“seafdav/wsgidav/addons/seafile/seahub_db.py” seems to require SQLalchemy at runtime. Without it, seafdav will be restarted over and over again by the controller without actually working. And worse, it doesn’t log anything to seafdav.log, making it hard to troubleshoot.
Maybe include that dependency into the documentation as well?
I’m not sure if this is the right way to deal with the problem, the code is copied from seahub’s settings.py. Also, I didn’t look into the sqlite-part of that code since I don’t use sqlite.
Shouldn’t seafdav be started by seahub somehow, thus not requiring to load conf/seahub_settings.py at all? Maybe I’m still missing a dependency?
On a side note: when I patched seafdav and then build the server using “seafile-server/scripts/build/build-server.py”, the patch gets removed. So I had to re-apply it in seafile-server-7.0.2/seahub/thirdpart/wsgidav/addons/seafile/seahub_db.py. Is that a mistake or by design? And how to avoid it?
Any thoughts or explainations are highly welcome, especially on #3.
It seems to work fine (test szenario).
Okay, I’ve had time to test this against the prebuild binary (https://download.seadrive.org/seafile-server_7.0.2_x86-64.tar.gz) from the download section.
seafdav.log also says “Failed to init seahub db: No module named seahub_settings.” here.
Adding the code from my fist post to seahub/thirdpart/wsgidav/addons/seafile/seahub_db.py also makes that error go away and SeafDAV works.
@Jeff_Jeff did you install the prebuild binary or a self-compiled version? Can you test if the modifications above fixes seahub’s issues for you as well? (Please don’t try that on a production server)
Thanks for your return. I’ve installed the official package on a debian server. Updated from version 6.0.9 (by following the instructions as well).
Your modifications didn’t work for me (after restarting, of course). Same error again. I don’t know what to try!