Hello community,
we are importing issues via CSV export from an older Jira (version 7.7) to a newer instance (version 8.20).
The old Jira is running on a Windows system while the new Jira is running on an Ubuntu 20.04 server.
The attachments are correctly linked in the issues and also have the correct filesize, yet when we download the attachments and try to open it we get an error.

The links for the attachments are the same as other files.
Broken attachment: https://jira.company.de/secure/attachment/227874/2019-08-07%2010_56_53-DIZ%20PDB.png
Working attachment: https://jira.company.de/secure/attachment/229180/test.txt
I have already checked the file permissions and have reindexed Jira but the problem persisted.
I would be thankful for some input to solve this issue.
Thanks