You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran a fresh bbb-3.0 alpha.7 install using the bbb-install script and installed Greenlight with it. I'm trying to setup an admin user for greenlight. So I tried to run: $ docker exec <greenlight:v3-container-id> exec bundle rake user:create["name","email","password", "user"]. I got this error: Unable to create user: 'arun' Role 'user' does not exist, maybe you have not run the DB migrations?
So I ran db:migrate and it ran without reporting any errors. But that didn't fix the issue.
Then I found this issue #1743 and I tried what it said:
And I got back this output: => [["Administrator", "greenlight"], ["User", "greenlight"], ["Guest", "greenlight"], ["SuperAdmin", "bn"]]
Ok I finally figured out the issue, but I'm leaving it here in case anyone else faces the same problem, because documents linked in these issues like the one to gl-admin on bbb docs no longer exist.
So I had to use the bundle exec rake user:create and use the role 'Administrator' instead of 'admin' and also I tried 'SuperAdmin' and that didn't work either.
Also I tried #1753 and what it said about Role.create_default_roles("greenlight") and that gave an error about create_default_roles method not existing. So I guess this has changed in greenlight v3.
The text was updated successfully, but these errors were encountered:
I just ran a fresh bbb-3.0 alpha.7 install using the bbb-install script and installed Greenlight with it. I'm trying to setup an admin user for greenlight. So I tried to run:
$ docker exec <greenlight:v3-container-id> exec bundle rake user:create["name","email","password", "user"]
. I got this error:Unable to create user: 'arun' Role 'user' does not exist, maybe you have not run the DB migrations?
So I ran
db:migrate
and it ran without reporting any errors. But that didn't fix the issue.Then I found this issue #1743 and I tried what it said:
And I got back this output:
=> [["Administrator", "greenlight"], ["User", "greenlight"], ["Guest", "greenlight"], ["SuperAdmin", "bn"]]
Ok I finally figured out the issue, but I'm leaving it here in case anyone else faces the same problem, because documents linked in these issues like the one to gl-admin on bbb docs no longer exist.
So I had to use the bundle exec rake user:create and use the role 'Administrator' instead of 'admin' and also I tried 'SuperAdmin' and that didn't work either.
Also I tried #1753 and what it said about Role.create_default_roles("greenlight") and that gave an error about create_default_roles method not existing. So I guess this has changed in greenlight v3.
The text was updated successfully, but these errors were encountered: