Images not showing up

After we upgraded from 8.16.2 community edition up to 12.7.5 this happens to all uploaded files in our Gitlab. After the images are uploaded we can see the url for the images but the screen is white.

Any ideas how to get this working ?