mc1arke / sonarqube-community-branch-plugin

A plugin that allows branch analysis and pull request decoration in the Community version of Sonarqube
GNU Lesser General Public License v3.0
2.25k stars 524 forks source link

Error opening zip file or JAR manifest missing : ./extensions/plugins/sonarqube-community-branch-plugin-1.14.0.jar #778

Closed mpet closed 1 year ago

mpet commented 1 year ago

Describe the bug SQ cannot start.

To Reproduce Steps to reproduce the behavior: Restarted the SQ server using.

sudo systemctl restart sonarqube.service

Now the webserver cannot be started so SQ does not start.

Expected behavior I expected the server to start and have a web gui accessible.

Screenshots If applicable, add screenshots to help explain your problem.

Software Versions

Additional context Here is the nohup.log

2023.06.15 10:19:22 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonarqube/temp
2023.06.15 10:19:22 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:35682]
2023.06.15 10:19:22 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [/opt/sonarqube/elasticsearch]: /opt/sonarqube/elasticsearch/bin/elasticsearch
2023.06.15 10:19:22 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2023.06.15 10:19:32 INFO  app[][o.s.a.SchedulerImpl] Process[es] is up
2023.06.15 10:19:32 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [/opt/sonarqube]: /afs/sero.gic.ericsson.se/app/vbuild/SLED12-x86_64/openjdk/17.0.6/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx2048m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Duser.timezone=Europe/Stockholm -javaagent:./extensions/plugins/sonarqube-community-branch-plugin-1.14.0.jar=web -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.9.0.65466.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.5.1.jar org.sonar.server.app.WebServer /opt/sonarqube/temp/sq-process6005635985789431289properties
Error opening zip file or JAR manifest missing : ./extensions/plugins/sonarqube-community-branch-plugin-1.14.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument
2023.06.15 10:19:32 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [Web Server]: 1
2023.06.15 10:19:32 INFO  app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped
2023.06.15 10:19:32 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 143
2023.06.15 10:19:32 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2023.06.15 10:19:32 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
nixel2007 commented 1 year ago

Did you place the plugin file to the corresponding directory?

mpet commented 1 year ago

@nixel2007 thx that was the issue.