Hi,
what is the best way to sync a folder at my raspberry with google drive?
Within my home network syncthing should sync my google drive between my PC/Notebook and my raspberry.
Kind regards.
Hi,
what is the best way to sync a folder at my raspberry with google drive?
Within my home network syncthing should sync my google drive between my PC/Notebook and my raspberry.
Kind regards.
Let me guess, its impossible to sync a google account on a DietPi system?
No, there are many methods. You could use https://github.com/vitalif/grive2, or rclone like https://medium.com/@artur.klauser/mounting-google-drive-on-raspberry-pi-f5002c7095c2.
I have installed rclone. In addition I had to install the package: apt-get install fuse. Furthermore I had to add an test user (my email Adresse) at the Goolge Cloud Plattform/OAuth consent screen so that rclone could be certified by google and get access.
Two things I couldn’t manage to run:
2021-03-27 16:48:10: Loading ignores: lstat /mnt/gdrive/.stignore: permission denied
2021-03-27 16:48:10: Failed to create folder root directory stat /mnt/gdrive: permission denied
2021-03-27 16:48:10: Error on folder “gdrive” (wrgj5-dfhfj): stat /mnt/gdrive: permission denied
Thank you.
if you followed the guide and created the rclone@.service service file, you should be able to start the service like
systemctl --user start rclone@gdrive
To have the service running on boot, it would need to be enabled. This will create the sym link automatically
systemctl --user enable rclone@gdrive
Syncthing is executed as user dietpi. Therefore you would need to allow r/w access to this user to /mnt/gdrive/