Hi all,
Maybe Tom can tackle this in a video since he made one, just not using Google Drive…
I can’t seem to get FreeNas to work with Cloud Sync using Google Drive as task. I can get the Oauth Token working, and get the Task (rclone) manually started and working, but later when automated you get an error about Invalid Credentials (the token expiring?).
There is a FreeNas Forum topic by someone else with the same issue:
rclone has a guide : Google drive , but it doesn’t seem to match up with the developer screen I had (or because I can’t follow written instruction well).
I used this guide and just the last screenshot you copy the whole {…} section and paste it into the access token.
https://help.talend.com/reader/Ovc10QFckCdvYbzxTECexA/EoAKa_oFqZFXH0aE0wNbHQ
I did check the box to auto-refresh the token, but it shouldn’t matter as the note says:
The OAuth Playground will automatically revoke refresh tokens after 24h. You can avoid this by specifying your own application OAuth credentials using the Configuration panel.
Which the guide has me do. If it helps anyone here is the error from the auto job:
2019/05/01 03:00:00 ERROR : : error reading destination directory: couldn’t list directory: googleapi: Error 401: Invalid Credentials, authError
Hopefully more people here at actively messing with their Boxes and Labs. While not critical I get this working, it was an “offsite” backup idea I wanted to have working…especially since it appears FreeNas supports it.
FYI: I am totally new to FreeNas, so maybe I have something totally wrong!