TeslaDashcamWeb icon indicating copy to clipboard operation
TeslaDashcamWeb copied to clipboard

Error on upload

Open macbentosh opened this issue 5 years ago • 1 comments

Error uploading file. Ran command:

sudo /usr/bin/rclone --config /tmp/rclone.conf copyto "/mnt/cam/TeslaCam/RecentClips/test.jpg" "gdrive:TeslaCam/Pierce Invite.jpg"

Output:

Returned: 1

macbentosh avatar May 05 '19 21:05 macbentosh

@macbentosh That is an unusual command. Did you save the file "test.jpg" manually to your drive? How did it get a different name to save with to Google Drive? My code uses the same name for the file on Google Drive as on the local filesystem.

Can you try without that a video file and see if it works?

Other things to check: ls -l /tmp/rclone.conf to see that that file exists and is readable, running the exact same command sudo /usr/bin/rclone --config /tmp/rclone.conf copyto "/mnt/cam/TeslaCam/RecentClips/test.jpg" "gdrive:TeslaCam/Pierce Invite.jpg" from the command line.

ppamidimarri avatar May 14 '19 18:05 ppamidimarri