-
Latest 7.7 with docker hub
I’m trying to set up a connected sonar container in a postgresql database in amazon’s RDS.
I am initializing the container with the following command:
docker run -it --name sonarqube
-p 9000: 9000
-e sonar.jdbc.username = USER
-e sonar.jdbc.password = PASS
-e sonar.jdbc.url = jdbc: postgresql: // INSTANCE / sonar
sonarqubeIt starts to configure, creates the tables, rules and indexes. However, it gets stuck during the command “INFO web [os.s.r.r.RegisterRules] Register rules” and can not proceed.
Has anyone ever been in this situation?
Hi,
Do you have any other logs ? If not, could you please set the “sonar.log.level” to TRACE in conf/sonar.properties, and restart the server ?
Regards
Hi Julien,
Tanks for your reply, but i don’t have other logs.
But the problem was solved alone, rs. I wait for a long time (+/- 1 hour) and container was up. Before that, I shut down my container and start again, but this time was fast, (+/- 15 minutos).
So, I don’t have other problems, just waited.
Regards.
Ok thanks for the update.
Having the same issue here. The docker run process stopped here.
The command I run was:
docker run -d \
-p 9001:9000 \
-e SONAR_JDBC_URL=jdbc:postgresql://rds_url/database_name \
-e SONAR_JDBC_USERNAME=sonarqube \
-e SONAR_JDBC_PASSWORD=pass... \
sonarqube:latest
any idea?
[UPDATE] After 1 hour it start to work again