ERROR: Error during SonarScanner execution ERROR: Failed to upload report - An error has occurred. Please contact your administrator ERROR: ERROR: Re-run SonarScanner using the -X switch to enable full debug logging. [Pipeline] }
View service details
Enter the corresponding sonar installation directory and look at the log below log
web.log The following error is reported, MySQL
Setting and modifying the maximum MySQL receive
vim /etc/my.cnf
Add a row
max_ allowed_ packet = 2102410240
Restart service
systemctl restart mysqld
If an error is still reported during the execution of sonar, restart sonar,