Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Photo's sync fails. rclone sync works. #53

Open
famewolf opened this issue Jun 7, 2020 · 1 comment
Open

Google Photo's sync fails. rclone sync works. #53

famewolf opened this issue Jun 7, 2020 · 1 comment
Labels
sighting Potential bug, not isolated. Left open awaiting more info.

Comments

@famewolf
Copy link

famewolf commented Jun 7, 2020

I requested full access when I set up the remote but am not actually trying to upload anything...all the photo's it's trying to upload already exist ON google photos..in fact they are local due to a rclone copy from google photos that worked as expected.

freenas2% /mnt/tank/scripts/rclonesync.py --first-sync -v -f /mnt/tank/homes/famewolf/.rclonesyncwd/Filters GPhotos:media/by-month /mnt/tank/shared/Cloud/Google_Photos/

2020-06-07 19:53:52,226: ***** BiDirectional Sync for Cloud Services using rclone (V2.10 200411) *****
2020-06-07 19:53:52,249: Lock file created: </tmp/rclonesync_LOCK_GPhotos_media_by-month__mnt_tank_shared_Cloud_Google_Photos_>
2020-06-07 19:53:52,249: Synching Path1 GPhotos:media/by-month/ with Path2 </mnt/tank/shared/Cloud/Google_Photos/>
2020-06-07 19:53:52,249: Command args: <Path1=GPhotos:media/by-month, Path2=/mnt/tank/shared/Cloud/Google_Photos/, check_access=False, check_filename=RCLONE_TEST, config=None, dry_run=False, filters_file=/mnt/tank/homes/famewolf/.rclonesyncwd/Filters, first_sync=True, force=False, max_deletes=50, no_datetime_log=False, rc_verbose=None, rclone=rclone, rclone_args=None, remove_empty_directories=False, verbose=1, workdir=/mnt/tank/homes/famewolf/.rclonesyncwd>
2020-06-07 19:53:52,249: Using filters-file </mnt/tank/homes/famewolf/.rclonesyncwd/Filters>
2020-06-07 19:53:52,249: Storing filters-file hash to </mnt/tank/homes/famewolf/.rclonesyncwd/Filters-MD5>
2020-06-07 19:53:52,249: >>>>> --first-sync copying any unique Path2 files to Path1

then a bunch of these:

2020/06/07 19:53:31 ERROR : Attempt 2/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 3/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 Failed to copyto with 3 errors: last error was: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 1/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 2/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 3/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 Failed to copyto with 3 errors: last error was: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 1/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 2/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 ERROR : IMG_20191022_151419.jpg: Failed to copy: can't upload files here
2020/06/07 19:53:31 ERROR : Attempt 3/3 failed with 3 errors and: can't upload files here
2020/06/07 19:53:31 Failed to copyto with 3 errors: last error was: can't upload files here
2020-06-07 19:53:31,923: ERROR rclone copyto failed. (Line 252) - /mnt/tank/shared/Cloud/Google_Photos/Bread/IMG_20191022_151419.jpg
2020-06-07 19:53:31,924: Lock file removed: </tmp/rclonesync_LOCK_GPhotos_media_by-month__mnt_tank_shared_Cloud_Google_Photos_>
2020-06-07 19:53:31,924: ***** Critical Error Abort - Must run --first-sync to recover. See README.md *****

@cjnaz
Copy link
Owner

cjnaz commented Jun 8, 2020

I'm not up to speed on the GPhotos saga. The error is from rclone. Since you have Path1 as the GPhotos remote, rclonesync is attempting to push local files to GPhotos, resulting in rclone errors. Check out this thread rclone/rclone#369 and https://rclone.org/googlephotos/ for clues. Is there something rclonesync can do?

Generally, I recommend that you set the local drive as Path1 and the remote/cloud as Path2. It may be more efficient since the final sync step is an rclone sync Path1 Path2, so rclone takes care of all/any files to be sent to the cloud.

@cjnaz cjnaz added the sighting Potential bug, not isolated. Left open awaiting more info. label Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sighting Potential bug, not isolated. Left open awaiting more info.
Projects
None yet
Development

No branches or pull requests

2 participants