Lib/discourse.rb:57:in `exec': convert: improper image header

lib/discourse.rb:57:in exec': convert: improper image header /tmp/RackMultipart20191215-763-1vmetae.png’ @ error/png.c/ReadPNGImage/4294.

what happened when I upload a local picture?

I would guess you have a broken install of discourse? Did you follow our official install guide?

definitely and step by step.actually I have run wesbite for 7 days and most of the pic uploading is successful

1 Like

Is this specific to a certain image file? Does it happen with all image files?