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.

Guide: How To Use Rclone To Mount Cloud Drives And Play Files

Featured Replies

20 minutes ago, DZMM said:

This thread has got a lot more action than I or @Kaizac or @slimshizn probably ever hoped for.  There's been a lot of action getting people up and running, so I'm wondering how some of the people in the background are getting on? 

 

How intensively are other people using rclone?  Have you moved all your media?  How are you finding the playback experience?

 

Personally, I don't have any plex content on my unRAID server anymore, except for my photos and I've now got over 300TB of Plex content stored on gdrive, as well as another big crypt with my backups (personal files, VM images etc).  I don't even notice the impact of streaming anymore and when I do have any skips, I actually think they are because of local wi-fi issues rather than rclone.

 

 

Perfectly 100%.

 

Im only on a 50-100Mbits LTE connection, and its perfect. I dont mind to wait 7 sec for a video to start, if disks are spun down, it also takes some time...

 

I store everything on gdrive (or in the move to it).

 

But ill wait before i move EVERYTHING till i have my 1gbits connection...

 

I dont see any problems, and i think it can only get better.

 

Best scenario would be a all in one solution (docker and or plugin) I would pay for it. Like a UI with all settings, statistics, configs, fail saves, auto start and stop, warnings and so on.... 


Besides unraid its the best technical thing i found out about in years, i even startet removing drives (as my drives start to fail) which lowers my power consumption (and cost)

Edited by nuhll

  • Replies 3.4k
  • Views 633.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I just came across an issue after restarting my server where mergefs wasn't installing. After some investigation it seems the latest build from mergerfs does not work properly and I solved the problem

  • Key elements of my rclone mount command: rclone mount \ --allow-other \ --buffer-size 256M \ --dir-cache-time 720h \ --drive-chunk-size 512M \ --log-level INFO \ --vfs-read-chunk-size

  • Multiple mounts, one upload and one tidy-up script.   @watchmeexplode5 did some testing and performance gets worse as you get closer to the 400k mark, so you'll need to do something like bel

Posted Images

  • Author
6 minutes ago, nuhll said:

Perfectly 100%.

 

Im only on a 50-100Mbits LTE connection, and its perfect. I dont mind to wait 7 sec for a video to start, if disks are spun down, it also takes some time...

 

I store everything on gdrive (or in the move to it).

 

But ill wait before i move EVERYTHING till i have my 1gbits connection...

 

I dont see any problems, and i think it can only get better.

 

Best scenario would be a all in one solution (docker and or plugin) I would pay for it. Like a UI with all settings, statistics, configs, fail saves, auto start and stop, warnings and so on.... 


Besides unraid its the best technical thing i found out about in years, i even startet removing drives (as my drives start to fail) which lowers my power consumption (and cost)

Only problem I used to have was syncing to local devices, but this has been working perfectly for the last month or so.

 

I'm losing my 1Gbps connection in a few months, so I'll be investing the savings on my line rental on a dedicated server.  

 

I've also had to rethink how I use my local server now it's not a big media store anymore and I also didn't replace one drive when it failed and I'm considering selling a couple on eBay as they are redundant now.

18 minutes ago, DZMM said:

Only problem I used to have was syncing to local devices, but this has been working perfectly for the last month or so.

 

I'm losing my 1Gbps connection in a few months, so I'll be investing the savings on my line rental on a dedicated server.  

 

I've also had to rethink how I use my local server now it's not a big media store anymore and I also didn't replace one drive when it failed and I'm considering selling a couple on eBay as they are redundant now.

Dont use mobile devices much, but streaming did work in holiday normally. Germany -> turkey

Edited by nuhll

34 minutes ago, DZMM said:

restart krusader (this issue keeps coming up) as the file rclone_mount_running is in /mnt/user/appdata/other/rclone 

I found it  , what do you want me to do?

 

this is in root unraid user appdata other rclone

  • Author
9 minutes ago, neow said:

I found it  , what do you want me to do?

 

this is in root unraid user appdata other rclone

delete rclone_mount_running and re run the mount script

1 minute ago, DZMM said:

delete rclone_mount_running and re run the mount script

ok i have this now

 

Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script
Note that closing this window will abort the execution of this script
12.06.2019 23:33:03 INFO: mounting rclone vfs.
12.06.2019 23:33:08 INFO: Check rclone gdrive vfs mount success.
12.06.2019 23:33:08 INFO: Check successful, unionfs mounted.
12.06.2019 23:33:08 INFO: dockers already started

 

seems better? isn't it?

 

but upload script is not working i think

 

Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script
Note that closing this window will abort the execution of this script
/tmp/user.scripts/tmpScripts/rclone_upload_plugin/script: line 4: $'\357\273\277': command not found
/tmp/user.scripts/tmpScripts/rclone_upload_plugin/script: line 26: $'\357\273\277': command not found
12.06.2019 23:33:41 INFO: rclone not installed - will try again later.

