Blizzard Posted August 19, 2018 Share Posted August 19, 2018 Dumb question time, amazon photo storage can i use use recline to automatically sync all the photos(or all content as it’s only photos) in one of my shares to amazons online photo storage, as it’s a final back up solution to store my photos, so ideally I would like this to be a automated system that runs when ever I upload a photo in to the share it will automatically sync and upload to the amazon account, is this possible, and how do I go about setting it up. Thanks Quote Link to comment
revilo951 Posted August 23, 2018 Share Posted August 23, 2018 (edited) I'm trying to add some remotes buy pasting data into rclone.conf but I can't find where it's kept by this plugin. Anyone know? Edit: Found it - /boot/config/plugins/rclone/.rclone.conf Edited August 23, 2018 by revilo951 Quote Link to comment
Waseh Posted August 25, 2018 Author Share Posted August 25, 2018 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 as well as the beta branch should now be able to survive a reboot even if no internet connection is available. Please test it out and see if it's working as intended. I also fixed the missing icon on the settings page. Cheers 1 2 Quote Link to comment
Kaizac Posted August 26, 2018 Share Posted August 26, 2018 (edited) 14 hours ago, Waseh said: 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 as well as the beta branch should now be able to survive a reboot even if no internet connection is available. Please test it out and see if it's working as intended. I also fixed the missing icon on the settings page. Cheers Thanks for all your work! I just used rclone config through Putty (terminal gives the same error) as I always do and it gives me the following error: root@Unraid:~# rclone config /usr/sbin/rclone: line 21: rcloneorig: command not found So I can't configure anything at the moment. Is this a bug, or on my side? Edit: did some further checks and mounting also does not work. Edited August 26, 2018 by Kaizac Quote Link to comment
Waseh Posted August 26, 2018 Author Share Posted August 26, 2018 (edited) That would suggest that the plugin didn't install correctly since only the wrapper seems to be present. Is this new behavior and/or is it connected to updating or installing on reboot while offline? Edited August 26, 2018 by Waseh 1 Quote Link to comment
Kaizac Posted August 26, 2018 Share Posted August 26, 2018 Just now, Waseh said: That would suggest that the plugin didn't install correctly since only the wrapper seems to be present. Is this new behavior and/or is it connected to updating/install on reboot while offline? New behaviour and I always install with internet connected. I'm not sure if I can force a reïnstall without losing all my configuration? Quote Link to comment
Waseh Posted August 26, 2018 Author Share Posted August 26, 2018 Configs are kept even when uninstalling so you don't have to worry about removing and reinstalling the plugin 1 1 Quote Link to comment
Kaizac Posted August 26, 2018 Share Posted August 26, 2018 1 minute ago, Waseh said: Configs are kept even when uninstalling so you don't have to worry about removing and reinstalling the plugin Thanks! I just deleted and reinstalled through the apps library and not it's working again. I will do a reboot again of my server to see if it works well this time. Will report back in about 5 minutes. Quote Link to comment
Kaizac Posted August 26, 2018 Share Posted August 26, 2018 Just rebooted and everything seems to working as usual again. Never had that happen before, so it was definitely strange. Thanks for thinking along! Quote Link to comment
Waseh Posted August 26, 2018 Author Share Posted August 26, 2018 Well that is a bit weird ? Glad you got it working though! 1 Quote Link to comment
cammelspit Posted August 27, 2018 Share Posted August 27, 2018 (edited) Hi! I am trying to access my gdrive from this plugin and I am using spaceinvader's video as a rough guide. I am getting issues listing the directories as a test to make sure everything works. rclone lsd google 2018/08/27 12:01:50 ERROR : : error listing: directory not found 2018/08/27 12:01:50 Failed to lsd: directory not found I set the remote to have access to everything during setup, I believe this was option 1 at the point. Is this an issue with the plugin or the version the plugin is using or something with rclone itself. If this isn't the plugins fault, and to this point I am not sure, it would still be nice to get a quick hand figuring out what I am doing wrong. If I explicitly set a directory such as rclone ls google:Client Data Backup It does work and it lists the files as expected but I can't seem to LS or LSD the root. Should I try using the beta plugin instead? I may just be stupid here or I may be wasting your time with problems that I shouldn't be bringing to you but I am super new to Linux in general and this is my first time ever using rclone so I am not sure if the problem is me or not. If it is me then you can please just tell me to take a hike and I will, I promise. ? Edited August 27, 2018 by cammelspit Quote Link to comment
Kaizac Posted August 27, 2018 Share Posted August 27, 2018 4 minutes ago, cammelspit said: Hi! I am trying to access my gdrive from this plugin and I am using spaceinvader's video as a rough guide. I am getting issues listing the directories as a test to make sure everything works. rclone lsd google 2018/08/27 12:01:50 ERROR : : error listing: directory not found 2018/08/27 12:01:50 Failed to lsd: directory not found I set the remote to have access to everything during setup, I believe this was option 1 at the point. Is this an issue with the plugin or the version the plugin is using or something with rclone itself. If this isn't the plugins fault, and to this point I am not sure, it would still be nice to get a quick hand figuring out what I am doing wrong. If I explicitly set a directory such as rclone ls google:Client Data Backup It does work and it lists the files as expected but I can't seem to LS or LSD the root. Should I try using the beta plugin instead? I may just be stupid here or I may be wasting your time with problems that I shouldn't be bringing to you but I am super new to Linux in general and this is my first time ever using rclone so I am not sure if the problem is me or not. If it is me then you can please just tell me to take a hike and I will, I promise. ? You forgot the ":". So type in rclone lsd google: 1 Quote Link to comment
cammelspit Posted August 27, 2018 Share Posted August 27, 2018 1 minute ago, Kaizac said: You forgot the ":". So type in rclone lsd google: Holy hell in a handbasket Batman! I now feel rather silly and I think you kindly for pointing out my silly syntax mistake! ? Quote Link to comment
Kaizac Posted August 27, 2018 Share Posted August 27, 2018 Just now, cammelspit said: Holy hell in a handbasket Batman! I now feel rather silly and I think you kindly for pointing out my silly syntax mistake! ? Hahaha, I made that mistake numerous times myself so it's nice I can finally carry over this precious knowledge ;). 1 Quote Link to comment
ZataH Posted September 5, 2018 Share Posted September 5, 2018 On 8/26/2018 at 2:21 PM, Kaizac said: Just rebooted and everything seems to working as usual again. Never had that happen before, so it was definitely strange. Thanks for thinking along! Same thing happened to me. I had to remove/reinstall a few times before it worked. Quote Link to comment
westonthenet Posted September 6, 2018 Share Posted September 6, 2018 Has anyone managed to get rclone working with Amazon Cloud Drive without having your own API keys, or can some help with how to get your own API keys even though the developer program is closed? Quote Link to comment
vw-kombi Posted September 7, 2018 Share Posted September 7, 2018 (edited) Im sort of stuck in limbo now, cant install and tried removing from the error tab of plugins. When I try a re-install I get this (its not working, get rclone not found on my scripts or if I try to run it from ssh) : plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plgplugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plgplugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plg ... done+==============================================================================| Skipping package rclone-2018.08.25-bundle (already installed)+==============================================================================Archive: /boot/config/plugins/rclone-beta/install/rclone-beta-latest.old.zipCopy failed - rclone runningplugin: run failed: /bin/bash retval: 1 Edited September 7, 2018 by vw-kombi Quote Link to comment
Waseh Posted September 10, 2018 Author Share Posted September 10, 2018 (edited) Hey guys I've pushed an update that should make the install hang for a shorter amount of time if no internet connection is available as well as retrying downloading rclone if the rclone website is unresponsive. Also i have added a check to see if the unpacking of the rclone archive was successful. This should make it easier to understand why an install failed as the "rclone running" error was triggering for other reasons as well. Cheers Edited September 10, 2018 by Waseh Quote Link to comment
vw-kombi Posted September 10, 2018 Share Posted September 10, 2018 OK - I tried again and this time I got this : plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plgplugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plgplugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plg ... done+==============================================================================| Skipping package rclone-2018.08.25-bundle (already installed)+==============================================================================Downloading rcloneDownloading certsArchive: /boot/config/plugins/rclone-beta/install/rclone-beta-latest.old.zipUnpack failed - Please try installing/updating the plugin againplugin: run failed: /bin/bash retval: 1Updating Support Links Quote Link to comment
Waseh Posted September 10, 2018 Author Share Posted September 10, 2018 (edited) What version of the plugin are you upgrading from? Also have you tried removing the plugin and installing it again? It doesn't seem to actually be downloading a functioning archive. Edited September 10, 2018 by Waseh Quote Link to comment
vw-kombi Posted September 10, 2018 Share Posted September 10, 2018 5 minutes ago, Waseh said: What version of the plugin are you upgrading from? Also have you tried removing the plugin and installing it again? It doesn't seem to actually be downloading a functioning archive. Im not sure what version. Plugin is not showing as installed in installed plugins, none in error state either, so cant uninstall it. It was installed about 3 weeks ago, then unraid was restarted about a week ago, then it is lost, which I think is the norm but I did read that it should survive an outage, then I tried to re-install it, that hung - prob as the website was not responding, then I am where I am currently - cant install it, cant uninstall it. Im sure an unraid restart will rectify this - but I am not in a place where I can do that currently. If you have anything I can try, please let me know. Quote Link to comment
Waseh Posted September 10, 2018 Author Share Posted September 10, 2018 (edited) Try following this path /boot/config/plugins/rclone-beta/install/ and check the file size of the rclone-beta-latest.old.zip (should be around 7-8 mb) - then delete it and try installing the plugin again. It probably won't install but it will clear up if the download is failing. Edited September 10, 2018 by Waseh Quote Link to comment
vw-kombi Posted September 10, 2018 Share Posted September 10, 2018 (edited) I deleted /boot/config/plugins/rclone-beta and all its contents, not quite what you stated....sorry.... re-install says this. plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plgplugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plgplugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/beta/plugin/rclone.plg ... done+==============================================================================| Skipping package rclone-2018.08.25-bundle (already installed)+==============================================================================Downloading rcloneDownloading certsDownload failed - No existing archive found - Try again laterplugin: run failed: /bin/bash retval: 1Updating Support Links I initially had the rclone stable instalkled - maybe that is the issue - but if I try to install that again it says to uninstall the beta first - can I just blow away the beta folder under pluygins and ro-do the stable ? further - I can see rclone-beta in settings - but not my scripts - which are under rclone plugin folder. How can I remove the rclone-beta from a command line ? Thanks. Edited September 10, 2018 by vw-kombi Quote Link to comment
Waseh Posted September 10, 2018 Author Share Posted September 10, 2018 (edited) That won't be enough unfortunately. You could try running these commands: rm -rf /boot/config/plugins/rclone-beta/install rm -f /usr/sbin/rcloneorig rm -f /usr/sbin/rclone rm -f /etc/ssl/certs/ca-certificates.crt removepkg rclone-2018.08.25-bundle However that still doesn't explain why the download is failing. I don't have any problems pulling the beta as of right now. Edited September 10, 2018 by Waseh Quote Link to comment
vw-kombi Posted September 10, 2018 Share Posted September 10, 2018 I ran those commands, and then the normal rclone install no longer fails with 'beta installed, please remove', which is good - but it does does not quite install - also after doing the above, and/or the below, the rclone (original, not beta) is showing in settings now (which is good) - but the scripts are empty there - not an issue I guess as they are in the user scripts system still to run on array start, end and periodically as per space invaders setup video. And the rclone command as root says 'command not found' - which I guess is expected as the install failed : plugin: installing: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plgplugin: downloading https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plgplugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/plugin/rclone.plg ... doneplugin: downloading: https://raw.githubusercontent.com/Waseh/rclone-unraid/master/archive/rclone-2018.08.25-x86_64-1.txz ... done+==============================================================================| Installing new package /boot/config/plugins/rclone/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.Downloading rcloneDownloading certsArchive: /boot/config/plugins/rclone/install/rclone-current.zipUnpack failed - Please try installing/updating the plugin againplugin: run failed: /bin/bash retval: 1 Quote Link to comment
Recommended Posts
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.