This mege request should fix this issue:

https://gitorious.org/gitorious/mainline/merge_requests/2229

Em 21-04-2011 18:47, Olivier Refalo escreveu:
this I found the solution - I indeed have my roles table empty


Ah, I think we nailed it now, your database doesn't have any roles
defined. I just tried deleting all the roles from my own local install
and got the exact same problems that you had.

These roles should have been created when you ran rake db:migrate at
some point, but this situation should be quite easy to fix (especially
now that I have to do the same thing in my install, having deleted all
the roles :-) )
Fire up script/console and enter:

Role.create!(:name => "Member", :kind => Role::KIND_MEMBER)
Role.create!(:name => "Administrator", :kind => Role::KIND_ADMIN)

You should probably delete the teams and memberships already in your
database (if any) as these are probably in a weird state. Inside the
console, enter:

Group.destroy_all

This should let you create teams again.

Good luck!
- Marius


--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to