Hi,
My fellow administrators updated gerrit not too long ago and we're on 2.6.1. After the upgrade, I try to run gsql and I see:
fatal: ingenthr does not have "Access Database" capability.
I noticed the other method listed in the docs, so I assumed the user that gerrit runs and to run it directly via the war, which is what the
documentation seems to say in that case.
Trying that, I get:
$ java -jar bin/gerrit.war gsql
fatal: DbInjector failed
fatal: Unable to determine SqlDialect
fatal: caused by org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-168]
The discussion archives pointed me to the first format. So... I'm stuck. What's the right way to use gsql in 2.6.1? Any thoughts on why my Administrator privs aren't kicking in? I've done plenty of other admin recently.
Thanks in advance,
Matt