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.

[Plugin] rclone

Featured Replies

It basically looks on my install like --allow-other is not functioning correctly all of a sudden - i can even do backup/restore backups to google drive no issue - but all my containers have lost their ability to read the files

 

Edit: https://forum.rclone.org/t/issue-with-allow-other-in-beta/18133

Edited by mcrommert

  • Replies 1.1k
  • Views 338k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I also didn't realize rclone was included in Unraid! I appreciate your work on the plugin @Waseh I got it working without the plugin by doing the following. From the Unraid command prompt I ran rclo

  • Hey guys Sorry for the lack of updates in a (long) while ? Real life has been taking up a lot of time and my own install of rclone has been sufficient for my needs. However both the stable branch

  • SpaceInvaderOne
    SpaceInvaderOne

    Hi guys Heres a tutorial on how to setup the excellent Rclone plugin on unRAID. You will see how to install it then connect to 3 different cloud storage providers. Amazon, dropbox and google driv

Posted Images

26 minutes ago, mcrommert said:

image.png.550a3da8e7b162b4d431e3312a0b0380.png

Thanks for sharing this here. Rclone is working for me again. For anyone else that comes here looking for a solution, you just need to reboot unraid and the rclone plugin will be updated with the fix.

On 7/19/2020 at 12:17 PM, spiderben25 said:

Hi,

I'm having the exact same problem. Did you find a solution? Thanks!

 

 

EDIT : seems like it's a permission issue. When I SSH as root I can see all the files mounted but they are owned by root:root. I'll try to edit the mount script accordingly.

 

Hey, sorry I'm seeing this so late - were you able to resolve this?

So I have done the full install, and unraid mounts the gdrive, but I can't see anything in it via plex, or anywhere in unraid. UNLESS I use a terminal in which case I can see the files listed there from the unraid instance.  But any docker container cannot see it.  Any help would be greatly appreciated. --Allow-other is in the script (provided from the github), and any areas where my naming scheme is required are there. Let me know if any logs would be helpful.
TIA!

On 7/27/2020 at 11:02 AM, rzeeman711 said:

Thanks for sharing this here. Rclone is working for me again. For anyone else that comes here looking for a solution, you just need to reboot unraid and the rclone plugin will be updated with the fix.

it won't show without the reboot?

On 7/27/2020 at 11:02 AM, rzeeman711 said:

Thanks for sharing this here. Rclone is working for me again. For anyone else that comes here looking for a solution, you just need to reboot unraid and the rclone plugin will be updated with the fix.

how did you update your plugin? mine still shows 

2019.11.01 for the latest version of the beta plugin.

33 minutes ago, Millerboy3 said:

how did you update your plugin? mine still shows 

2019.11.01 for the latest version of the beta plugin.

There is no new version, there was a fix applied to that version. Restarting unraid pulls the fix. If you restarted you should be good.

8 minutes ago, rzeeman711 said:

There is no new version, there was a fix applied to that version. Restarting unraid pulls the fix. If you restarted you should be good.

mine still didn't fix anything. plex still can't see anything inside the folder. But I can go into terminal and see everything. despite having --allow-other setup.  also which version of the plugin are you using? as the Waseh version of it isn't fixed for me?

12 minutes ago, rzeeman711 said:

There is no new version, there was a fix applied to that version. Restarting unraid pulls the fix. If you restarted you should be good.

 

3 minutes ago, Millerboy3 said:

mine still didn't fix anything. plex still can't see anything inside the folder. But I can go into terminal and see everything. despite having --allow-other setup.  also which version of the plugin are you using? as the Waseh version of it isn't fixed for me?


nvm. I watched the install this time and it looks like its updated. however.... now I'm getting a critical error in my mount script. -_-  attempting to reboot now to see if that takes care of it.

1 minute ago, Millerboy3 said:

mine still didn't fix anything. plex still can't see anything inside the folder. But I can go into terminal and see everything. despite having --allow-other setup.  also which version of the plugin are you using? as the Waseh version of it isn't fixed for me?

I am using the same version. 2019.11.01 by waseh. I had the same problem as you and it was fixed upon restart after mcrommert's comment. I'm not sure why your setup is different but keep working at it.

1 hour ago, rzeeman711 said:

I am using the same version. 2019.11.01 by waseh. I had the same problem as you and it was fixed upon restart after mcrommert's comment. I'm not sure why your setup is different but keep working at it.

yea I'm still pushing it.  I'll hopefully figure it out soon. this will make my life a heck of a lot easier.

