G suite mount on qnap or synology

For QNAP it is pretty easy.

Install PlexDrive QPKG and configure.

Re: [ PlexDrive ] [ 5.0.0 ] Plexdrive mounts your Google Drive FUSE filesystem (optimized for media playback)

@blim5001 Thought you got rid of me huh? Haha. I wanted to reach out to you to get some help. I updated the DSM on my Synology the other day and after doing so I realized that my /root/scripts folder containing all the scripts you helped me create and the /root/.config folder which has the rclone folder in had been deleted. I read on the forums that this is caused by the update and it removes folders that don’t belong there. I am trying to move the .config and scripts folder to the volume1/docker folder, but I’m not having any luck. When I run:

bash /volume1/docker/scripts/nas-mountOnStartup.sh

I get the below error message:

NOTICE: Config file ā€œ/var/services/homes/admin/.rclone.confā€ not found - using defaults
Failed to create file system for ā€œGdrive:ā€: didn’t find section in config file

I know this error is coming from the .config folder not being in the admin folder, but I need help getting it in the admin folder to make this work.

Any help and guidance would be greatly appreciated. I don’t want to have to setup this up again every time I update DSM.

Thanks.

Ah yes, this is why I try not to do things as root, but never mind.

Do you still have a copy of the rclone config file (.rclone.conf)?
if you have, where on your nas is it located?

If you have we could just tell rclone which config file to use:

If your rclone config file was located in /volume1/docker/.rclone.conf
you need to add this to the rclone commands:

\--config=/volume1/docker/.rclone.conf

So for example in the mount script, the mount command would be:

/usr/bin/rclone mount Gdrive: /volume1/PlexCloud \--config=/volume1/docker/.rclone.conf \--allow-other \--dir-cache-time 672h \--vfs-cache-max-age 675h \--vfs-read-chunk-size 64M \--vfs-read-chunk-size-limit 1G \--buffer-size 32M &

Do you have homes enabled in the DSM,
Users -> Advanced -> User Home -> Enable user home service

If homes is not enabled, I would probably enable it, as this gives your DSM users their own home folder that should be accessible from your mac, and should remain after any DSM updates.

@blim5001 that worked! Thank you!

For anyone that does come across this thread, It’s probably not for the faint hearted, but I started to write some instructions for Synology here:

https://bitbucket.org/fusebit/plex-and-google-drive/wiki/Synology

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.