Created
September 19, 2025 03:05
-
-
Save chenbojian/9c948104399a14261094d79266616aed to your computer and use it in GitHub Desktop.
Fix for Synology Cloud Sync: Sync folder does not exist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| output=$(ssh nas "sqlite3 /volume1/@cloudsync/db/config.sqlite 'select * from session_table where error = -12'") | |
| if [[ -n "$output" ]]; then | |
| echo "Got error in CloudSync: $output" | |
| ssh nas "sudo sqlite3 /volume1/@cloudsync/db/config.sqlite 'UPDATE session_table SET error = 0 WHERE error = -12'" | |
| ssh nas "sudo synopkg restart CloudSync" | |
| else | |
| echo "No error" | |
| fi |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.encrypted.at/fix-for-synology-cloud-sync-sync-folder-does-not-exist/