Reputation: 21
We're setting a new gerrit server on UBUBTU machine. The gerrit version is 3.0.1. We're a small team and the server is configured without authentication (authentication type DEVELOPMENT_BECOME_ANY_ACCOUNT). When looking at the UI, there is no "Project" tab. I added a new project using the command line ssh -p 29418 gerrit create-project . Looking at the server directories, I can see the project directory under the git/ directory, but the "Project" tab is till missing.
The gerrit config file looks like:
[gerrit]
basePath = git
canonicalWebUrl = http://<IP>:8080/
serverId = <>
[database]
type = POSTGRESQL
database = reviewdb
hostname = localhost
username = postgres
[container]
javaOptions = "-Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBa ckendFactory#getInstance"
javaOptions = "-Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance"`enter code here`
user = root
javaHome = /usr/lib/jvm/java-8-openjdk-amd64/jre
[index]
type = LUCENE
[auth]
type = DEVELOPMENT_BECOME_ANY_ACCOUNT
[receive]
enableSignedPush = true
[sendemail]
smtpServer = localhost
[sshd]
listenAddress = *:29418
[httpd]
listenUrl = http://<IP>:8080/
[cache]
directory = cache
The UI image looks like WebUI
Any ideas? Thanks in advance.
Upvotes: 2
Views: 1240
Reputation: 22411
There's no "Projects" tab in Gerrit 3.0.1, what you're looking for is the "Browse > Repositories" menu, the project created with "ssh -p 29418 gerrit create-project" command must be showed there.
See more info at the Gerrit documentation, pay special attention to the Project Owner Guide item.
Before version 2.16, "Repositories" was called "Projects" and it was renamed with change 142193 / Issue 7754. I believe you may have been looking at older documentation when you were looking for "Projects"?
Upvotes: 3