Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webdav fails after docker build #8

Open
hvbommel opened this issue Feb 13, 2019 · 2 comments
Open

webdav fails after docker build #8

hvbommel opened this issue Feb 13, 2019 · 2 comments

Comments

@hvbommel
Copy link

hvbommel commented Feb 13, 2019

I am looking for a hint how to fix the below ...

I cloned the latest bits.
I build the Dockerfile: docker build -t my-webdav .
and run it using docker-compose.yml
I left the config files as is & set USERNAME, PASSWORD and AUTH_TYPE in my docker-compose.yml

I can mount the webdav share ok and see the files & folders that I put on the filesystem for test.
I can not create files or folders. When I try that I get the errors below.

[Wed Feb 13 20:27:42.239529 2019] [dav_fs:crit] [pid 14:tid 140442075208464] (20019)DSO load failed: AH00576: The DBM driver could not be loaded
[Wed Feb 13 20:27:42.239560 2019] [dav:error] [pid 14:tid 140442075208464] [client 192.168.2.70:40760] The locks could not be queried for verification against a possible "If:" header. [500, #0]
[Wed Feb 13 20:27:42.239568 2019] [dav:error] [pid 14:tid 140442075208464] [client 192.168.2.70:40760] Could not open the lock database. [500, #400]
[Wed Feb 13 20:27:42.239571 2019] [dav:error] [pid 14:tid 140442075208464] (20019)DSO load failed: [client 192.168.2.70:40760] Could not open property database. [500, #1]
192.168.2.70 - henri [13/Feb/2019:20:27:42 +0000] "MKCOL /test/ HTTP/1.1" 500 528 "-" "davfs2/1.5.4 neon/0.30.2"

Notes: on the webdav-share:/var/lib/dav I see

  • data folder
  • DavLock
    Not created are these (I found these on the working machine using bytemark/webdav image):
  • DavLock.dir
  • DavLock.pag

PS: The prebuild bytemark/webdav image works fine on my machine but I want to modify it a bit.

@andreaszapf
Copy link

Using an earlier httpd:alpine image fixed this for me: when I said FROM httpd:2.4.37-alpine in Dockerfile the error went away.

2.4.37 seems to be the version the bytemark/webdav image on dockerhub was built with.

@hvbommel
Copy link
Author

hvbommel commented Apr 8, 2019 via email

andreaszapf added a commit to andreaszapf/docker-webdav that referenced this issue Apr 12, 2019
With versions above 2.4.37, e.g PUT requests fail with an internal
server error. The log says:

(20019)DSO load failed: AH00576: The DBM driver could not be loaded

This has been reported before, see
BytemarkHosting#8

Going to the most recent 2.4.39 seems to fix the issue for the OP but
not for me -- maybe because I'm building for ARM.
dbakker pushed a commit to crunchr/docker-webdav that referenced this issue Jun 3, 2019
There appears to be a problem with the latest Alpine version, see
BytemarkHosting#8 .
kostapsimoulis added a commit to kpsimoulis/docker-webdav that referenced this issue Oct 29, 2019
mgutt added a commit to mgutt/docker-apachewebdav that referenced this issue Aug 10, 2021
jeritiana added a commit to jeritiana/docker-webdav that referenced this issue Feb 2, 2022
YutaNakamizo added a commit to YutaNakamizo/docker-webdav that referenced this issue Mar 5, 2022
YutaNakamizo added a commit to YutaNakamizo/docker-webdav that referenced this issue Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants