stravo1 / obsidian-gdrive-sync

sync notes across devices in Obsidian via Google Drive
97 stars 0 forks source link

iOS broken #16

Open jet082 opened 3 weeks ago

jet082 commented 3 weeks ago

Unfortunately, it seems that iOS is broken. I set up the plugin on desktop on a completely blank project, then copied over the folder to iOS and opened it on Obsidian. The syncing works on Desktop just fine. I am using v0.9.9-beta-7-2.

The following errors occurred:

verbose-log-gdrive-plugin

LOG: received accessToken

LOG: getting vault id

LOG: Exited writeToErrorLogFile

LOG: Entering completeAllPendingSyncs

LOG: Entering getLatestContent

LOG: Exited getLatestContent

LOG: Exiting refreshFilesListInDriveAndStoreInSettings

LOG: Exited writeToErrorLogFile

LOG: Exited writeToErrorLogFile

LOG: Exited checkForConnectivity

LOG: Exited checkForConnectivity

LOG: Entering writeToErrorLogFile

LOG: Exited checkForConnectivity

LOG: Exited writeToErrorLogFile

LOG: Exiting refreshFilesListInDriveAndStoreInSettings

LOG: Exiting refreshFilesListInDriveAndStoreInSettings

LOG: Exited writeToErrorLogFile

LOG: Entering writeToErrorLogFile

LOG: Too many errors within a minute. Halting all operations.

error-log-gdrive-plugin

Wed Apr 24 2024 02:27:54 GMT-0500 (Central Time)-Error-ERROR: Unable to complete action: - getFilesList => Error - Request failed, status 400 - t@capacitor://localhost/app.js:1:1977943
GG@capacitor://localhost/app.js:1:1978137
@capacitor://localhost/app.js:1:1978701
@capacitor://localhost/app.js:1:237060
a@capacitor://localhost/app.js:1:235883-newError@
@

Wed Apr 24 2024 02:27:54 GMT-0500 (Central Time)-Error-ERROR: Unable to complete action: - getFilesList => Error - Request failed, status 400 - t@capacitor://localhost/app.js:1:1977943
GG@capacitor://localhost/app.js:1:1978137
@capacitor://localhost/app.js:1:1978701
@capacitor://localhost/app.js:1:237060
a@capacitor://localhost/app.js:1:235883-newError@
@

Wed Apr 24 2024 02:27:54 GMT-0500 (Central Time)-Error-ERROR: Unable to complete action: - getFilesList => Error - Request failed, status 400 - t@capacitor://localhost/app.js:1:1977943
GG@capacitor://localhost/app.js:1:1978137
@capacitor://localhost/app.js:1:1978701
@capacitor://localhost/app.js:1:237060
a@capacitor://localhost/app.js:1:235883-newError@
@

Wed Apr 24 2024 02:27:54 GMT-0500 (Central Time)-Error-ERROR: Unable to complete action: - getFilesList => Error - Request failed, status 400 - t@capacitor://localhost/app.js:1:1977943
GG@capacitor://localhost/app.js:1:1978137
@capacitor://localhost/app.js:1:1978701
@capacitor://localhost/app.js:1:237060
a@capacitor://localhost/app.js:1:235883-newError@
@

Wed Apr 24 2024 02:27:55 GMT-0500 (Central Time)-Error-ERROR: Unable to complete action: - getFilesList => Error - Request failed, status 400 - t@capacitor://localhost/app.js:1:1977943
GG@capacitor://localhost/app.js:1:1978137
@capacitor://localhost/app.js:1:1978701
@capacitor://localhost/app.js:1:237060
a@capacitor://localhost/app.js:1:235883-newError@
@

Wed Apr 24 2024 02:27:55 GMT-0500 (Central Time)-Error-ERROR: Unable to complete action: - getFilesList => Error - Request failed, status 400 - t@capacitor://localhost/app.js:1:1977943
GG@capacitor://localhost/app.js:1:1978137
@capacitor://localhost/app.js:1:1978701
@capacitor://localhost/app.js:1:237060
a@capacitor://localhost/app.js:1:235883-newError@
@

Wed Apr 24 2024 02:27:56 GMT-0500 (Central Time)-Error-FATAL ERROR: Too many errors within a minute.-@
@
stravo1 commented 3 weeks ago

i am aware of this issue, but till now haven't figured out how to fix it, will take another look

https://github.com/stravo1/obsidian-gdrive-sync/issues/1#issuecomment-1878468290

stravo1 commented 3 weeks ago

hey! made a few changes on the verbose logging part for better debugging.

can you please install the new release and send the logs once more? 🙏

https://github.com/stravo1/obsidian-gdrive-sync/releases/tag/v0.9.9-beta-7-4

louux commented 1 week ago

Hey, Stravo

Using : v0.9.9-beta-7-5

Main vault is in Documents on my Macbook and I move the Vault folder to my iPhone via Airdrop. It creates a new Obsidian Folder in iCloud with my Vauilt folder within it. Here are the logs with errors.

error-log-gdrive-plugin.md verbose-log-gdrive-plugin.md

awei55 commented 4 days ago

Hi! Same issue between iOS and Windows 11. Sync fails on iOS, works perfectly fine on desktop. The vault was copied as per instructions into the Obsidian app folder through iTunes, and the vault is accessible and editable on phone, as well as the plugin. Logs attached!

using v0.9.9-beta-8

error-log-gdrive-plugin.md verbose-log-gdrive-plugin.md

stravo1 commented 4 days ago

it's very hard for me to debug this issue as i don't own an iPhone :')

and going back and forth via "test" releases on GitHub is very inefficient, so until i can get hold of an iOS device or someone is willing to do the testing for me remotely, i am not sure how to debug this wierd issue.

well, i created a discord channel for testing, please do join and help me debug this issue :)

https://discord.com/invite/dPasX4Ac2P