Project

General

Profile

Bug #54072

Update rclone to 1.44 and add support for Microsoft OneDrive

Added by Bug Clerk almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When trying to run a cloud sync pull task using the cloud credentials, users get an error message like this:

"2018/10/25 14:59:10 Failed to configure OneDrive: invalid character 'b' looking for beginning of value"

The same method works flawlessly for Dropbox, so I suspect that the outdated version of rclone might be at fault. Setting up the same process on the CLI using the latest version of rclone works, while the one included in FreeNAS does not.

Please update rclone to the latest version.


Related issues

Related to FreeNAS - Bug #55881: Add fields for Microsoft OneDrive cloud credentials to new UIDone
Copied from FreeNAS - Bug #53665: Update rclone to 1.44 and add support for Microsoft OneDrive Done

History

#1 Updated by Bug Clerk almost 2 years ago

  • Copied from Bug #53665: Update rclone to 1.44 and add support for Microsoft OneDrive added

#2 Updated by Bug Clerk almost 2 years ago

  • Target version changed from Master - FreeNAS Nightlies to 11.2-RC2

#3 Updated by Bug Clerk almost 2 years ago

  • Status changed from Unscreened to In Progress

#4 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Update rclone to 1.43 to Support Microsoft OneDrive in rclone
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Support Microsoft OneDrive in rclone to Update rclone to 1.43 and add support for Microsoft OneDrive
  • Needs Doc changed from No to Yes

#9 Updated by Jeff Ervin almost 2 years ago

38607
38610

Test Failed FreeNAS-11.2-INTERNAL32

Version of rclone is correct (1.43). When trying to setup OneDrive on the Cloud Credentials, I hit save with all fields filled in, and I get a "This field is required" notification below the save button. Which field is required??? Shouldn't this alert go below/next to the field that is actually required.

#10 Updated by Vladimir Vinogradenko almost 2 years ago

  • Blocked by Bug #55881: Add fields for Microsoft OneDrive cloud credentials to new UI added

#11 Updated by Vladimir Vinogradenko almost 2 years ago

  • Status changed from Failed Testing to Blocked
  • Reason for Blocked set to Dependent on a related task to be completed

#12 Updated by Dru Lavigne almost 2 years ago

  • Blocked by deleted (Bug #55881: Add fields for Microsoft OneDrive cloud credentials to new UI)

#13 Updated by Dru Lavigne almost 2 years ago

  • Blocked by Bug #55881: Add fields for Microsoft OneDrive cloud credentials to new UI added

#14 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Blocked to Ready for Testing
  • Reason for Blocked deleted (Dependent on a related task to be completed)

#15 Updated by Bug Clerk almost 2 years ago

  • Status changed from Ready for Testing to In Progress

#18 Updated by Timothy Moore II almost 2 years ago

Initial Docs PR: [master] https://github.com/freenas/freenas-docs/pull/458. I'll update if any further changes appear. EDIT: [angulargui] PR: https://github.com/freenas/freenas-docs/pull/461

#20 Updated by William Grzybowski almost 2 years ago

  • Subject changed from Update rclone to 1.43 and add support for Microsoft OneDrive to Update rclone to 1.44 and add support for Microsoft OneDrive

#21 Updated by Dru Lavigne almost 2 years ago

  • Status changed from In Progress to Unscreened

#22 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Unscreened to In Progress

#23 Avatar?id=14398&size=24x24 Updated by Kris Moore almost 2 years ago

  • Blocked by deleted (Bug #55881: Add fields for Microsoft OneDrive cloud credentials to new UI)

#24 Updated by Dru Lavigne almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#25 Updated by Dru Lavigne almost 2 years ago

  • Related to Bug #55881: Add fields for Microsoft OneDrive cloud credentials to new UI added

#26 Updated by Jeff Ervin almost 2 years ago

  • Status changed from Ready for Testing to Blocked
  • Reason for Blocked set to Dependent on a related task to be completed

Can't be tested until 55881 is resolved.

#27 Updated by Dru Lavigne almost 2 years ago

  • Category changed from OS to Middleware
  • Status changed from Blocked to Ready for Testing
  • Reason for Blocked deleted (Dependent on a related task to be completed)

#28 Updated by Dru Lavigne almost 2 years ago

  • Needs Doc changed from Yes to No

#29 Updated by Timothy Moore II almost 2 years ago

40096

Tested with FreeNAS Mini updated to INTERNAL46:

Opened Shell and ran rclone config. Went through the prompts, authenticated to my Microsoft/OneDrive account, and generated an access token, drive type, and drive id. Copied those values to notepad.
Back in the UI, go to System/Cloud Credentials:
- Add new credential for OneDrive.
- Paste in the access token and drive id values, set drive type to personal to match the value generated by rclone config.
- Save and confirm the new Credential was properly created.
Go to Tasks/Cloud Sync Tasks:
- Create a new Push task to sync a directory to a test directory created on my OneDrive page. Use the previously created OneDrive credential.
- After the task is successfully created, click More Options --> Run Now to run the sync immediately.
- Wait a little while and eventually the status changes to a check mark. Click the mark to open the logs and confirm the system synced correctly. Go to my OneDrive account page and verify the transferred files are visible and correct.

#30 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF