Problem with view or download file in OJS 3.2.1.3

In OJS 3.2.1.3 when trying to view a file, an error appears:

PDF.js v1.8.188 (build: ad1023ff)
Message: stream must have data

even if I try to download it doesn’t let me download the file.

what to do?

Check you dir_files settings and permissions please…

dir_files settings and permissions are ok.