Skip to content
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

Unable to connect with a Nextcloud instance in WebDAV :( #77

Open
vincegre opened this issue Aug 22, 2024 · 0 comments
Open

Unable to connect with a Nextcloud instance in WebDAV :( #77

vincegre opened this issue Aug 22, 2024 · 0 comments

Comments

@vincegre
Copy link

The problem

Hi

Following the documentation I have created my rclone.conf file:

[NC]
type = webdav
vendor = Nextcloud
pass = passwd created in nextcloud and passed through obscure command of rclone
url = https://mynextcloudurl/remote.php/dav/files/special-user/backup_HA
user = special-user

but it always fail to connect at NC. Here are logs:

[2024-08-22] [12:00:13] [ERROR]: failed to run rclone command: exit status 1
[2024-08-22] [13:00:00] [INFO]: running "Sync Backup daily"; /backup -> NC:/
[2024-08-22] [13:00:00] [INFO]: renamed 0 backups
2024/08/22 13:00:13 ERROR : webdav root '': error reading destination root directory: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2024/08/22 13:00:13 ERROR : Attempt 1/3 failed with 1 errors and: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2024/08/22 13:00:39 ERROR : webdav root '': error reading destination root directory: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2024/08/22 13:00:39 ERROR : Attempt 2/3 failed with 1 errors and: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2024/08/22 13:01:00 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Elapsed time:       1m0.0s

2024/08/22 13:01:05 ERROR : webdav root '': error reading destination root directory: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2024/08/22 13:01:05 ERROR : Attempt 3/3 failed with 1 errors and: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
2024/08/22 13:01:05 INFO  : 
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:       1m5.3s

2024/08/22 13:01:05 Failed to copy: couldn't list files: No public access to this resource., Username or password was incorrect, No 'Authorization: Bearer' header found. Either the client didn't send one, or the server is mis-configured, Username or password was incorrect: Sabre\DAV\Exception\NotAuthenticated: 401 Unauthorized
[2024-08-22] [13:01:05] [ERROR]: failed to run rclone command: exit status 1

I have tried also using the NC password without the rclone obscure command but it's the same !

Vincèn

What version of Rclone Backup has the issue?

3.3.1

What version of Home Assistant are you running?

2024.3.3

What type of installation are you running?

Home Assistant OS

If you're running HA OS/Supervised, what version of the Supervisor are you running?

2024.08.0

Example YAML snippet

No response

Anything in the logs that might be useful for us?

See above

Additional information

Problem on multiple HA instances and different NC servers too !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant