fatal: xxxxx does not have "Create Project" capability

836 views
Skip to first unread message

Mogimo

unread,
Feb 21, 2012, 1:15:48 AM2/21/12
to Repo and Gerrit Discussion
Hello,

For the first time, I have installed gerrit on my ubuntu 11.10 and set
up it.
Then I tried to create a project by "ssh -p 29418 xxxxx@<my_ubuntu>
gerrit create-project --name xxxxx",
the above error occurs.

I configured to use OpenID/Postgresql in gerrit 2.2.2. My first
account is already registered as Account ID = 1000000 and has name
"xxxxx" as usename in the gerrit setting. Also the databese entry of
Administrator group has my account_id as below;

reviewdb=> select * from account_group_members;
account_id | group_id
------------+----------
1000000 | 1

Please give me any suggestions.

Thanks.

Mohamed Mansour

unread,
Mar 29, 2012, 2:45:26 AM3/29/12
to Mogimo, Repo and Gerrit Discussion
Hi Mogimogio, have you figured it out? I updated from 2.2.1 to 2.3.rc0, and I am getting this fatal message as well. I am an admin too. 

I will check the code tomorrow to see what the check is which is causing this.


Kind regards,
Mohamed Mansour



Mogimo

unread,
Mar 29, 2012, 9:40:26 AM3/29/12
to repo-d...@googlegroups.com, Mogimo
Hi Mohamed,

I found a workaround. I had done trial and error, so there might be corrupted.
I just removed 'All-projects' directory in my environment and did "gerrit init" again.
Try it if you like.

Thanks,
Mogimo

2012年3月29日木曜日15時45分26秒 UTC+9 Mohamed Mansour:

Kind regards,
Mohamed Mansour



Mohamed Mansour

unread,
Mar 29, 2012, 5:25:26 PM3/29/12
to Mogimo, repo-d...@googlegroups.com
Most likely I did something wrong with the database. Can't wait till the day comes when Gerrit will not be db dependent!

Kind regards,
Mohamed Mansour



--
To unsubscribe, email repo-discuss...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages