Skip to content

Missing information regarding webdav in data migration docs #9944

@d-Rickyy-b

Description

@d-Rickyy-b

I was just trying to migrate from nextcloud to ocis and found the rclone guide here: https://owncloud.dev/ocis/guides/migrate-data-rclone/

I was constantly running into errors on the nextcloud side as well as on the ocis side.

2024/08/29 19:19:58 Failed to create file system for "nextcloud:": the remote url looks incorrect. Note that nextcloud chunked uploads require you to use the /dav/files/USER endpoint instead of /webdav. Please check 'rclone config show remotename' to verify that the url field ends in /dav/files/USERNAME
---
2024/08/29 19:42:59 ERROR : : error listing: couldn't list files: 401 Unauthorized
2024/08/29 19:42:59 Failed to lsd with 2 errors: last error was: couldn't list files: 401 Unauthorized

It took me 30 minutes to realize that I had to set the environment variable PROXY_ENABLE_BASIC_AUTH to true. That was mentioned on a whole other page. My suggestion would be to mention this on the migration page directly.

Also for nextcloud I had to use the path /remote.php/dav/files/admin as the error message suggests.
For ocis I wanted to store the data inside a space and since had to use another webdav path as well: /remote.php/dav/spaces/697dab64-6cd0-47ed-bc9b-57c2e4e225b4%248d06726f-952e-4597-8b99-4adeaf1a91a8. It would be useful to document that as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions