My apologies if this has been done to death, but I think this needs to be documented, and here is as good a place as any...
Occasionally, TP-Link Archer C7 devices running stock firmware refuse to install OpenWrt via the browser-based firmware upgrade facillity. Sometimes, this is due to the fact that the device requires a region-specific version of firmware. So if this happens to you, check if there are region-specific versions of OpenWrt for your model and version.
Note that for Archer C7 v2, there is a non-region-specific firmware and region-specific versions for the EU and the U.S. So if your router is the EU model, you will need the EU firmware; if it is the U.S. model, you will need the U.S. firmware.
And one more thing... If your Archer tells you to select a file for upload despite the fact that you have already selected one, it may be because it doesn't like the long name of the .bin file you have selected. So rename your .bin file into something like firmware.bin and try again...
Archer C7 v2 may require region-specific firmware. For example, OpenWrt 22.03.4 exists in non-region-specific version (factory.bin), EU version (factory-eu.bin), and U.S. version (factory-us.bin). When installing via Web-based interface, the device will refuse to install the incorrect version and display a generic error message along the lines of “there's something wrong with this firmware, but I can't tell you what”. The solution is to use the region-specific firmware matching the region-specific hardware. Renaming the firmware image to firmware.bin before upload (see previous paragraph) is still a good idea.