Nextcloud Credential issue

What is the problem you are having with rclone?

I am trying to get rclone working with my self-hosted Nextcloud account. I followed the guide here: WebDAV

But after running the command rclone lsd remote: it returns the error

2022/08/30 19:00:21 ERROR : : error listing: couldn't list files: OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden: 401 Unauthorized 2022/08/30 19:00:21 Failed to lsd with 2 errors: last error was: couldn't list files: OCA\DAV\Connector\Sabre\Exception\PasswordLoginForbidden: 401 Unauthorized

I am assuming this error is related to how I have my security settings set up in Nextcloud. I am using both 2FA and Nextcloud alert authentication.

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.1
- os/version: Microsoft Windows 10 Pro 21H1 (64 bit)
- os/kernel: 10.0.19043.1889 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.5
- go/linking: static
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Nextcloud

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsd remote:

The rclone config contents with secrets removed.

- type: webdav
- url: https://nextcloud.myinstance.com/remote.php/dav/files/myname/
- vendor: nextcloud
- user: myname
- pass: *** ENCRYPTED ***

what about this?
https://bugs.documentfoundation.org/show_bug.cgi?id=145946

Alright that works, thanks. Didn't realize Device-specific passwords were a thing.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.