got it working. thanks for the fix. that was a hassle.  I should have left my initial scripts apparently. they worked without a hitch. odd.

Edited by Millerboy3

18 hours ago, Millerboy3 said:

mine still didn't fix anything. plex still can't see anything inside the folder. But I can go into terminal and see everything. despite having --allow-other setup.  also which version of the plugin are you using? as the Waseh version of it isn't fixed for me?

I'm having the same issue. I just rebooted and despite seeing my folders in the terminal, can't view them anywhere else (SMB, Krusader, etc.).

 

This is frustrating.

1 minute ago, HALPtech said:

I'm having the same issue. I just rebooted and despite seeing my folders in the terminal, can't view them anywhere else (SMB, Krusader, etc.).

 

This is frustrating.

yep its a problem for me as well. the same rclone mounts work fine on my mac.

  • 2 weeks later...

So I thought I had this running. Turns out it wasn't. So I'm back to square one again, and I have moved and cleared all data in the mount locations and tried to do it again, keep getting "failed drive not empty" etc etc.  So I changed the info, and it worked but didn't mount my gdrive share at all. Sort of lost at this point. Followed the github link to a T as far as I know and just can't figure out what I'm doing wrong here.  Should I just attach my config files (sans the creds portion) and see if someone can look over them? 

Config Files

For whatever reason, this also causes my unraid server to hang on unmounting.

I rebooted the server for the last time to remove some dir's and clear it and try again and it finally worked. No changes made. Mind boggling. -_-

 

Edited by Millerboy3
space

So I thought I had this running. Turns out it wasn't. So I'm back to square one again, and I have moved and cleared all data in the mount locations and tried to do it again, keep getting "failed drive not empty" etc etc.  So I changed the info, and it worked but didn't mount my gdrive share at all. Sort of lost at this point. Followed the github link to a T as far as I know and just can't figure out what I'm doing wrong here.  Should I just attach my config files (sans the creds portion) and see if someone can look over them? 

Config Files

For whatever reason, this also causes my unraid server to hang on unmounting.

I rebooted the server for the last time to remove some dir's and clear it and try again and it finally worked. No changes made. Mind boggling. [emoji42]
 
Standard IT...."Did you turn it off and on again?"
Haha
13 hours ago, Stupifier said:

Standard IT...."Did you turn it off and on again?"
Haha

My plex users were like WTF is happening?!  my friends were texting me lol  I rebooted it no less than 7-8 times.

I went through following the process the best I can. I'm able to access the file structure. See file names. But I cant open any of them or copy from the GDrive.  Any idea where I went wrong?

Edited by Dexm57

1 hour ago, Dexm57 said:

I went through following the process the best I can. I'm able to access the file structure. See file names. But I cant open any of them or copy from the GDrive.  Any idea where I went wrong?

Ya gotta give more info than that for anyone to help you.

 

  1. What process?
  2. How exactly are you trying to copy from Gdrive? What command?

 

  • 2 weeks later...

Hi, I recently set up rclone with Google Drive as a backup destination using SpaceInvaderOne's guide. While archiving some files, I noticed that my files were being uploaded at around 20MBps despite having a gigabit FiOS connection. Based on some Googling, I'm thinking increasing my chunk size might improve speeds.

 

But how do I go about increasing the chunk size? I've attached my rclone mount script if that's of any help.

Also, how does this affect the items I have already uploaded (if it affects them at all)?

32 minutes ago, rragu said:

Hi, I recently set up rclone with Google Drive as a backup destination using SpaceInvaderOne's guide. While archiving some files, I noticed that my files were being uploaded at around 20MBps despite having a gigabit FiOS connection. Based on some Googling, I'm thinking increasing my chunk size might improve speeds.

 

But how do I go about increasing the chunk size? I've attached my rclone mount script if that's of any help.

Also, how does this affect the items I have already uploaded (if it affects them at all)?

https://rclone.org/commands/rclone_mount/

https://rclone.org/flags/
CTRL+F "chunk"

And FWIW, It is not the best idea to Write to an rclone Google Drive mount. Its just a widely known tip....those rclone mounts are more geared towards reads. The If you want to write something to a Google Drive remote, doing it manually using "rclone copy" command and the flags link I provided has a flag to designate chunk size.

Also, even though you have Gig FIOS connection.....you still may not saturate your connection using rclone/google. That might just be the speed you get with Google. It's different for everyone.

10 minutes ago, Stupifier said:

https://rclone.org/commands/rclone_mount/

