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. The unmount script tidies this all up at array start
  2. There is an unmount script that cleans everything up that most people run at array start.
  3. create a teamdrive within google drive follow the instructions on github for setting up service accounts create a new rclone remote that points to the tdrive - use the same passwords and your new service accounts (if you used the same passwords!) use the rclone move command to move files from your old remote to your new remote server side
  4. It will stop at 750GB - I think sometimes it will finish the current file, but I think it hard stops. That's why I'd put the extra effort in now before you get started to use teamdrives, which allows you to use and rotate service accounts to upload more than 750GB/day (750GB/day per service account)
  5. Post your script and rclone config please - remember to remove your passwords
  6. You can use your current remote gdrive_media_vfs in the upload script if you want - it's just best practice to get another remote for uploading. It's easy. Just repeat what you did to create the remotes gdrive and gdrive_media_vfs - the only difference is create a different access token.
  7. No just another pair of almost identical remotes gdrive_upload and gdrive_upload_vfs, except for a different access token, that point to the same gdrive.
  8. Much easier to post direct: 14.10.2022 00:10:01 INFO: *** Rclone move selected. Files will be moved from /mnt/user/local/gdrive_vfs for gdrive_upload_vfs *** 14.10.2022 00:10:01 INFO: *** Starting rclone_upload script for gdrive_upload_vfs *** 14.10.2022 00:10:01 INFO: Script not running - proceeding. 14.10.2022 00:10:01 INFO: Checking if rclone installed successfully. 14.10.2022 00:10:01 INFO: rclone installed successfully - proceeding with upload. 14.10.2022 00:10:01 INFO: Uploading using upload remote gdrive_upload_vfs 14.10.2022 00:10:01 INFO: *** Using rclone move - will add --delete-empty-src-dirs to upload. 2022/10/14 00:10:01 INFO : Starting bandwidth limiter at 12Mi Byte/s 2022/10/14 00:10:01 INFO : Starting transaction limiter: max 8 transactions/s with burst 1 2022/10/14 00:10:01 DEBUG : --min-age 15m0s to 2022-10-13 23:55:01.599038088 +0200 CEST m=-899.976808163 2022/10/14 00:10:01 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "move" "/mnt/user/local/gdrive_vfs" "gdrive_upload_vfs:" "--user-agent=gdrive_upload_vfs" "-vv" "--buffer-size" "512M" "--drive-chunk-size" "512M" "--tpslimit" "8" "--checkers" "8" "--transfers" "4" "--order-by" "modtime,ascending" "--min-age" "15m" "--exclude" "downloads/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" ".Recycle.Bin/**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--drive-stop-on-upload-limit" "--bwlimit" "01:00,off 08:00,15M 16:00,12M" "--bind=" "--delete-empty-src-dirs"] 2022/10/14 00:10:01 DEBUG : Creating backend with remote "/mnt/user/local/gdrive_vfs" 2022/10/14 00:10:01 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf" 2022/10/14 00:10:01 DEBUG : Creating backend with remote "gdrive_upload_vfs:" 2022/10/14 00:10:01 Failed to create file system for "gdrive_upload_vfs:": didn't find section in config file 14.10.2022 00:10:01 INFO: Not utilising service accounts. 14.10.2022 00:10:01 INFO: Script complete Script Finished Oct 14, 2022 00:10.01 Here's your problem: 2022/10/14 00:10:01 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf" 2022/10/14 00:10:01 DEBUG : Creating backend with remote "gdrive_upload_vfs:" 2022/10/14 00:10:01 Failed to create file system for "gdrive_upload_vfs:": didn't find section in config file You don't have a gdrive_upload_vfs remote in your config. Create another remote with a new API key or service account if you've setup teamdrives (recommended as you will likely need teamdrives in the future). The upload uses a diff remote and API to try and reduce the risk of an API ban (very rare if you set things up correctly) affecting the mount responsible for playback.
  9. Add them as extra paths to merge into your mergerfs mount, and then upload those paths to your gdrive: # OPTIONAL SETTINGS # Add extra paths to mergerfs mount in addition to LocalFilesShare LocalFilesShare2="/mnt/user/Series" LocalFilesShare3="/mnt/user/Movies" Logs would help!
  10. Don't worry everything is correct. The mergerfs folder merges the contents of the local and rclone mount into one folder. This is the folder you add to Plex i.e. Plex doesn't know (or care) if the actual file is local or in the cloud. Your rclone_mount folder is empty, because you haven't moved or uploaded any files to the cloud yet - you do this with the upload script. Once you do, files will move from the local folder to rclone_mount. But, because mergerfs merges files from both locations, to Plex, radarr, sonarrr etc the file hasn't moved i.e. is still visible in the mergerfs folder. In summary, just ignore the local and rclone_mount folder in normal day-2-day usage, just look at the mergerfs folder, and let the upload script do its thing in the background.
  11. Is anyone else having a problem (I think since 6.11) where files become briefly unavailable? I used to run my script via cron every couple of mins, but I've found over the last couple of days or so that the mount will be up but Plex etc need manually restarting i.e. I think the files became unavailable for such a short period of time, that my script missed the event and didn't stop and restart my dockers? I'm wondering if there's a better way than looking for the mountcheck file e.g. write a plex script that sits alongside the current script that says stop plex if files become unavailable and they rely on the existing script to restart plex?
  12. @Kaizac @Roudy Thanks. I rebooted to upgrade yesterday, and everything stopped working and I panicked when I saw NerdPack was incompatible. After rolling back, I think the problem was actually because of changes I'd made recently to my mount script - I'd added about 5 more tdrives to get some of my tdrives under 100K files used, but my backup tdrive was still at 400k and was messing up rclone and wouldn't mount properly. It was so messed up I couldn't even delete old backups to make room, so I just deleted it from gdrive and created a replacement tdrive. All seems ok, so I'm going to upgrade again once I've worked out how to replace the NerdPack elements I need for other non-rclone activites.
  13. Has anybody had any problems running the scripts on 6.11? Does the mergerfs install still work without NerdPack?
  14. Are you using the scripts in this thread? It sounds like your trying to do something different with rclone which probably should be posted somewhere else.
  15. How stable is your connection? The mount can occasionally drop and the script is designed to stop Dockers, test, and re-mount. I'm convinced mine's only done this about 3 times though
  16. Sounds dangerous and a bad idea sharing metadata and I think they'd need to share the same database, which would be an even worse idea. I'd try and solve the root cause and see what's driving the API ban as I've had like 2 in 5 years or so e.g. could you maybe schedule Bazarr to only run during certain hours? Or, only give it 1 CPU so it runs slowly? I don't use Bazarr but I think I'm going to start as sometimes in shows I can't make out the dialogue or e.g. there's a bit in another language and I need the subtitles, but I've no idea how Plex sees the files. I might send you a few DMs if I get stuck
  17. IMO you can't go wrong with using /user and /disks - at least for your dockers that have to talk to each other. I think the background to Dockers is they were setup as a good way to ringfence access and data. However, we want certain dockers to talk to each other easily! Life gets so much easier settings paths within docker WEBGUIs when your media mappings look like my Sonarr mappings below:
  18. "disappear" - when and where? I'm guessing that you're not starting the dockers after the mount is active.
  19. Easily fixed in Plex ( a bit harder in sonarr). I've covered it somewhere in this thread in more detail, but the gist of the change is; 1. Add new /mnt/user/movies paths to Plex in the app (after adding path to docker of course) 2. Scan all your libriaries to find all your new paths 3. ONLY when the scan has completed delete old paths from libraries 4. Empty trash This only works if you don't have the setting to auto delete missing files on. Sonarr is a bit of a pain as it tends to crash a lot for big libraries, so do backups! 1. Add new paths to docker and then app 2. Turn off download clients so doesn't try to replace files 3. Go to manage libraries and change location of folders to new location. Decline move files to new location 4. Do a full scan and it'll scan the new paths and find the existing files 5. Turn download clients back on Works well if your files are all named nicely. https://trash-guides.info/Sonarr/Sonarr-recommended-naming-scheme/
  20. Thanks. I left it going overnight and it seems ok this morning. The VM is working well now and I'm frantically catching up on work
  21. I had a power cut this afternoon and after rebooting my server is running constantly at 90% CPU usage + my main W11 VM is ultra-slow (prob because of the CPU usage). Is there anything in my diagnostics that indicates what's wrong and how to fix? All help appreciated as I need my VM for work as I'm about 50% as effective on my laptop. highlander-diagnostics-20220830-2223.zip
  22. yes seedbox ---> gdrive and unraid server organises, renames, deletes files etc on gdrive - no use of local bandwidth or storage except to play files as normal. One day I might move Plex to a cloud server, but that's one for the future (or maybe sooner than expected if electricity prices keep going up!)
  23. I agree. The only "hard" bits on other systems is installing rclone and mergerfs. But, once you've done that the scripts should work on pretty much any platform if you change the paths and can setup a cron job. E.g. I now use a seedbox to do my nzbget and rutorrent downloads and I then move completed files to google drive using my rclone scripts, with *arr running locally sending jobs to the seedbox and then managing the completed files on gdrive i.e. I don't really have a "local" anymore as no files exist locally but the scripts can still handle this.
  24. I'm not sure. I don't think so - I'm investigating

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.