Last analysis failed with error metadata file is missing in analysis report

I analyzing a PHP 8.1 project with SonarQube version 7.9, and the last analysis failed with an error indicating a metadata file is missing in analysis report. When re-analyzing the project in debug mode, noticed that the logs showed "Detection of duplications for file " and “too many duplication references on file” error and warning.

Please let me know can "Detection of duplications for file " and “too many duplication references on file” cause the last analysis failed with error missing metadata report upload .

Also give me the solution to resolve this issue…

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

7.9 → 8.9.10 → 9.9.6 → 10.6 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.