https://rclone.org/flags/
CTRL+F "chunk"

And FWIW, It is not the best idea to Write to an rclone Google Drive mount. Its just a widely known tip....those rclone mounts are more geared towards reads. The If you want to write something to a Google Drive remote, doing it manually using "rclone copy" command and the flags link I provided has a flag to designate chunk size.

Also, even though you have Gig FIOS connection.....you still may not saturate your connection using rclone/google. That might just be the speed you get with Google. It's different for everyone.

Thanks! I'll look into the resources you posted.

 

As for not writing to the rclone Google Drive mount, (1) it's a slightly more widely known tip now 😅, (2) while I'll switch to using "rclone copy", is there any particular negative effect to transferring data to Google Drive in the way I've been doing (e.g. data loss/corruption) or is it just lower performance?

5 minutes ago, rragu said:

Thanks! I'll look into the resources you posted.

 

As for not writing to the rclone Google Drive mount, (1) it's a slightly more widely known tip now 😅, (2) while I'll switch to using "rclone copy", is there any particular negative effect to transferring data to Google Drive in the way I've been doing (e.g. data loss/corruption) or is it just lower performance?

The biggest issue with writing to the rclone mount is just flat out reliability. People pretty much ALWAYS complain about it. Either it gives errors, or its slow, or it doesn't copy everything you told it. Pretty much, it isn't something you'd wanna use/trust. I know its convenient......sorry.

It is such a well-known thing that there are a ton of very popular scripts around GitHub that basically monitor directories and perform regular rclone sync/copy jobs for you in the background on a regular schedule (like every 2 minutes or whatever you set). One such script is called "Cloudplow". Very well documented/mature. Easy to find on github.

 

Now, rclone mount is absolutely remarkable as a read source. It is excellent for reading.

2 hours ago, Stupifier said:

The biggest issue with writing to the rclone mount is just flat out reliability. People pretty much ALWAYS complain about it. Either it gives errors, or its slow, or it doesn't copy everything you told it. Pretty much, it isn't something you'd wanna use/trust. I know its convenient......sorry.

It is such a well-known thing that there are a ton of very popular scripts around GitHub that basically monitor directories and perform regular rclone sync/copy jobs for you in the background on a regular schedule (like every 2 minutes or whatever you set). One such script is called "Cloudplow". Very well documented/mature. Easy to find on github.

 

Now, rclone mount is absolutely remarkable as a read source. It is excellent for reading.

Just tried out "rclone copy"....the difference is night and day

 

Test files: 4 files (total of 12.3 GB; between 2.3-3.6GB each)

Average transfer speed using rclone mount: 19.4MB/s

Average transfer speed using "rclone copy": 60.9MB/s

Average transfer speed using "rclone copy" and chunk-size 256M: 78.1MB/s

 

The only drawback is heightened CPU/RAM usage but I'm sure I can manage that with a script like you mentioned.

 

Thanks very much for all your help!

2 hours ago, rragu said:

Just tried out "rclone copy"....the difference is night and day

 

1.) Check the destination documentation of rclone. Every destination has its own special parameters and behaviour like Google Drive has its own, too:

https://rclone.org/drive/

 

2.) Do not copy/sync to the mount of the destination like /mnt/disks/gdrive. Use only the rclone alias like gdrive:subfolder. rclone does not work properly if the target is a local path. Example: If you use the mount path and your destination is a webdav server it does not presere the file modification time.

 

3.) If it does not preserve the file modifcation time it must use checksums to verify that the destination file is the same (or not) before being able to skip (or overwrite it). This means it downloads and calculates the checksums (high cpu usage) and uploads at the same time (rclone uses 8 parallel running --checkers for this).

 

4.) There are minor performance differences between sync and copy as they act a little bit different, but finally this should not influence the transfer speed of files:

sync = deletes already existing files from destination that are not present on source

copy = ignores existing files on destination

 

Conclusion:

Check if your transfer preserves the timestamps. If yes, then disable the checksum check through --ignore-checksum (if you are ok with that) and test different --checkers and --transfers (4 is the default) values until you reach the best performance. For example I use "--checkers 2 --transfers 1" for my Nextcloud destination as there was no benefit uploading multiple files and finally it does not raise the total transfer speed if I have two parallel uploads instead of one.

 

 

 

 

My command as an example:

rclone sync /mnt/user/Software owncube:software --create-empty-src-dirs --ignore-checksum --bwlimit 3M --checkers 2 --transfers 1 -vv --stats 10s

 

 

 

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.