Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Cloud Credentials > Drive Account Type gets Blanked out and Sync Fails

Description

We have had several Cloud Sync tasks setup and syncing successfully under 11.2-U4 for several weeks.

Provider: Microsoft OneDrive
Drive Account Type: Business

After upgrade to 11.2-U5, the first couple of Cloud Sync tasks completed successfully, then each successive task failed with the Status in the Legacy GUI of: FAILED: 'business'

If I click on the FAILED: 'business' status, it says, "See full log file at /tmp/middlewared/jobs/685.log"

From a shell, I cat the log, "cat /tmp/middlewared/jobs/685.log" and the log file is empty. (if it's successful, the log file is normal and not empty).

When I review the Cloud Credentials, the "Drive Account Type" field has been blanked out.

When I set it back to Business, the next task or two runs successfully, and then the successive ones fail with the same error, and the Cloud Credentials, "Drive Account Type" field is blank again.

Problem/Justification

None

Impact

None

is duplicated by

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

DENNY VANDEMAELE July 4, 2019 at 8:54 PM

Thanks Vladimir,

I checked the files and they were patched and I'm pretty sure I restarted middleware on that server.

I rebooted it and could not reproduce the error.

Tried to reproduce it on another system and could not.

Sorry.

Vladimir Vinogradenko July 4, 2019 at 7:39 PM

cloud sync mode is not involved in this and behaviour should not depend on it. Can you please re-check that system that is misbehaving has been patched correctly and rebooted (or middleware restarted) after the patch?

DENNY VANDEMAELE July 4, 2019 at 6:30 PM
Edited

Hi Vladimir,

Correction, This fix worked for me in Push > Sync mode.

It did not work in Push > "Copy" mode.  The "Drive Account Type" is blanked out after running a couple of the Cloud Sync tasks.

I have not tried "Move" mode, or "Pull"

 

DENNY VANDEMAELE June 27, 2019 at 7:06 PM

Hi Vladimir,

This fix worked on both of my servers, thanks!

-denny

Vladimir Vinogradenko June 27, 2019 at 6:07 PM
Edited

forgot to say, you need to run /usr/local/etc/rc.d/middlewared restart after (or simply reboot your NAS)

Duplicate
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created June 26, 2019 at 8:48 PM
Updated July 1, 2022 at 4:35 PM
Resolved June 27, 2019 at 5:13 PM