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

WebDav/Nextcloud configuration is not written correctly #187

Closed
1 task done
UniqueActive opened this issue Nov 28, 2023 · 5 comments
Closed
1 task done

WebDav/Nextcloud configuration is not written correctly #187

UniqueActive opened this issue Nov 28, 2023 · 5 comments

Comments

@UniqueActive
Copy link

UniqueActive commented Nov 28, 2023

  • I have read the above note

What version of Round Sync are you using (About -> App version)?

2.2.2

What is your Android version, phone model and manufacturer?

LineageOS on microG 20, Android 13, OnePlus 6T

Which steps are required to reproduce this issue?

Example:

  1. Create WebDav remote
  2. Input name, URL, select Nextcloud, input user + pass
  3. Press save
  4. Open the remote and get the error "Error retreiving directory contents"

What is your configuration (rclone.conf)?

Relevant excerpt:

[Test]
type = webdav
pass = <plain text password, not hashed>
user = myuser
url = https://cloud.mydomain.org/remote.php/dav/files/myuser

When using RCX, the configuration looks like this:

[Test]
type = webdav
pass = <hashed password>
url = https://cloud.mydomain.org/remote.php/dav/files/myuser
vendor = nextcloud
user = myuser

It appears that something is wrong with how the config is written. When importing the RCX config, it works fine.

@newhinton
Copy link
Owner

Is your password longer than 21 characters?

@UniqueActive
Copy link
Author

Yes, it is :)

@newhinton
Copy link
Owner

newhinton commented Nov 30, 2023

Then this is a duplicate of those: #170, #157 and #159. Therefore i will close this ticket as a duplicate.

Quick solution: Use a shorter password or wait for the next release, or edit your config externally.
This is due to rclone getting confused about the password beeing already hashed or not, and failing. This has been fixed on the master branch already, but not yet released.

@UniqueActive
Copy link
Author

Thanks for the reply and sorry for the duplicate, I missed those!

@newhinton
Copy link
Owner

No worries, that was a weird bug. Took me and the other reporters a while to nail it down!

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

2 participants