Sync Fails for JPG and PNG file types

I am running a new installation of NextCloud 20.0.10 on a shared server.

I have several folders set up to sync between my home system and the cloud, using the Win64 desktop client.

Everything works great except JPG and PNG files, all of which fail with the following errors (although nothing shows in the log file on the server side).

image

Other files in the same folders sync fine, including other image types like ICO and GIF. Images range in size, but are not large; ICO and GIF files in the same folder are similar size.

If I copy one of the JPGs that doesn’t sync and rename it with a TXT extension, it syncs fine.

Any ideas?

Thanks,

Hi @Kevin_Willis.

Welcome. Unfortunately, you did not fill out the required support template. Please edit your post with the requested information.

Also, v20 is not supported and reached end-of-life several years ago (2021).

Turns out the culprit was a CDN service, including image optimization among other things, that was activated on my hosting account by default. Once it was deactivated, image files uploaded just fine. Hopefully this is useful to someone, even without completing the full support template.

I would be great if you name the CDN and provide the reference for the problematic settings and working values as well.

Not much else I can tell you, the host (Hostinger) has an option for CDN support that was automatically selected when I set up the domain:

Disabling this feature corrected the issue, so I have no idea what particular setting or process was causing the problem.

I should also note that it was Hostinger support who figured it out, even though they weren’t familiar with the issue. Don’t want to leave the impression it was something they did.