Thread:Project:Support desk/Upgrade Wiki from 1.18 to 1.22.4 (2)/reply (7)

As explained in Manual:Upgrading, you should not unpack the new installation over the old one. You should unpack on an empty folder, and then copy the needed files (like LocalSettings.php, images... as explained there) to the new installation.