Can't connect to NextCloud

OS: Debian GNU/Linux 9.9 (stretch)
Go: go version go1.11.5 linux/amd64 (used backports to upgrade from go1.7.5)
rClone: rclone v1.47.0-DEV (used github to upgrade from rclone v1.35.1)

I've run rclone config to successfully add google drive. I can then run the command rclone lsd gdrive: with expected output. I then attempted to add nextcloud (hosted on different server, and accessible through domain name). Config output looks like:

type = webdav
url = https://MYdomainNAMEhere
vendor = nextcloud
pass = *** ENCRYPTED ***
user = MYusernameHERE

Then, the following:

username@domain:~# rclone lsd nextcloud:
2019/06/15 00:12:13 ERROR : : error listing: couldn't list files: <html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.14.2</center>
</body>
</html>: 405 Not Allowed
2019/06/15 00:12:13 Failed to lsd with 2 errors: last error was: couldn't list files: <html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.14.2</center>
</body>
</html>: 405 Not Allowed

I'm typing in my password during the config process in the same way as I would when logging in to the webpage. Should I be using a "bearer_token", too?

I think this needs to be

url = https://MYdomainNAMEhere/remote.php/webdav/

And then it will work hopefully!

1 Like

That worked perfect!

I did see that extension of the url in the webdav documentation, but assumed that was part of the example.com url.

Would it be possible to explicitly state in the documentation that the extension needs to be added to the end of the domain (or perhaps make it bold) for noobs like me?

1 Like

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