I previously had rclone set up successfully to my Google Drive account and was able to backup over 5TB of data. At some point it stopped working and now I'm getting this error when trying to mount rclone:
"Fatal error: Directory is not empty: /mnt/disks/secure If you want to mount it anyway use: --allow-non-empty option: readdirent: input/output error"
Any ideas on how I can fix this? I set everything up initially following SpaceInvader One's guide.
Mount Script:
#!/bin/bash
#----------------------------------------------------------------------------
#first section makes the folders for the mount in the /mnt/disks folder so docker containers can have access
#there are 4 entries below as in the video i had 4 remotes amazon,dropbox, google and secure #you only need as many as what you need to mount for dockers or a network share
mkdir -p /mnt/disks/google
mkdir -p /mnt/disks/secure
#This section mounts the various cloud storage into the folders that were created above.
rclone mount --max-read-ahead 1024k --allow-other google: /mnt/disks/google &
rclone mount --max-read-ahead 1024k --allow-other secure: /mnt/disks/secure &
Config:
[google]
type = drive
scope = drive
token = {"access_token":"REMOVED","expiry":"2018-11-19T20:48:47.611614829-08:00"}
[secure]
type = crypt
remote = google:secure
filename_encryption = standard
directory_name_encryption = true
password = REMOVED
password2 = REMOVED
Rclone Custom Script:
#!/bin/bash
#----------------------------------------------------------------------------
# Here you can add your own custom script eg. |
# rclone copy /local/path remote:path # copies /local/path to the remote |
# rclone sync /local/path remote:path # syncs /local/path to the remote |
#----------------------------------------------------------------------------
rclone sync -v /mnt/user/media secure:media
Unmount Script:
#!/bin/bash
#----------------------------------------------------------------------------
fusermount -u /mnt/disks/google
fusermount -u /mnt/disks/secure
Currently running Unraid Version 6.7.2. Thanks in advance for any help!