Thread:Project:Support desk/500 Internal Server Error after Migration/reply (13)

Ok.

This is what happens, when I try to link/download old files, meaning the files that have been uploaded in the old wiki:

Assume, we have a wiki link [[Media:file.tar.gz|Download]]. This is transformed into a link /images/7/28/file.tar.gz by wiki. When I click on that link, I get the 404. But when I copy the link and erase the middle part, meaning 7/28/ for example, then suddenly I can download the old file. In fact, this is consistent with the fact this file is physically available under /var/www/file.tar.gz. So, somehow the internal linking of the file is broken in the sql db, I think.

When I upload a file, it is stored in image///. But I can download it using [[Media: |Download]] or directly by clicking on file in upload file page.