TeslaDashcamWeb
TeslaDashcamWeb copied to clipboard
Error on upload
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 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.