Problems after WebDAV server migration
Hello everyone.
I have a problem with syncing to a WebDAV server.
We have migrated our old server to a newer one an I copied the data from the zotero folder on the old server to the new one.
Both servers are running Ubuntu 10.04 LTS with apache and WebDAV module.
On the old server I was able to sync the files, but now, when I try to validate the server I get an "Error -8".
Here is the debug log of zotero:
(3)(+0062245): Verifying storage
(3)(+0000000): Getting WebDAV password
(3)(+0000004): HTTP OPTIONS for http://******:********@***.*.***.***/zotero/
(3)(+0000023): Date: Thu, 09 Feb 2012 09:32:34 GMT
Server: Apache/2.2.14 (Ubuntu)
DAV: 1,2, <http://apache.org/dav/propset/fs/1>
MS-Author-Via: DAV
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: httpd/unix-directory
(3)(+0000000):
(3)(+0000000): 200
(3)(+0000000): HTTP PROPFIND <?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:getcontentlength/>
</D:prop>
</D:propfind> to http://******:********@***.*.***.***/zotero/
(3)(+0010016): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at ***.*.***.*** Port 80</address>
</body></html>
Strangely, when I delete the zotero folder, it will verify the server and create a new one. But how do I get my data back?
If I copy them to the new folder, the same problem occurs.
It can't be a permission problem, as all the files are in the www-data group and owned by www-data (apache).
Please someone help with this, I don't know what else I can try.
I have a problem with syncing to a WebDAV server.
We have migrated our old server to a newer one an I copied the data from the zotero folder on the old server to the new one.
Both servers are running Ubuntu 10.04 LTS with apache and WebDAV module.
On the old server I was able to sync the files, but now, when I try to validate the server I get an "Error -8".
Here is the debug log of zotero:
(3)(+0062245): Verifying storage
(3)(+0000000): Getting WebDAV password
(3)(+0000004): HTTP OPTIONS for http://******:********@***.*.***.***/zotero/
(3)(+0000023): Date: Thu, 09 Feb 2012 09:32:34 GMT
Server: Apache/2.2.14 (Ubuntu)
DAV: 1,2, <http://apache.org/dav/propset/fs/1>
MS-Author-Via: DAV
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: httpd/unix-directory
(3)(+0000000):
(3)(+0000000): 200
(3)(+0000000): HTTP PROPFIND <?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:getcontentlength/>
</D:prop>
</D:propfind> to http://******:********@***.*.***.***/zotero/
(3)(+0010016): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.2.14 (Ubuntu) Server at ***.*.***.*** Port 80</address>
</body></html>
Strangely, when I delete the zotero folder, it will verify the server and create a new one. But how do I get my data back?
If I copy them to the new folder, the same problem occurs.
It can't be a permission problem, as all the files are in the www-data group and owned by www-data (apache).
Please someone help with this, I don't know what else I can try.
I have just setup the old server again and still it has the same error.
I don't understand that, as it worked before.
As we haven't synced for a longer time now, maybe something broke between zotero releases or maybe even between firefox releases?
Also I can access the files through the browser after entering the username and password without a problem.
Also cadaver works.
So I have no clue, what the problem is.
Thanks for reading again!
Edit: Also apache logs doesn't show any errors. It logs the connection and the OPTIONS and the PROFIND command, but without any difficulties indicated.
I had a look in the error log and nothig turns up there.
Here are some lines form my access.log
- when connecting with BitKinex:
***.*.***.*** - ****** [10/Feb/2012:09:42:54 +0100] "GET /davhome/zotero/2A99SHD5.zip HTTP/1.1" 200 624732 "-" "BitKinex/3.2.3"
***.*.***.*** - ****** [10/Feb/2012:09:43:09 +0100] "PROPFIND /davhome/zotero/ HTTP/1.1" 207 988873 "-" "BitKinex/3.2.3"
***.*.***.*** - ****** [10/Feb/2012:09:43:12 +0100] "PUT /davhome/zotero/2A99SHD5.zip HTTP/1.1" 204 146 "-" "BitKinex/3.2.3"
***.*.***.*** - ****** [10/Feb/2012:09:43:12 +0100] "PROPFIND /davhome/zotero/ HTTP/1.1" 207 988873 "-" "BitKinex/3.2.3"
- with zotero:
***.*.***.*** - - [10/Feb/2012:09:47:56 +0100] "OPTIONS /davhome/zotero/ HTTP/1.1" 401 662 "-" "Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0"
***.*.***.*** - ****** [10/Feb/2012:09:47:56 +0100] "OPTIONS /davhome/zotero/ HTTP/1.1" 200 356 "-" "Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0"
***.*.***.*** - ****** [10/Feb/2012:09:47:56 +0100] "PROPFIND /davhome/zotero/ HTTP/1.1" 400 472 "-" "Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0"
Only line in error.log is:
[Fri Feb 10 06:35:46 2012] [notice] Apache/2.2.14 (Ubuntu) DAV/2 PHP/5.3.2-1ubuntu4.13 with Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations
If this only happens when you copy the old files in, copy only some at a time until figure out what files are causing it.
Let us know what you find out.
It doesn't only happen, when I copy the old files in though.
If there are files present, it doesn't work anymore.
If i delete the zotero folder completely and revalidate the server, it creates the new folder, but if i sync then, the problem is there again.