the same issue as always, there are hidden things inside the config you copy and pasted, just remove it (rewrite it by hand) (u see the lines)


Its a bug in this forum software, i think.

Edited by nuhll

1 minute ago, nuhll said:

the same issue as always, there are hidden things inside the config you copy and pasted, just remove it (rewrite it by hand) (u see the lines)


Its a bug in this forum software, i think.

I have not the understanding of the problem to act. I can follow instructions that’s all unfortunately 

hidden characters in what you have copied.

/tmp/user.scripts/tmpScripts/rclone_upload_plugin

line 4

line 26

 

rewrite these lines by hand to remove the invisible parts.

5 minutes ago, nuhll said:

hidden characters in what you have copied.

/tmp/user.scripts/tmpScripts/rclone_upload_plugin

line 4

line 26

 

rewrite these lines by hand to remove the invisible parts.

ok i just did it,

 

now i have this

 

Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script
Note that closing this window will abort the execution of this script
12.06.2019 23:47:29 INFO: rclone not installed - will try again later.

  • Author
8 minutes ago, neow said:

ok i just did it,

 

now i have this

 

Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script
Note that closing this window will abort the execution of this script
12.06.2019 23:47:29 INFO: rclone not installed - will try again later.

your mount isn't running - it  needs to be for the upload script to be run

1 minute ago, DZMM said:

your mount isn't running - it  needs to be for the upload script to be run

Ok i understand. What should i do?

  • Author
2 minutes ago, neow said:

Ok i understand. What should i do?

run the mount script in the background

5 minutes ago, DZMM said:

run the mount script in the background

 

5 minutes ago, DZMM said:

run the mount script in the background

ok like this?

 

1- i run on background mount

2- i run script upload

3- i get this Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script
Note that closing this window will abort the execution of this script
13.06.2019 00:05:22 INFO: rclone not installed - will try again later.

4- here is my upload script :

 

 

#!/bin/bash

#######  Check if script already running  ##########

if [[ -f "/mnt/user/appdata/other/rclone/rclone_upload" ]]; then

echo "$(date "+%d.%m.%Y %T") INFO: Exiting as script already running."

exit

else

touch /mnt/user/appdata/other/rclone/rclone_upload

fi

#######  End Check if script already running  ##########

#######  check if rclone installed  ##########

if [[ -f "/mnt/user/mount_rclone/google_vfs/mountcheck" ]]; then

echo "$(date "+%d.%m.%Y %T") INFO: rclone installed successfully - proceeding with upload."

else

echo "$(date "+%d.%m.%Y %T") INFO: rclone not installed - will try again later."

rm /mnt/user/appdata/other/rclone/rclone_upload

exit

fi

#######  end check if rclone installed  ##########

# move files

