Issue 1305: The "All-Projects" project is not created during installation.
Status:  New
Owner: ----
Reported by _deepf...@feelingofgreen.ru, Mar 26, 2012
Affected Version: 2.3-rc0

1. proceed with the prescribed installation sequence, with following notable options:
   - postgres DB
   - http auth
   - reverse proxy
Not sure if the specific choice is the problem here.  Inclined to think otherwise, indeed.

2. Setup the first account via the web interface
3. Click Admin -> Projects

I would expect to see the project list, with
the single "All-Projects" project.  I would also expect to see "All-Projects.git" in the gerrit's git directory.

I get an "Missing project All-Projects" error instead.  There is no "All-Projects.git" in the gerrit's git directory.

The very same installation sequence works just fine in 2.2.2/2.2.2.1.

I have specifically tested for both the default and customised git directory location, and it does not seem to make a difference.
Apr 3, 2012
#1 mateusz....@javart.eu
Hi,

any hints here? I've reproduced this error with v.2.2.2.1. 

- postgresql
- http auth

Default 'git' folder for git repositories is empty. When going to Admin -> Projects/Groups:

[2012-04-03 15:29:56,926] WARN  /gerrit : Error in visibleGroups
java.lang.IllegalStateException: Missing project All-Projects

Apr 3, 2012
#2 mateusz....@javart.eu
Some additional hints: after my investigations, this problem occurs when you try to use postgresql DB. With H2, 'App-Projects.git' project is created successfully.
Apr 16, 2012
#3 _deepf...@feelingofgreen.ru
This problem remains in version 2.3.
Apr 16, 2012
#4 _deepf...@feelingofgreen.ru
I can confirm mateusz's results -- indeed, using H2 as the database (instead of postgresql) results in the successful install-time creation of the 'All-Projects' project repository.
Apr 19, 2012
#5 bibby0...@gmail.com
I also have this issue 
this is my config

gerrit version: 2.3
database: mysql
auth: ldap
Apr 20, 2012
Project Member #6 bklarson@gmail.com
I've just tested this with tips code and 2.3.  I've tried postgres and mysql.  I can't reproduce this problem.

Are you sure you have set up the database as specified in the docs (http://gerrit-documentation.googlecode.com/svn/Documentation/2.3/install.html#createdb_postgres)?
Aug 10, 2012
#7 kurle...@gmail.com
I also had this issue on gerrit 2.4.2: All-Projects project was not created during gerrit init with mysql. 

In my case it wasn't very first, fresh installation of gerrit, so the database was already created (i just wanted to override git projects destination folder).

After dropping gerrit database (reviewdb) and recreating it, the init process went smoothly, All-Projects.git project was created in the desired destination folder.

Dec 8, 2014
#8 de...@webtuner.tv
gerrit version: 2.9-rc2
database: MySQL
auth: OpenID

The bug is triggered if you rm -rf ./review_site but don't drop the database, and then try to reinstall.  The installer should check if the DB is already there, and if it is, do whatever cleanup is necessary to make the install work.

Sep 27, 2015
#9 danny.va...@gmail.com
This is still an issue with 2.11.3

After a fresh install with: proxy, http and postgres.