Oh thanks for the fast response.
Indead there was a permission problem with the backup folder.
i did a chown -R 999:999
on the sonar volumes at and atleast the container is booting again but sadly now sonar wants to migrate the database (whyever) as well. Like in the 8.2 image.
He failed with
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "rules_parameters_unique"
sonarqube_1 | Detail: Key (rule_id, name)=(456, minimumBranchCoverageRatio) already exists.
sonarqube_1 | at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2497)
sonarqube_1 | at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2233)
sonarqube_1 | at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:310)
sonarqube_1 | at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:446)
sonarqube_1 | at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:370)
sonarqube_1 | at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:149)
sonarqube_1 | at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:138)
sonarqube_1 | at org.apache.commons.dbcp2.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:94)
sonarqube_1 | at org.apache.commons.dbcp2.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:94)
sonarqube_1 | at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:47)
sonarqube_1 | at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:74)
sonarqube_1 | at org.apache.ibatis.executor.ReuseExecutor.doUpdate(ReuseExecutor.java:52)
sonarqube_1 | at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
sonarqube_1 | at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
sonarqube_1 | at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197)
sonarqube_1 | ... 29 common frames omitted
and
db_1 | 2020-03-10 13:55:22.295 UTC [128] ERROR: duplicate key value violates unique constraint "rules_parameters_unique"
db_1 | 2020-03-10 13:55:22.295 UTC [128] DETAIL: Key (rule_id, name)=(456, minimumBranchCoverageRatio) already exists.
db_1 | 2020-03-10 13:55:22.295 UTC [128] STATEMENT: insert into rules_parameters (
db_1 | rule_id,
db_1 | name,
db_1 | param_type,
db_1 | default_value,
db_1 | description
db_1 | )
db_1 | values (
db_1 | $1,
db_1 | $2,
db_1 | $3,
db_1 | $4,
db_1 | $5
db_1 | )
db_1 | RETURNING "id"
Any ideas here?
Thanks