Open elehcim opened 1 year ago
I wonder if this could be your issue: https://serverfault.com/a/716789
I wonder if this could be your issue: https://serverfault.com/a/716789
Thanks for the link, I checked and tested the permissions but it's not that unfortunately.
I do not understand this error log line:
BDB0004 fop_read_meta: /var/lib/dav/DavLock: unexpected file type or format
It looks like it's trying to put the file in a location that isn't allowed by Apache (it seems to be trying to put it either in root or /dir
)
Have you tried using the the directive:
DavLockDB /usr/local/apache/var/DavLock
Have you tried using the the directive:
DavLockDB /usr/local/apache/var/DavLock
yes I tried this, but still doesn't work. I also checked the permissions on the root and /dir
folder without success.
Another thing is that exploring with the browser the webdav url, I see many empty files called like: .davfs.tmp00fea1
the var/DavLock
don't exist in the base image so you would need to create it first.
Yeah I created it.
webdav:/var/lib/dav# ls -la
total 8
drwxrwxr-x. 1 www-data www-data 33 Nov 13 14:43 .
drwxr-xr-x. 1 root root 17 Nov 13 14:43 ..
-rwxrwxrwx. 1 www-data www-data 12288 Nov 28 10:55 DavLock
drwxr-xr-x. 1 www-data www-data 19 Nov 28 15:13 data
dav.conf:
DavLockDB "/var/lib/dav/DavLock"
Alias / "/var/lib/dav/data/"
<Directory "/var/lib/dav/data/">
Dav On
Options Indexes FollowSymLinks
<RequireAny>
Require all granted
</RequireAny>
</Directory>
This is my starting point https://github.com/rucio/containers/tree/master/webdav I opened an issue there, no response yet
This is my starting point https://github.com/rucio/containers/tree/master/webdav I opened an issue there, no response yet
The issue above has been resolved here.
It's still weird that our webdav support isn't working, but I'm glad your use case is fixed!
Hello, I'm running a webdav server using this image
http:bookworm
as base.When I try to PUT a file with:
I get:
And the log from the server is:
When I created the image I installed the apr and aprutil packages with this line:
I saw the line
BDB0004 fop_read_meta: /var/lib/dav/DavLock: unexpected file type or format
may be linked to this issue, but I'm on debian bookworm. Any hint about what may be the problem? Thanks