question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebDAV sync: 404 until I create file manually

See original GitHub issue

Your 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)

  1. Add webdav sync and enter a sync file path, e.g. /sync/super-productivity.json
  2. Click save
  3. Click button to sync manually
  4. See 404 error as snackbar
  5. create empty file on nextcloud: /sync/super-productivity.json
  6. Sync manually
  7. See dialog that asks if you want to upload data to remote
  8. Confirm
  9. 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:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
tennoxcommented, Jun 1, 2022

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 😕

1reaction
johannesjocommented, Jan 28, 2022

Thanks for reporting this! Would be great to automatically create this file first instead of throwing the error. PRs are welcome!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found