rclone move /mnt/user/rclone_upload/google_vfs/ gdrive_media_vfs: -vv --drive-chunk-size 512M --checkers 3 --fast-list --transfers 2 --exclude .unionfs/** --exclude *fuse_hidden* --exclude *_HIDDEN --exclude .recycle** --exclude *.backup~* --exclude *.partial~*  --delete-empty-src-dirs --fast-list --bwlimit 9500k --tpslimit 3 --min-age 30m 

# remove dummy file

rm /mnt/user/appdata/other/rclone/rclone_upload

exit

 

 

thanks for your patience i will be lost without you guys

 

 

Screen Shot on 2019-06-13 at 00-03-36.png

Screen Shot on 2019-06-13 at 00-04-26.png

 

 

edit: it's maybe because my folder is not at the good place like i said 1 page ago

 

in script this is the location it checked /mnt/user/rclone_upload/google_vfs/ gdrive_media_vfs

 

 

Edited by neow

as you can see here this is a messup i don't know why

 

i have one .appdata (i just deleted)

one appdata

one rclone_upload

one mount_rclone at root unraid user

one mount_rclone at root unraid user appdata other rclone

Screen Shot 2019-06-13 at 00.13.59.png

Screen Shot on 2019-06-13 at 00-16-29.png

 

i have the same kind of problem with script cleanup unionfs

Screen Shot on 2019-06-13 at 00-35-02-1.png

 

the problem is the script check root mnt user appdata and i have nothing there no?

Screen Shot on 2019-06-13 at 00-37-56.png

Edited by neow

Do0 you have rclone installed?

 

Just follow the instructions step by step. If you have questions ask specific questions.

 

If you follow the guide, its working 100% (besides that hidden chars)

 

If that is working and u understnad how it works, then you might adjust it to your needs.

Edited by nuhll

  • Author
8 hours ago, neow said:

as you can see here this is a messup i don't know why

 

i have one .appdata (i just deleted)

one appdata

one rclone_upload

one mount_rclone at root unraid user

one mount_rclone at root unraid user appdata other rclone

Screen Shot 2019-06-13 at 00.13.59.png

Screen Shot on 2019-06-13 at 00-16-29.png

 

i have the same kind of problem with script cleanup unionfs

Screen Shot on 2019-06-13 at 00-35-02-1.png

 

the problem is the script check root mnt user appdata and i have nothing there no?

Screen Shot on 2019-06-13 at 00-37-56.png

The info message i added is a bit misleading as the 'error' could be that the mount failed, not that rclone isn't installed.  You successfully mounted previously so I think all your attempts haven't cleared properly or something - try manually removing the files in user/appears/other/rclone and rebooting your server and see what happens

7 hours ago, nuhll said:

Do0 you have rclone installed?

 

Just follow the instructions step by step. If you have questions ask specific questions.

 

If you follow the guide, its working 100% (besides that hidden chars)

 

If that is working and u understnad how it works, then you might adjust it to your needs.

hello i followed step by step be sure of that

1 hour ago, DZMM said:

The info message i added is a bit misleading as the 'error' could be that the mount failed, not that rclone isn't installed.  You successfully mounted previously so I think all your attempts haven't cleared properly or something - try manually removing the files in user/appears/other/rclone and rebooting your server and see what happens

hello

 

i reboot this morning an before i cleared the files you told me, please fin enclosed the result:

 

Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script
Note that closing this window will abort the execution of this script
13.06.2019 09:36:44 INFO: rclone installed successfully - proceeding with upload.
2019/06/13 09:36:44 DEBUG : --min-age 30m0s to 2019-06-13 09:06:44.438200373 +0200 CEST m=-1799.994050761
2019/06/13 09:36:44 DEBUG : rclone: Version "v1.47.0-123-g939b19c3-beta" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "move" "/mnt/user0/rclone_upload/google_vfs/" "gdrive_media_vfs:" "-vv" "--drive-chunk-size" "512M" "--checkers" "3" "--fast-list" "--transfers" "2" "--exclude" ".unionfs/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--delete-empty-src-dirs" "--fast-list" "--bwlimit" "9500k" "--tpslimit" "3" "--min-age" "30m"]
2019/06/13 09:36:44 DEBUG : Using config file from "/boot/config/plugins/rclone-beta/.rclone.conf"
2019/06/13 09:36:44 INFO : Starting bandwidth limiter at 9.277MBytes/s
2019/06/13 09:36:44 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1
2019/06/13 09:36:45 DEBUG : tl1q5apobimhco7a7eht612i0c: Skipping undecryptable file name: Bad PKCS#7 padding - too long
2019/06/13 09:36:45 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish
2019/06/13 09:36:45 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish
2019/06/13 09:36:45 INFO : 
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 1.3s

2019/06/13 09:36:45 DEBUG : 6 go routines active
2019/06/13 09:36:45 DEBUG : rclone: Version "v1.47.0-123-g939b19c3-beta" finishing with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "move" "/mnt/user0/rclone_upload/google_vfs/" "gdrive_media_vfs:" "-vv" "--drive-chunk-size" "512M" "--checkers" "3" "--fast-list" "--transfers" "2" "--exclude" ".unionfs/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--delete-empty-src-dirs" "--fast-list" "--bwlimit" "9500k" "--tpslimit" "3" "--min-age" "30m"]

 

 

 

i think is better isn't it?

 

 

i tried to run cleanup plugin he is the result:

 

 

Script location: /tmp/user.scripts/tmpScripts/rclone_custom_plugin/script
Note that closing this window will abort the execution of this script
13.06.2019 09:39:28 INFO: starting unionfs cleanup.
find: '/mnt/user/mount_unionfs/google_vfs/.unionfs': No such file or directory
find: '/mnt/user/mount_unionfs/google_vfs/.unionfs': No such file or directory
 

Edited by neow

10 hours ago, DZMM said:

This thread has got a lot more action than I or @Kaizac or @slimshizn probably ever hoped for.  There's been a lot of action getting people up and running, so I'm wondering how some of the people in the background are getting on? 

 

How intensively are other people using rclone?  Have you moved all your media?  How are you finding the playback experience?

 

Personally, I don't have any plex content on my unRAID server anymore, except for my photos and I've now got over 300TB of Plex content stored on gdrive, as well as another big crypt with my backups (personal files, VM images etc).  I don't even notice the impact of streaming anymore and when I do have any skips, I actually think they are because of local wi-fi issues rather than rclone.

 

 

I also have all my media stored on my Gdrive, with nothing local. Only thing I keep local are the small files, like subtitles and .nfo's because of the Gdrive/Tdrive file limit. I also keep a backup on Gdrive of my local files.

 

Recently had a problem that I couldn't play files and it turned out my API was temporarily banned. I suspect that both Emby and Plex were analyzing files too much to get subtitles. So I switched to another API and it worked again.

 

Something that has been an ongoing issue is memory creep. I've had multiple times that the server gave an out of memory error. I think it's because the scripts running simultaneously take up too much RAM (upload/upload backup/moving small files/cleanup). I will experiment a bit more with lowering the buffer sizes to lower the RAM usage. But with 28GB RAM I didn't expect to run into problems to be honest.

What plex docker are you using guys

I'm using the offical one and it seem to bug a lot since 1 week.

Envoyé de mon Pixel 2 XL en utilisant Tapatalk

On 11/6/2018 at 12:44 PM, DZMM said:

With access to unlimited cloud space available for the cost of a domain name and around $510/pm

How did you get "unlimited cloud space"? I thought it's only 2TB.

44 minutes ago, testdasi said:

How did you get "unlimited cloud space"? I thought it's only 2TB.

Bc thats what it is. 

 

They say you get unlimited if you pay 5 (?) or so ppl, but they dont really do it that way, you also get unlimited with one person.

 

Unlimited diskspace, unlimited bandwidth. I pay around 10€.

 

 

1 hour ago, francrouge said:

What plex docker are you using guys

I'm using the offical one and it seem to bug a lot since 1 week.

Envoyé de mon Pixel 2 XL en utilisant Tapatalk
 

using official one.

1 hour ago, neow said:

hello

 

i reboot this morning an before i cleared the files you told me, please fin enclosed the result:

 

Script location: /tmp/user.scripts/tmpScripts/rclone_upload_plugin/script
Note that closing this window will abort the execution of this script
13.06.2019 09:36:44 INFO: rclone installed successfully - proceeding with upload.
2019/06/13 09:36:44 DEBUG : --min-age 30m0s to 2019-06-13 09:06:44.438200373 +0200 CEST m=-1799.994050761
2019/06/13 09:36:44 DEBUG : rclone: Version "v1.47.0-123-g939b19c3-beta" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "move" "/mnt/user0/rclone_upload/google_vfs/" "gdrive_media_vfs:" "-vv" "--drive-chunk-size" "512M" "--checkers" "3" "--fast-list" "--transfers" "2" "--exclude" ".unionfs/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--delete-empty-src-dirs" "--fast-list" "--bwlimit" "9500k" "--tpslimit" "3" "--min-age" "30m"]
2019/06/13 09:36:44 DEBUG : Using config file from "/boot/config/plugins/rclone-beta/.rclone.conf"
2019/06/13 09:36:44 INFO : Starting bandwidth limiter at 9.277MBytes/s
2019/06/13 09:36:44 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1
2019/06/13 09:36:45 DEBUG : tl1q5apobimhco7a7eht612i0c: Skipping undecryptable file name: Bad PKCS#7 padding - too long
2019/06/13 09:36:45 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for checks to finish
2019/06/13 09:36:45 INFO : Encrypted drive 'gdrive_media_vfs:': Waiting for transfers to finish
2019/06/13 09:36:45 INFO : 
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 0
Checks: 0 / 0, -
Transferred: 0 / 0, -
Elapsed time: 1.3s

2019/06/13 09:36:45 DEBUG : 6 go routines active
2019/06/13 09:36:45 DEBUG : rclone: Version "v1.47.0-123-g939b19c3-beta" finishing with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone-beta/.rclone.conf" "move" "/mnt/user0/rclone_upload/google_vfs/" "gdrive_media_vfs:" "-vv" "--drive-chunk-size" "512M" "--checkers" "3" "--fast-list" "--transfers" "2" "--exclude" ".unionfs/**" "--exclude" "*fuse_hidden*" "--exclude" "*_HIDDEN" "--exclude" ".recycle**" "--exclude" "*.backup~*" "--exclude" "*.partial~*" "--delete-empty-src-dirs" "--fast-list" "--bwlimit" "9500k" "--tpslimit" "3" "--min-age" "30m"]

 

 

 

i think is better isn't it?

 

 

i tried to run cleanup plugin he is the result:

 

 

Script location: /tmp/user.scripts/tmpScripts/rclone_custom_plugin/script
Note that closing this window will abort the execution of this script
13.06.2019 09:39:28 INFO: starting unionfs cleanup.
find: '/mnt/user/mount_unionfs/google_vfs/.unionfs': No such file or directory
find: '/mnt/user/mount_unionfs/google_vfs/.unionfs': No such file or directory
 

Seems normal.

 

Also it seems like you still click "run script" instead of "run script in background". If you click run script, it only run while the window is open. If you run in background you can also see the log on the right.


Always run these scripts in background.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.