Open hieastz opened 3 years ago
I have a very similar issue (that feels like a race in the caching layer of the file tree?)
I run caddy on Linux 5.4.0-80-generic #90-Ubuntu
, and didn't use an app to access the share, but the windows explorer webdav client.
This only occured for a single filename (a file that previously existed in the share, but was deleted), when trying to copy a file with that specific name to the dir, or when renaming another file to that name. Interestingly, this occured for all files with that name in various subdirs:
/webdav/foo/tickets.yaml
/webdav/bar/tickets.yaml
Windows client reports something along the line of:
The error disappeared only after restarting caddy.
I've updated the dependencies for the first time in a few years; might be worth checking again!
I've also just setup Caddy webdav and PhotoSync and am experiencing the same error in the console.
Caddy server is windows 10. The phone uses photosync+webdav to synchronize photos, and an error will be reported every time a photo is synchronized.
Error message:
Cannot create a file when that file already exists
Tip:
The error log will be output, but it does not affect the use
Caddyfile:
error.log: