Creating .dtCloud via webdav failed

command and log.

[shelf@localhost script]$ podman logs -f webdavroot 
+ [ -n myuser ]
+ [ -n mypassword ]
+ htpasswd -cb /etc/nginx/webdavpasswd myuser mypassword
Adding password for user myuser
+ [ -n 0 ]
+ chmod go+w /dev/stderr /dev/stdout
+ gosu 0 mkdir -p /media/.tmp
+ exec gosu 0 nginx -g daemon off;
10.0.2.100 - - [19/Aug/2023:01:02:01 +0000] "PROPFIND /devon.dtCloud/ HTTP/1.1" 401 204 "-" "DEVONcloudy 1.23.2" "-"
2023/08/19 01:02:01 [alert] 13#13: *2 dav_ext stat failed on '/media/devon.dtCloud/' (2: No such file or directory), client: 10.0.2.100, server: localhost, request: "PROPFIND /devon.dtCloud/ HTTP/1.1", host: "192.168.1.134"
10.0.2.100 - myuser [19/Aug/2023:01:02:01 +0000] "PROPFIND /devon.dtCloud/ HTTP/1.1" 207 261 "-" "DEVONcloudy 1.23.2" "-"
2023/08/19 01:02:01 [error] 13#13: *2 mkdir() "/media/devon.dtCloud" failed (13: Permission denied), client: 10.0.2.100, server: localhost, request: "MKCOL /devon.dtCloud/ HTTP/1.1", host: "192.168.1.134:50015"
10.0.2.100 - myuser [19/Aug/2023:01:02:01 +0000] "MKCOL /devon.dtCloud/ HTTP/1.1" 403 152 "-" "DEVONcloudy 1.23.2" "-"
2023/08/19 01:02:01 [alert] 13#13: *2 dav_ext stat failed on '/media/devon.dtCloud/' (2: No such file or directory), client: 10.0.2.100, server: localhost, request: "PROPFIND /devon.dtCloud/ HTTP/1.1", host: "192.168.1.134:50015"
10.0.2.100 - myuser [19/Aug/2023:01:02:01 +0000] "PROPFIND /devon.dtCloud/ HTTP/1.1" 207 261 "-" "DEVONcloudy 1.23.2" "-"
10.0.2.100 - - [19/Aug/2023:01:02:02 +0000] "PROPFIND /devon.dtCloud/ HTTP/1.1" 401 204 "-" "DEVONcloudy 1.23.2" "-"
2023/08/19 01:02:02 [alert] 13#13: *4 dav_ext stat failed on '/media/devon.dtCloud/' (2: No such file or directory), client: 10.0.2.100, server: localhost, request: "PROPFIND /devon.dtCloud/ HTTP/1.1", host: "192.168.1.134"
10.0.2.100 - myuser [19/Aug/2023:01:02:02 +0000] "PROPFIND /devon.dtCloud/ HTTP/1.1" 207 261 "-" "DEVONcloudy 1.23.2" "-"
2023/08/19 01:02:02 [alert] 13#13: *4 dav_ext stat failed on '/media/devon.dtCloud/' (2: No such file or directory), client: 10.0.2.100, server: localhost, request: "PROPFIND /devon.dtCloud/ HTTP/1.1", host: "192.168.1.134:50015"
10.0.2.100 - myuser [19/Aug/2023:01:02:02 +0000] "PROPFIND /devon.dtCloud/ HTTP/1.1" 207 261 "-" "DEVONcloudy 1.23.2" "-"

I use the podman command below.(you can substitute podman with docker. e.g. docker run --restart always and so on. ) FYI, the webdav sync container worked with notability.

podman run --restart always --detach --name webdavroot --publish 50015:8080 \
           --env WEBDAV_USERNAME=myuser --env WEBDAV_PASSWORD=mypassword \
           --env UID=0 --volume /mnt/somedirectory/webdav/storage:/media ionelmc/webdav

I thought It will create the .dtCloud like local sync store but it doesn’t. So I can’t use webdav with devonthink. What should I do? Thanks.

I can’t comment on what you posted as frankly I have no knowledge of what you are doing.

For DEVONthink’s instructions for how to setup a WebDAV server connection, see page 68 (3.9.2 version) of the DEVONthink Manual.

There is no local sync store with Webdav. If your WebDAV server is running and you can connect to it, simply enter the required information in DT(TG) to start sync.
Putting the server in a docket container adds more complexity, but what are the perceived benefits of such a setup?

Thank you, guys.
I acctually needed webdav for backup for another app for a one time. But I just have curiosity, and I tried.
BTW, I noticed webdav is somehow ceased. I don’t want to use webdav anymore.

Well, WebDAV works just fine as a sync protocol for DT. If set up correctly. There’s a description here

How did you notice that?
WebDAV is, in its CardDAV and CalDAV incantations, pretty much alive and kicking – those are the sync protocols for events and contacts. And there’s WebDAV in current NAS models, too.

Or did it just die in your container?