Thanks - it seems like mergerfs keeps getting rebuilt from source and installed everytime I reboot and run the script. Perhaps there is a more stable way to do this that doesn't involve a script. I'm very unfamiliar with unRAID. Any idea why that is happening?
Also, the script is creating the title of my rclone remote folder in the local folder and the mergerfs folder.
This happens on every reboot:
Script Starting Feb 27, 2022 18:18.03
Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount/log.txt
27.02.2022 18:18:03 INFO: Creating local folders.
27.02.2022 18:18:03 INFO: Creating MergerFS folders.
27.02.2022 18:18:03 INFO: *** Starting mount of remote gd
27.02.2022 18:18:03 INFO: Checking if this script is already running.
27.02.2022 18:18:03 INFO: Script not running - proceeding.
27.02.2022 18:18:03 INFO: *** Checking if online
27.02.2022 18:18:04 PASSED: *** Internet online
27.02.2022 18:18:04 INFO: Mount not running. Will now mount gd remote.
27.02.2022 18:18:04 INFO: Recreating mountcheck file for gd remote.
2022/02/27 18:18:04 DEBUG : rclone: Version "v1.57.0" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "copy" "mountcheck" "gd:" "-vv" "--no-traverse"]
2022/02/27 18:18:04 DEBUG : Creating backend with remote "mountcheck"
2022/02/27 18:18:04 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf"
2022/02/27 18:18:04 DEBUG : fs cache: adding new entry for parent of "mountcheck", "/usr/local/emhttp"
2022/02/27 18:18:04 DEBUG : Creating backend with remote "gd:"
2022/02/27 18:18:04 DEBUG : mountcheck: Modification times differ by -11m38.700701001s: 2022-02-27 18:18:04.225701001 -0800 PST, 2022-02-28 02:06:25.525 +0000 UTC
2022/02/27 18:18:04 DEBUG : mountcheck: md5 = d41d8cd98f00b204e9800998ecf8427e OK
2022/02/27 18:18:05 INFO : mountcheck: Updated modification time in destination
2022/02/27 18:18:05 DEBUG : mountcheck: Unchanged skipping
2022/02/27 18:18:05 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 1 / 1, 100%
Elapsed time: 0.9s
2022/02/27 18:18:05 DEBUG : 4 go routines active
27.02.2022 18:18:05 INFO: *** Creating mount for remote gd
27.02.2022 18:18:05 INFO: sleeping for 5 seconds
2022/02/27 18:18:05 NOTICE: Serving remote control on http://localhost:5572/
27.02.2022 18:18:10 INFO: continuing...
27.02.2022 18:18:10 CRITICAL: gd mount failed - please check for problems. Stopping dockers
plex
transmission
Script Finished Feb 27, 2022 18:18.10
Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount/log.txt
Also, this happens, presumably because dockers_started and mount_running do not get removed on reboot.
Script Starting Feb 27, 2022 19:02.14
Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount/log.txt
27.02.2022 19:02:14 INFO: Creating local folders.
27.02.2022 19:02:14 INFO: Creating MergerFS folders.
27.02.2022 19:02:14 INFO: *** Starting mount of remote gducla
27.02.2022 19:02:14 INFO: Checking if this script is already running.
27.02.2022 19:02:14 INFO: Exiting script as already running.
Script Finished Feb 27, 2022 19:02.14
Full logs for this script are available at /tmp/user.scripts/tmpScripts/rclone_mount/log.txt