-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAVx5 backups fail with rclone and apache2 #503
Comments
here's a bit more detail from apache2 logs:
|
i have a theory as to why this might be happening. seedvault/storage/lib/src/main/java/org/calyxos/backup/storage/plugin/saf/DocumentFileExt.kt Line 47 in c856048
in other words, solving the trailing slash problem may solve both problems. |
hmm, the above only seems to be used for the seedvault/app/src/main/java/com/stevesoltys/seedvault/plugins/saf/DocumentsStorage.kt Line 69 in c856048
the solution may be as simple as appending a directory separator to seedvault/app/src/main/java/com/stevesoltys/seedvault/plugins/saf/DocumentsStorage.kt Line 147 in c856048
it may also be possible to fix this by modifying |
Related to #500 |
@khimaros did you try our new built-in WebDav functionality? Please re-open if it presents the same issues. |
the DAVx5 method now seems to work with apache2 mod_webdav_fs |
rclone: the server crashes during backup, usually around 30% of the way through rclone/rclone#6695 -- it makes more progress than any of the other methods but cannot complete a backup.
apache2 mod_dav_fs: has two failure modes:
301 Moved Permanently
redirects are not handled correctly by DAVx5. apache2 returns 301 redirect response to PROPFIND directory requests if the requests is missing a trailing slash. SeedVault/DAVx5 sendsPROPFIND /.SeedVaultAndroidBackup
and apache2 returns a301
redirect to/.SeedVaultAndroidBackup/
-- this problem can be worked around withBrowserMatch "^DAVx5/" redirect-carefully
in the apache2 config. see also: follow 301 redirects bitfireAT/davx5-ose#253MKCOL /.SeedVaultAndroidBackup
multiple times, even when thePROPFIND /.SeedVaultAndroidBackup
returns a207
. subsequent MKCOL requests return a405 Method Not Allowed
response which causes the backup to abort. see also: [WebDAV] avoid MKCOL on directory that already exists bitfireAT/davx5-ose#254radicale: i believe is "working as intended" -- it supports CardDAV and CalDAV but not plain WebDAV.
The text was updated successfully, but these errors were encountered: