Google Drive Error

Get help for specific problems
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I have a batch job for 2-way-syncing between Google Drive and my external hard drive, but I am receiving this error when I run it. Does anyone know why? I can scan perfectly fine inside the app and it lists all of my files in Drive, so there's clearly no issues accessing my data.
Attachments
Screenshot 2022-04-05 163406.png
Screenshot 2022-04-05 163406.png (100.07 KiB) Viewed 6766 times
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Are you running the task as SYSTEM? If so, try running without highest privileges.
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

No idea. I just double-clicked it in Finder.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Oh I misunderstood. I assumed Task Scheduler in Windows when you said batch job. When you do it manually in FFS, are able to both compare and sync?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I’m on a Mac. I thought that was obvious by looking at the top left of the screenshot? I was going to schedule it using Automator, but I haven’t got that far yet because when I run it it doesn’t work.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

I can scan perfectly fine inside the app Ryder Cragie, 05 Apr 2022, 15:35
Is this still the case? Technically it shouldn't matter if you double-click and run a ffs_batch or run manually from GUI.
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Every time I run the batch file I get this error. Running from within the app works perfectly fine for scanning.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

In this case it seems the config files are loaded from different locations. What location do you see when you open menu->preferences for "default log path"? And at which path are the logs for the batch job saved?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

What do you want me to click on exactly? I don't see "menu -> preferences -> "default log path".
Attachments
Screenshot 2022-04-06 at 15.59.14.jpg
Screenshot 2022-04-06 at 15.59.14.jpg (177.78 KiB) Viewed 6695 times
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I’m still needing help with this please.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

He meant to type:
Tools -> Options -> Look for "Default Log Path"
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I don’t see “Options”.
Attachments
15839A4C-6E6D-4463-8B78-64B67D32D838.jpeg
15839A4C-6E6D-4463-8B78-64B67D32D838.jpeg (28.18 KiB) Viewed 6626 times
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I found it. This is what I see.
Attachments
Screenshot 2022-04-10 at 23.31.36.jpg
Screenshot 2022-04-10 at 23.31.36.jpg (119.58 KiB) Viewed 6609 times
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

And at which path are the logs for the batch job saved?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

It says near the top.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

It says near the top. Ryder Cragie, 11 Apr 2022, 08:53
What I meant was for you to manually navigate and locate the folder containing the log files via Finder, that contain the info about the error shown on the first screenshot of this thread..
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Please see the screenshot below.
Attachments
Screenshot 2022-04-11 at 11.01.29.jpg
Screenshot 2022-04-11 at 11.01.29.jpg (150.98 KiB) Viewed 6583 times
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

The config paths seem to be the same, but FFS doesn't seem to find the Google Drive database file, and there is no error about it. Let's dig a little deeper. With the following beta, what error message do you see now? https://www.mediafire.com/file/f0ki3xr427nru7x/FreeFileSync_11.19_beta_macOS.zip
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I can't even add the Google Drive connection in the beta app.
Attachments
Screenshot 2022-04-11 at 17.50.55.jpg
Screenshot 2022-04-11 at 17.50.55.jpg (237.43 KiB) Viewed 6563 times
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

When you manually navigate to /Users/rydercragie/Library/Application Support/FreeFileSync/GoogleDrive via Finder, what do you see?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

An empty folder.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

The question is why isn't the ryderspiders@gmail.com.db inside this folder. You said you have already added this connection earlier and were successful syncing via GUI? After exitting the app, the .db file should have been created.
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Well, it wasn’t. 🙂
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Just got this error on the forum as well.
Attachments
F0EE9C5D-9DF1-4688-8FBA-E280BFA88E19.jpeg
F0EE9C5D-9DF1-4688-8FBA-E280BFA88E19.jpeg (287.46 KiB) Viewed 6515 times
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Well, it wasn’t. 🙂 Ryder Cragie, 12 Apr 2022, 09:45
Is the following reproducible: Start FFS via GUI, connect with Google Drive, then exit and folder /Users/rydercragie/Library/Application Support/FreeFileSync/GoogleDrive is not populated?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Still nothing in the Google Drive folder after doing that.

Video: RyderCragie.com/FFS-Error.mp4
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Still nothing in the Google Drive folder after doing that.

Video: RyderCragie.com/FFS-Error.mp4 Ryder Cragie, 12 Apr 2022, 18:15
Cool, thanks for the video!

The error is a side-effect of the hack in the beta that is supposed to show additional error details.

Can you retry the Google Drive connection steps with the regular FFS 11.18 and see if the .db file is created on app exit?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I deleted the original version. Should I reinstall it?
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Just got this error on the forum as well. Ryder Cragie, 12 Apr 2022, 09:46
Awesome, two forum bugs, one triggered by the emoji! :)
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

I deleted the original version. Should I reinstall it? Ryder Cragie, 12 Apr 2022, 18:52
Sure.
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Just got this error on the forum as well. Ryder Cragie, 12 Apr 2022, 09:46
Awesome, two forum bugs, one triggered by the emoji! :) Zenju, 12 Apr 2022, 18:53
What's the other bug?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Now it's just asking me to login to Google every time I run the batch job and I keep getting this error:
Attachments
Screenshot 2022-04-12 at 20.04.29.jpg
Screenshot 2022-04-12 at 20.04.29.jpg (32.09 KiB) Viewed 2676 times
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Let's do one step at a time, no need to start a sync yet. What is the result of viewtopic.php?t=9268#p33625
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Wait. It is syncing. I'll come back if there are any more issues. Thanks for helping.

One more thing (not the Apple event lol), how can I sync OneDrive with my hard drive? Is this possible via FTP or SFTP?
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I also want to have RealTimeSync automatically running these batch jobs 24/7, including as soon as I turn my Mac on. I don't want to ever do anything manually after I set it up.
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

Emojis show as UTF codes on the main page as well.
Attachments
Screenshot 2022-04-13 at 13.06.53.jpg
Screenshot 2022-04-13 at 13.06.53.jpg (73.49 KiB) Viewed 2563 times
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

I've received a lot of emails of you saying "🙂 test" lol. Should've unsubscribed. 🤣
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Emojis show as UTF codes on the main page as well. Ryder Cragie, 13 Apr 2022, 12:07
Indeed! Fixed! Thank you 🙂
User avatar
Posts: 23
Joined: 5 Apr 2022

Ryder Cragie

You said there were 2 forum bugs. What’s the other one?
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

The fact that the error wasn't logged, but shown to the forum user instead (with a plea to contact the admin, which most users won't do anyway). Although this is phpBB default behavior, I'm still considering it a bug. (Also fixed now).