greenlight icon indicating copy to clipboard operation
greenlight copied to clipboard

Problem with admin acoount after disable button Sign Up

Open mymailcollector opened this issue 6 months ago • 3 comments

Hello!

I have some issues after my colleague disabled the Sign Up button on the admin panel. Now the button on the frontpage does not enable

Image

And the second problem: after that, I can't log in to the admin panel with the administrator's accounts. Any standard users can, admins not.

I found this one

To enable the registration button again in Greenlight via environment variables from the command line, you need to ensure that the environment variable controlling account creation is set to allow registrations, then restart Greenlight.

Edit the .env file or set the environment variable The key variable related to enabling/disabling registration is often named like: ALLOW_GREENLIGHT_ACCOUNTS=true

Image

sudo docker-compose down sudo docker-compose up -d

but nothing

So how can I relogin with admin accounts and how to reappear my sign up button for new users?

@farhatahmad

mymailcollector avatar Jun 23 '25 13:06 mymailcollector

Can i know how you have disabled the signup button - is it hard coded (by simply commenting out the signup button code) or you have done that programmatically based on some env variable. If you can share that part of code to me.

For second issue, can you confirm that with the same credential were you able to login prior to this incident. Do check you users db if that account still exist. If yes then Send me terminal log, so that i can know what exactly is the issue.

rautniraj avatar Jun 24 '25 06:06 rautniraj

Can i know how you have disabled the signup button - is it hard coded (by simply commenting out the signup button code) or you have done that programmatically based on some env variable. If you can share that part of code to me.

My colleague change registration mode to Join by Invitation like in this manual https://www.bigbluemeeting.com/docs/greenlight-administrator-guide

Image

After then button Sign Up dissapeared

For second issue, can you confirm that with the same credential were you able to login prior to this incident. Do check you users db if that account still exist. If yes then Send me terminal log, so that i can know what exactly is the issue.

mymailcollector avatar Jun 24 '25 12:06 mymailcollector

You can change the registration method and your sign up button will again come back.

Sorry i got confused by sign in button.

Tell me your requirement, what behavior you want then i can suggest proper changes

rautniraj avatar Jun 25 '25 11:06 rautniraj

today my problem was solved after update && upgrade for Ubuntu and BBB components

after that I can login with my new admin login/password I added with this command

docker exec -it greenlight-v3 bundle exec rake admin:create['NewAdminLogin','[email protected]','MyNewPassword']

I can login and cnahge register mode to Open registration

mymailcollector avatar Jun 30 '25 06:06 mymailcollector