ecowremote does not look like the name of an rclone remote. Best to fill all the information in on the support form. If your remote is called ecowremote, rclone would refer to it as ecowremote:.
Your script might have copied the files to a folder in your home directory and that is what you are listing with rclone ls ecowremote.
I have tried to setup a Dropbox folder and It has appeared on the Dropbox site and I can see it from a windows machine on a different netwoork.
But I still get this error message
rclone copy /var/www/Base-Station remote:FarmData
Enter configuration password:
password:
2021/01/30 18:33:11 Failed to create file system for "remote:FarmData": didn't find section in config file
Execute the following on the machine with the web browser (same rclone
version recommended):
rclone authorize "dropbox"
Then paste the result below:
result> {"access_token":"DqbgxENWDsoAAAAAAAAAAYNEvyvkJTv1lIuYKhGiQiYx0rOpX5adgKYpQWfA5S-v","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
Current remotes:
Name Type
==== ====
FarmData dropbox
ecowremote drive
e) Edit existing remote
this follows what appeared to be a successful installation although at no pint did I get a screen asking for the token
you are an A+ genius! that was all I needed to connect to dropbox. Google drive still gives me problems.
I can go into it and upload direct from the drive (pull) but I cannot seem to push files. I shall stop now and have a look in the morning.
You have put my mind at rest, it does work but there are syntax issues to learn. Now I can automate it.
I am monitoring cows 100 miles away with an IOT device I invented and its a tricky drive there in the Scottish winter to check the system is working.
Thank you again, the documentation was no help, but you have fixed it.
Hi again,Dropbox App Client Id
Leave blank normally.
Enter a string value. Press Enter for the default ("").
client_id>
Dropbox App Client Secret
Leave blank normally.
Enter a string value. Press Enter for the default ("").
client_secret>
Edit advanced config? (y/n)
y) Yes
n) No
y/n> n
Remote config
Use auto config?
Say Y if not sure
Say N if you are working on a remote or headless machine
y) Yes
n) No
y/n> n
For this to work, you will need rclone available on a machine that has a web browser available.
Execute the following on your machine:
rclone authorize "dropbox"
Then paste the result below:
result> rclone authorize "dropbox"
2021/01/31 08:15:36 Failed to configure token: invalid character 'r' looking for beginning of value
pi@BS4:~ $ rclone authorize "dropbox"
2021/01/31 08:16:54 NOTICE: Config file "/home/pi/.config/rclone/rclone.conf" not found - using defaults
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access
Waiting for code...
Got code
Paste the following into your remote machine --->
{"access_token":"ZjXToV9ImV8AAAAAAAAAAWYjS69-Cv6ImXfub1MDl6HrPYJeUJKwqNtrMegmibB5","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}
<---End pastepi@BS4:~ $ rclone copy /var/www/Base-Station remote:FarmData
2021/01/31 08:21:44 Failed to create file system for "remote:FarmData": didn't find section in config file
pi@BS4:~ $ rclone copy /var/www/Base-Station remote:FarmData
2021/01/31 08:24:13 Failed to create file system for "remote:FarmData": didn't find section in config file
pi@BS4:~ $
I pasted the token into the rclone.conf file was that correct ?
it worked easily yesterday but now I am lost again.
help please, I go to the farm tomorrow and I really dont want to have to drive there to get data every day, its snowing again!
Toby
Toby
I notice that overnight rclone has lost contact with both Google Drive and dropbox
I seem to be getting the same problem as yesterday about the config file