Failure: "Please ensure the file type is supported and not corrupted"

What worked for me was disable/enable:

Default encryption module (OC_DEFAULT_MODULE)