Sync with google drive not working
All Replies
-
What is the workaround people are using to get Google Drive connected? I just saw an update to the Google Drive Client on my NAS326, and installed it, and retried connecting Google Drive to me account on the NAS, and got the same error I posted about here when I first got the NAS. I don't see why the client app is being updated but not in a way that fixes our ability to actually use the client. And as I posted before, backing up my cloud storage to a personal NAS was the main reason I bought this device in the first place.
(I click here, a new browser window opens, I'm either signed in to Google already or get prompted to do so, and then this error appears.)
Error 400: invalid_requestThe out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.Request details:redirect_uri=urn:ietf:wg:oauth:2.0:oob flowName=GeneralOAuthFlow
https://developers.google.com/identity/protocols/oauth2/resources/oob-migration0 -
Hi everyone,
I have prepared an easier Windows installer for the unofficial open-source NAS326 GoogleDriveClient fix discussed in this thread.
The installer is available here:
https://github.com/kaaprik/nas326-google-drive-modernizer/releases/tag/v0.3.0
Direct Windows installer download:
https://github.com/kaaprik/nas326-google-drive-modernizer/releases/download/v0.3.0/NAS326-Modernizer-Setup-0.3.0.exe
SHA256:
f8fd56be50c64f93845ea2a186d3ae5a4a041c77d5154b7dd2b752e2c9ccda38
The Windows installer contains all required NAS package files. Users do not need to copy the ZYPKG files manually or enter SSH commands.
Tested configuration:
Zyxel NAS326
Firmware V5.21(AAZF.18)
Original GoogleDriveClient 0.5.3zypkg007Requirements:
- The original Zyxel GoogleDriveClient must already be installed.
- SSH access must be enabled on the NAS.
- The root password is required.
- A Windows x64 computer is required.
- Make an independent backup of important NAS and Google Drive data first.
Easy installation:
- Download NAS326-Modernizer-Setup-0.3.0.exe.
- Verify its SHA256 checksum.
- Run the EXE on a Windows computer.
- Enter the NAS address, normally NAS326 or its IP address.
- Enter the NAS root password.
- Confirm the displayed SSH host-key fingerprint only if this is your NAS.
- It is recommended to click “Validate only” first.
- Confirm that you have a backup.
- Click “Validate and install”.
- After validation succeeds, confirm the final installation prompt.
- Refresh the NAS web interface and open the original GoogleDriveClient tile.
The installer automatically uses English, Czech, Slovak, German, or Polish according to the Windows language.
The root password is used only for the current encrypted SSH connection. It is not written to disk, the registry, logs, or configuration and is cleared from the form when the operation finishes.
The EXE is currently unsigned, so Windows SmartScreen may show an “Unknown publisher” warning. Please verify the published SHA256 checksum before running it.
What the fix does:
- Keeps the original GoogleDriveClient tile and NAS web interface.
- Replaces the obsolete Google authorization flow.
- Replaces the old grive synchronization engine with rclone 1.75.0.
- Adds 14 languages to the modified NAS interface.
- Creates a rollback backup before replacing program files.
- Does not intentionally remove existing account records or synchronized files.
Google authorization after installation:
- Create or select a project in Google Cloud.
- Enable the Google Drive API.
- Configure the OAuth consent screen.
- Create an OAuth client with application type “Desktop app”.
- Download the OAuth client JSON file.
- Open the GoogleDriveClient tile on the NAS.
- Download GoogleDrive-Login.zip from the tile.
- Extract it on a Windows computer.
- Run Sign-in-Google.cmd and complete Google login in the browser.
- Paste the generated setup code into the NAS window.
- Select the NAS user and synchronization folder.
- Save the account and enable synchronization.
- Delete GoogleDrive-Setup-Code.txt after successful import because it contains credentials capable of accessing Google Drive.
Important safety information:
- This is two-way synchronization.
- Deletions can propagate from one side to the other.
- Begin with a small test folder.
- The first run merges both sides and resolves conflicts in favor of the newer file.
- The default protection stops a run before propagating more than 25 deletions.
- Replaced or deleted NAS-side files are archived for 30 days.
- These protections are not a replacement for an independent backup.
This is still a beta community release. The Windows installer, embedded package, SSH/SFTP connection, archive, checksums, package dependency, validation-only mode and local Zyxel catalog were tested successfully on a real NAS326. Native installation and removal still need broader testing by other NAS326 owners.
Manual ZYPKG files, source code and checksums are also available in the release.
English instructions:
https://github.com/kaaprik/nas326-google-drive-modernizer/blob/main/README.md
Czech instructions:
https://github.com/kaaprik/nas326-google-drive-modernizer/blob/main/README.cs.md
Rollback command:
/usr/bin/ipkg-cl -f /etc/zyxel/pkg_conf/zypkg_conf/zy-pkg.conf remove GoogleDriveModernizer
This is an independent community project and is not affiliated with or officially supported by Zyxel, Google, or rclone.
Feedback is welcome, especially the firmware version used and the results of validation, installation, synchronization and rollback testing.
0 -
Hi everyone,
I have prepared an unofficial open-source Windows installer that fixes the obsolete Google authorization and synchronization engine in GoogleDriveClient on the Zyxel NAS326.
It was tested on firmware V5.21(AAZF.18) with the original GoogleDriveClient 0.5.3zypkg007.
The installer, checksums, English/Czech instructions and source code are available here:
https://github.com/kaaprik/nas326-google-drive-modernizer/releases/tag/v0.3.0
This is currently a beta release. Please make an independent backup and begin with a small test folder. Feedback from other NAS326 owners is welcome.
0
Categories
- All Categories
- 442 Beta Program
- 3.1K Nebula
- 234 Nebula Ideas
- 6.7K Security
- 706 USG FLEX H Series
- 369 Security Ideas
- 1.8K Switch
- 87 Switch Ideas
- 1.4K Wireless
- 56 Wireless Ideas
- 7.1K Consumer Product
- 313 Service & License
- 512 News and Release
- 99 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 5.2K FAQ
- 34 Documents
- 89 About Community
- 116 Security Highlight
Freshman Member
