I've been trying for some time now to achieve a reliable rclone mount on macos using FUSE (3.10.0). My main gripe has been macos' constant sleeping, resulting in a loss of the mount. I've had very shaky results using cron, but finally have a good system using a launchd global daemon. The mount mostly stays mounted correctly, however occasionally the folders appear empty. Ejecting the disk and waiting for a remount is the best way to remedy this, however I'd prefer the system was foolproof. Any ideas?
go version: go1.13.1
Google Drive > Crypt
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>KeepAlive</key> <true/> <key>Label</key> <string>rclone-media</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/rclone</string> <string>mount</string> <string>--allow-other</string> <string>--allow-non-empty</string> <string>--config=/Users/xxx/.config/rclone/rclone.conf</string> <string>secure-media:</string> <string>/Users/xxx/mnt/secure-media</string> </array> <key>RunAtLoad</key> <true/> <key>StandardErrorPath</key> <string>/Users/xxx/Documents/logs/rclone-media.log</string> <key>StandardOutPath</key> <string>/Users/xxx/Documents/logs/stdout</string> </dict> </plist>
2019/10/02 11:53:34 mount helper error: mount_osxfuse: mount point /Users/xxx/mnt/secure-media is itself on a OSXFUSE volume 2019/10/02 11:53:34 Fatal error: failed to mount FUSE fs: mount_osxfusefs: exit status 64 2019/10/02 11:53:43 ERROR : Couldn't find home directory or read HOME or XDG_CONFIG_HOME environment variables. 2019/10/02 11:53:43 ERROR : Defaulting to storing config in current directory. 2019/10/02 11:53:43 ERROR : Use --config flag to workaround. 2019/10/02 11:53:43 ERROR : Error was: user: Current not implemented on darwin/amd64