Hello, I have found a possible bug with uploading photos from certain types of cameras to google photos using Rclone. Images from some cameras are regularly uploaded in a damaged format, often overwriting previous good versions on Google Photos.
I see this happening on some but not all photos from compact cameras and iPhones that I use or used in the past. There are three types of corruption that I have seen:
- Movement of the edge of the image vertically and horizontally, causing the image to appear cut in half.
- Grey bars at the top or bottom of an image.
- Total corruption, causing colorful rainbow type effects.
Attached I have added an example of each. EDIT: I am not allowed to attach images as a new user, so I have attached a link to Dropbox.
For all images from a camera that Rclone uploaded, about 1 in 10 shows this corruption. When opened on the local disk, the image in case appears fine in both photo editing software and file browser. When downloaded from Google Photos, the corruption is also present in the downloaded file.
The command that I am using to upload is as follows in crontab:
0 */20 * * * /usr/bin/rclone copy /mnt/cephfs/Fotomateriaal/ gphotos:album/Fotomateriaal --log-file=/opt/logs/rclone-upload-gphotos.log & >/dev/null 2>&1
I have disabled this for the time being.
My file system is CephFS. Rclone runs in a lxc on proxmox 6. CephFS is accessed as read only using a bind mount to the host CephFS kernel mount.
- os/arch: linux/amd64
- go version: go1.12.10
The camera models that have shown these types of corruption are:
- Olympus TG-6 in jpeg mode
- Olympus TG-6 in raw mode
- Fujifilm Finepix F30
- iPhone 6s
The examples can be seen here as I am not allowed to attach images:
There are a number of questions and concerns that I have:
What could be the cause of this? Why is Rclone overwriting good images on Google Photos? Have I misconfigured Rclone? How can I fix the already overwritten images on Google Photos?
Thanks in advance to anyone willing to lend their assistance.