WebDAV sync: 404 until I create file manually
See original GitHub issueYour Environment
- Version used: deb 7.9.2
 - Operating System and version: elementary OS 5.1.7 Hera
 
Expected Behavior
When creating a webdav sync, the file should be created automatically.
Current Behavior
I entered the sync file path, but I get Unknown Sync Error: Invalid response: 404
Steps to Reproduce (for bugs)
- Add webdav sync and enter a sync file path, e.g. 
/sync/super-productivity.json - Click save
 - Click button to sync manually
 - See 404 error as snackbar
 - create empty file on nextcloud: 
/sync/super-productivity.json - Sync manually
 - See dialog that asks if you want to upload data to remote
 - Confirm
 - Works
 
Console Output
zone.js:2863 HEAD https://my.cloud/remote.php/dav/files/my-user/Backup/me/super-productivity.json 404
d @ zone.js:2863
scheduleTask @ zone.js:393
[...]
web-dav-sync.service.ts:55 Error: Invalid response: 404 
    at Gt (index.js:16)
    at Ye (index.js:16)
    at T.invoke (zone.js:372)
    at Object.onInvoke (core.mjs:25450)
    at T.invoke (zone.js:371)
    at I.run (zone.js:134)
    at zone.js:1276
    at T.invokeTask (zone.js:406)
    at Object.onInvokeTask (core.mjs:25437)
    at T.invokeTask (zone.js:405)
Error Log (Desktop only)
logfile is not printing anything (how can I configure loglevel?)
Issue Analytics
- State:
 - Created 2 years ago
 - Comments:5 (1 by maintainers)
 
Top Results From Across the Web
404 when using WebDav - Bring2mind Forums - Document
Hi Dave, I believe there is a screenshot in the WebDAV manual on the help menu. You are in the right place. Make...
Read more >[WebDAV Protocol] Failed to list: Not Found (404) - N-able
Logging in Backup Configuration file (C:/Program Files/Backup Manager) has device storage path specified that is incorrect: PathToLocalStorage= ...
Read more >Can't access WebDAV files from PaperShip or Zotero.org
As a temporary workaround you can create a file lastsync.txt manually in the root of the zotero folder in your WebDAV storage.
Read more >Moving file on WEBDAV server returns 404 even though file ...
I found this bug report with the solution: Disabling MultiViews in the apache host configuration fixed the issue.
Read more >Accessing owncloud from desktop client fails with 404 error
Logging on to owncloud server and being able to sync files ... on "PROPFIND http://owncloud.tzestorganisation.intranet/remote.php/webdav/" ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Still relevant, albeit neither me or the dev or someone else has started working on it 😅
I might, some fine day, but currently I’m busy 😕
Thanks for reporting this! Would be great to automatically create this file first instead of throwing the error. PRs are welcome!