[Plugin] rclone


Waseh

Recommended Posts

also, when I try running it a second time, I get this :

 

plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg
plugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg
plugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg ... done

+==============================================================================
| Skipping package rclone-2018.08.25-bundle (already installed)
+==============================================================================


Downloading rclone
Downloading certs
Download failed - No existing archive found - Try again later
plugin: run failed: /bin/bash retval: 1

Link to comment
Just now, Waseh said:

Right so would you mind checking the size of the rclone-current.zip?
Also what happens if you run:
curl --connect-timeout 5 --retry 3 --retry-delay 2 --retry-max-time 30 -o /boot/config/plugins/rclone/install/rclone-current.test.zip https://downloads.rclone.org/rclone-current-linux-amd64.zip

 

When I run that curl, I get timeouts - see below.

Where is that file you want me to check the size of ?  its not in /install.

 

root@Tower:/boot/config/plugins/rclone/install# curl --connect-timeout 5 --retry 3 --retry-delay 2 --retry-max-time 30 -o /boot/config/plugins/rclone/install/rclone-current.test.zip https://downloads.rclone.org/rclone-current-linux-amd64.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
Warning: Transient problem: timeout Will retry in 2 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
Warning: Transient problem: timeout Will retry in 2 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
Warning: Transient problem: timeout Will retry in 2 seconds. 1 retries left.
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
curl: (28) Connection timed out after 5000 milliseconds
root@Tower:/boot/config/plugins/rclone/install#
 

also = when I try that https://xxxxx in my browser, I get 'site took too long to respond'

 

Edited by vw-kombi
Link to comment

no go :

 

root@Tower:/boot/config/plugins/rclone/install#
root@Tower:/boot/config/plugins/rclone/install# curl --retry 3 --retry-delay 2 --retry-max-time 30 -o /boot/config/plugins/rclone/install/rclone-current.test.zip https://downloads.rclone.org/rclone-current-linux-amd64.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:02:10 --:--:--     0curl: (7) Failed to connect to downloads.rclone.org port 443: Connection timed out
root@Tower:/boot/config/plugins/rclone/install#

 

 

Link to comment
Just now, Waseh said:

Well this seems to indicate that you have a problem connecting to the rclone website so this does not seem to be a problem relating to the plugin.
Can you open then non SSL version?: http://downloads.rclone.org/rclone-current-linux-amd64.zip

 

Yep - you are correct.  That is IP 5.153.250.7, which is in the block list for my firewall.......  not manually entered by me, it is part of skynet's firewall rules so it must be in some sort of list.  I will whitelist it and update shortly.

 

Link to comment

well, I must apologize for all this = stupid firewall.  Rules get pushed automatically and I guess that rclone ip got added somewhere along the line.

 

Rclone all installed fine now.....

 

plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg
plugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg
plugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg ... done

+==============================================================================
| Skipping package rclone-2018.08.25-bundle (already installed)
+==============================================================================


Downloading rclone
Downloading certs
Archive: /boot/config/plugins/rclone/install/rclone-current.zip
creating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone.1 
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone 
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.txt 
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.html 
extracting: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/git-log.txt 

-----------------------------------------------------------
rclone has been installed.
-----------------------------------------------------------

plugin: installed

Updating Support Links
 

Link to comment

hhhhmmmm - looks like one of the things done in this means I have lost some config - guess I have to re-set it all up :

 

Script location: /tmp/user.scripts/tmpScripts/rclone_mount_plugin/script
Note that closing this window will abort the execution of this script
2018/09/10 19:20:41 Failed to create file system for "google:unraid": didn't find section in config file

Link to comment
2 hours ago, Waseh said:

Ah now we might be getting somewhere.
Try running this:
curl --retry 3 --retry-delay 2 --retry-max-time 30 -o /boot/config/plugins/rclone/install/rclone-current.test.zip https://downloads.rclone.org/rclone-current-linux-amd64.zip

I'm having similar issues. Running this command works fine and it downloads but when i try to update plugin i get


No internet - Skipping download and using existing archives
Archive: /boot/config/plugins/rclone/install/rclone-current.old.zip
creating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone.1
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.txt
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.html
extracting: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/git-log.txt
Copy failed - is rclone running?
plugin: run failed: /bin/bash retval: 1

obviously i have internet as the curl statement worked. anything I might be doing wrong?

Link to comment
1 hour ago, Waseh said:

Try updating now :)
Also be aware that the update wont complete if rclone is currently running.

same error. weird

 

plugin: updating: rclone.plg

