Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DZMM

Members
  • Joined

  • Last visited

Everything posted by DZMM

  1. Thought of a way to do this. For now just do fusermount -uz /path/to/rclonemount and also to mergerfs mount
  2. @KeyBoardDabbler it mounted to that location because of what settings you put in the config. You make a good point about the cleanup script as it now cleans up at array start, rather than actually unmounting as mounts now could be anywhere from multiple mount instances e.g. I have 4. I do need to find a way for people to unmount outside of a reboot or doing manually with my scripts.
  3. @KeyBoardDabbler post your rclone.conf without the passwords and the config section at the top of the script please
  4. Upload Script 0.95.2 Thanks to @watchmeexplode5 helping me fix me being stupid and not using my own script properly, which led to him adding another nice simplification. --drive-service-account-file added to upload remote, removing the need to add a remote that isn't 'used' for the upload job. Before if using an encrypted remote e.g. gdrive_vfs: the service account was added to gdrive: . Now, via --drive-service-account-file the rotating of SAs is done in gdrive_vfs: https://github.com/BinsonBuzz/unraid_rclone_mount/blob/latest---mergerfs-support/rclone_upload
  5. because the script errored out before you still have the mount_running file there. Delete it manually from rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running or run the unmount script to cleanup everything first.
  6. @KeyBoardDabbler sorry the extra check I added (too) quickly without testing for @bar1 broke the mount script. Please try 0.96.4 https://github.com/BinsonBuzz/unraid_rclone_mount/blob/latest---mergerfs-support/rclone_mount
  7. @KeyBoardDabbler one slash too many: LocalFilesShare="//mnt/user/local" Edit: whoops sorry realised that was me - must have slipped in when updating on GitHub. Fixed.
  8. it sounds like it's failing to copy the mountcheck file to the remote i.e. something is wrong with your rclone config which doesn't have permission to add files to google. I've added a new section to the mount script to check if the mountcheck copy is successful - try the latest version 0.96.2+ # Creating if mountcheck successfully copied if [[ -f "$RcloneMountLocation/mountcheck" ]]; then echo "$(date "+%d.%m.%Y %T") INFO: Success ${RcloneRemoteName} Mountcheck successfully copied. Proceeding." else echo "$(date "+%d.%m.%Y %T") INFO: Success ${RcloneRemoteName} mountcheck copy failed. Please investigate your rclone config and settings." rm /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running exit fi And once again - can you please post the whole log output, formatted, so people can read. There's a lot of messaging in there that will help people get you up and running.
  9. @bar1 that was supposed to be remove passwords. It's not very helpful as you're not posting the actual script you are running. The last line processed looking at your logs before the errors is: "echo "$(date "+%d.%m.%Y %T") INFO: Script not running - proceeding."" and the next line should be, which doesn't seem to be working is: touch /mnt/user/appdata/other/rclone/remotes/$RcloneRemoteName/mount_running My only guess is the script doesn't like whatever your remote 'Bar1-xxx' is called - try underscores rather than dashes.
  10. Nice way to get a 1G connection. Which provider did you go with?
  11. can you post the full logs as can see where it's failing from when you run the script and your rclone config (remote passwords) please - can you use the code formatting as well when you post please.
  12. Posting the script you used would help!
  13. Thanks @Spladge I was hoping there was another way. Not a problem though
  14. I agree! Although I'm sure someone who knows how to code will wonder why on earth I'm doing certain things, I've got no real script or coding experience and I feel like I've progressed a lot in the last two weeks. Yes, I've basically added in things that I use that I hadn't included before as I was worried they'd make support harder e.g. bindmounts, bwlimits, multiple remotes etc as well as making it easier to setup with fewer potential issues = less support questions + encourage more people to try. It's also setup so migration from unionfs or any other setup should only take a few mins now. Rotating Service accounts is a big find for me - I think you were using my mount rotation version which although worked, looks a bit dumb now. One feature you've missed is the latest one allowing extra folders to be added easily to mergerfs - again, I think this will reduce the number of issues on this thread. Re bindmounts - yes. I give each remote and upload_remote a unique IP to stop all the traffic appearing on my unRAID IP in pfsense. This way I can traffic shape to give my streaming mounts top priority, and various priority levels for the other remotes. Backup /upload switch - again added selfishly so the script can support my backup job. Bwlimit - there's no logic as it's hardcoded into the rclone move job. It should still work if anyone (wanted to) deleted the config entries - I haven't tried to see what happens, but I doubt anyone would do that. I went hard-coded as it makes the cleanup script a lot easier to run via user scripts as the files to be deleted are always in the same place. If it was variable, users would have to enter the same location (or all the locations if they are running multiple scripts for multiple remotes) they've chosen in the cleanup script.
  15. @Spladge Thanks. I wish I'd thought about adding more folders to my main mergerfs mount, before I created a new one just last month when my music folders & files pushed me over the 400K limit - I spent a fair while having to move, rescan and fix tag errors 😞 Anyway, planning for the future as I will probably need to create another remote at some point and because I know you're not the only person with more than two folders in their unions, I made some updates last night to the mount script https://github.com/BinsonBuzz/unraid_rclone_mount/blob/latest---mergerfs-support/rclone_mount Scripts should be finished now, except for any bug fixes as the ability to add custom commands and extra mergerfs folders should cover any future ideas. What's your folder structure? At the moment for TV I've got the following folders added to Plex: /mount_mergerfs/tv/kids/tv show (year) /mount_mergerfs/tv/adults/tv show (year) /mount_mergerfs/uhd/tv/kids/tv show (year) /mount_mergerfs/uhd/tv/adults/tv show (year) With 2x Sonarr dockers - one for non-UHD and one for UHD. If I add another sonarr instance in a new remote (assuming just HD), I can't see a way around having to add two more folders to plex: /mount_mergerfs/new_sonarr/tv/kids /mount_mergerfs/new_sonarr/tv/adults Or, are you saying you do this with your dockers: Docker1: /mount_mergerfs/tv/2000/tv show (2001)/ Docker2: /mount_mergerfs/tv/2010/tv show (2012)/ Docker3: /mount_mergerfs/tv/2020/tv show (2020)/ and Plex is ok if you only add /mount_mergerfs/tv to the library, and it can work out the rest?
  16. You can use any remote with the scripts
  17. If all the custom exclusions weren't filled in and used, it errored out. I've just fixed this so they can be empty and now you can enter custom commands, rather than just exclusions - see v0.95.1 https://github.com/BinsonBuzz/unraid_rclone_mount/blob/latest---mergerfs-support/rclone_upload # Add extra commands or filters Command1="--exclude downloads/**" Command2="" Command3="" Command4="" Command5="" Command6="" Command7="" Command8="" # process files rclone $RcloneCommand $LocalFilesLocation $RcloneUploadRemoteName:$BackupRemoteLocation $BackupDir \ --user-agent="$RcloneUploadRemoteName" \ -vv \ --buffer-size 512M \ --drive-chunk-size 512M \ --tpslimit 8 \ --checkers 8 \ --transfers 4 \ --order-by modtime,ascending \ --min-age $MinimumAge \ $Command1 $Command2 $Command3 $Command4 $Command5 $Command6 $Command7 $Command8 \ --exclude *fuse_hidden* \ --exclude *_HIDDEN \ --exclude .recycle** \ --exclude .Recycle.Bin/** \ --exclude *.backup~* \ --exclude *.partial~* \ --drive-stop-on-upload-limit \ --bwlimit "${BWLimit1Time},${BWLimit1} ${BWLimit2Time},${BWLimit2} ${BWLimit3Time},${BWLimit3}" \ --bind=$RCloneMountIP $DeleteEmpty
  18. Ok, Updates finished https://github.com/BinsonBuzz/unraid_rclone_mount. Tidy ups to mount and cleanup script. Upload script has some good changes: configurable --min-age as part of the config section configurable --exclusion as part of the config section. I've added 8 which should be plenty Service account counters work 100% now (I think!) Added ability to do backup jobs For 99% of users this should mean the main script doesn't need touching. I added #4 to reduce the amount of edits I have to do to support my own jobs, including my backup job. Now that the main body supports my backup job, future updates will be much faster and they'll be fewer errors.
  19. @Thel1988 I'm going to ditch the cut command tonight as it's not working 100%. Will post an update later
  20. @Thel1988 have you made the change above?
  21. Thanks - another cut and paste error. I think you meant it was: mkdir -p /mnt/user/appdata/other/rclone/$RcloneRemoteName #for script files I've just updated to: mkdir -p /mnt/user/appdata/other/rclone/$RcloneUploadRemoteName #for script files I made this change so users can keep track of what's going on with each upload remote separately from the mount remote.
  22. Thanks - I spotted this in testing, but with all my cutting and pasting I somehow didn't post that change. I need to find a way to work on files locally and sync with github as cutting and pasting is a recipe for disaster. Updated
  23. I use MYDRIVE for my music for this reason because of the 400k object limit. I've got 3 team drives - (i) plex, (ii) home photos/videos and (iii) backup. The backup teamdrive hit 400K recently so I had to remove some older versions of files, but I'm surviving for now. I hope my plex tdrive never goes over 400K as I'm dreading having to split into multiple teamdrives as updating radarr etc will be painful.....although just realised could use symlinks so files won't have 'moved' for dockers, so shouldn't be too hard.
  24. New upload script now supports service_accounts - https://github.com/BinsonBuzz/unraid_rclone_mount/blob/latest---mergerfs-support/rclone_upload I've ditched multiple remote support as it's silly now - not surprising as I came up with it.
  25. I just had a quick play and it's easy to do: JSONDIR="/your/dir/here" SA="sa_tdrive" # enter the bit before the 1. I'm assuming the first account will be 1 not 01 CounterNumber="1" # my way of doing the count is a bit numpty, but I can follow what's happening and keep track SA+=$CounterNumber".json rclone config update $RcloneRemoteName service_account_file $JSONDIR/$SA # didn't know you could update the config like this Much cleaner. I will do this tomorrow when I'm awake so I don't make any mistakes

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.