BytemarkHosting / docker-webdav

Docker image for running an Apache WebDAV server
MIT License
350 stars 166 forks source link

webdav fails after docker build #8

Open hvbommel opened 5 years ago

hvbommel commented 5 years ago

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

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

andreaszapf commented 5 years ago

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 commented 5 years ago

Thanks for getting back. httpd:2.4.37-alpine works for me too. Also httpd:2.4.39-alpine (latest from 5 days ago) is working. So there seems to be an incompatibility with just httpd:2.4.38-alpine.

Van: Andreas Zapf notifications@github.com Verzonden: zondag 7 april 2019 23:03 Aan: BytemarkHosting/docker-webdav docker-webdav@noreply.github.com CC: Henri henri@vanbml.nl; Author author@noreply.github.com Onderwerp: Re: [BytemarkHosting/docker-webdav] webdav fails after docker build (#8)

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BytemarkHosting/docker-webdav/issues/8#issuecomment-480629432 , or mute the thread https://github.com/notifications/unsubscribe-auth/AOHR1qy40l5aLyGnwPvT4WyaPIrZLybHks5vel0GgaJpZM4a6PJO . https://github.com/notifications/beacon/AOHR1oVSy3EVfprZVM87mtYrC-qdid4Hks5vel0GgaJpZM4a6PJO.gif