+==============================================================================
| Skipping package rclone-2018.08.25-bundle (already installed)
+==============================================================================

No internet - Skipping download and using existing archives
Archive: /boot/config/plugins/rclone/install/rclone-current.old.zip
creating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone.1
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.txt
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.html
extracting: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/git-log.txt
Copy failed - is rclone running?
plugin: run failed: /bin/bash retval: 1

 

Link to comment
2 hours ago, ffhelllskjdje said:

same error. weird

 

plugin: updating: rclone.plg

+==============================================================================
| Skipping package rclone-2018.08.25-bundle (already installed)
+==============================================================================

No internet - Skipping download and using existing archives
Archive: /boot/config/plugins/rclone/install/rclone-current.old.zip
creating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone.1
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/rclone
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.txt
inflating: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/README.html
extracting: /boot/config/plugins/rclone/install/rclone-v1.43.1-linux-amd64/git-log.txt
Copy failed - is rclone running?
plugin: run failed: /bin/bash retval: 1

 

removed all directories and uninstalled and tried to do a fresh install.

got this.

plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plg
plugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plg
plugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plg ... done
plugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/archive/rclone-beta-2018.08.25-x86_64-1.txz ... done

+==============================================================================
| Installing new package /boot/config/plugins/rclone-beta/install/rclone-2018.08.25-bundle.txz
+==============================================================================

Verifying package rclone-2018.08.25-bundle.txz.
Installing package rclone-2018.08.25-bundle.txz:
PACKAGE DESCRIPTION:
Package rclone-2018.08.25-bundle.txz installed.
No internet - Skipping download and using existing archives
Download failed - No existing archive found - Try again later
plugin: run failed: /bin/bash retval: 1

 

 

It downloaded the file as seen here

root@Tower:/boot/config/plugins/rclone-beta/install# ls -la
total 64
drwxrwxrwx 3 root root 16384 Aug 25 16:34 ./
drwxrwxrwx 3 root root 16384 Aug 25 16:34 ../
-rwxrwxrwx 1 root root  8060 Sep 10 15:22 rclone-2018.08.25-bundle.txz*
drwxrwxrwx 5 root root 16384 Aug 25 16:34 scripts/

 

Link to comment

Well the logging clearly explains what's going on.

The plugin determined that there isn't a connection to the internet. It does this by first pinging 8.8.8.8 and if that fails then pings 1.1.1.1

The question then remains why both of these checks are failing if, as it seems, the server actually is connected to the internet. 

 

Edit: seems like I pushed the wrong commit so it just pinged 1.1.1.1 twice. Try the new version (2018.09.10c) I just pushed :)

 

Edited by Waseh
Link to comment
7 minutes ago, Waseh said:

Well the logging clearly explains what's going on.

The plugin determined that there isn't a connection to the internet. It does this by first pinging 8.8.8.8 and if that fails then pings 1.1.1.1

The question then remains why both of these checks are failing if, as it seems, the server actually is connected to the internet. 

 

not sure if you just changed something but install just worked (3:37pm EST).

Link to comment

I got the same error

 

plugin: updating: rclone.plg

+==============================================================================
| Skipping package rclone-2018.08.25-bundle (already installed)
+==============================================================================


Downloading rclone
Downloading certs
Archive: /boot/config/plugins/rclone-beta/install/rclone-beta-latest.zip
creating: /boot/config/plugins/rclone-beta/install/rclone-v1.43-064-g3c44ef78-beta-linux-amd64/
inflating: /boot/config/plugins/rclone-beta/install/rclone-v1.43-064-g3c44ef78-beta-linux-amd64/rclone.1 
inflating: /boot/config/plugins/rclone-beta/install/rclone-v1.43-064-g3c44ef78-beta-linux-amd64/rclone 
inflating: /boot/config/plugins/rclone-beta/install/rclone-v1.43-064-g3c44ef78-beta-linux-amd64/README.txt 
inflating: /boot/config/plugins/rclone-beta/install/rclone-v1.43-064-g3c44ef78-beta-linux-amd64/README.html 
inflating: /boot/config/plugins/rclone-beta/install/rclone-v1.43-064-g3c44ef78-beta-linux-amd64/git-log.txt 
Copy failed - is rclone running?
plugin: run failed: /bin/bash retval: 1

Edited by ashroughfool
Link to comment

Try to ping 1.1.1.1 and 8.8.8.8

 

Edit: you just edited the post right? 😜 because now I don't see a no internet error which means that you don't really have an error except for the fact that perhaps rclone is running while trying to update? 😛

Edited by Waseh
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.