Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

null value in column "org_role_id" of relation "orgs_users" violates not-null constraint on initial setup #24

Closed
ChrisOboe opened this issue Apr 4, 2024 · 2 comments

Comments

@ChrisOboe
Copy link

Here is my terminal output

plandex ls
? 👋 Hey there!
It looks like this is your first time using Plandex on this computer.
What would you like to do? Sign in, accept an invite, or create an account
? Use Plandex Cloud or another host? Plandex Cloud
✔ Your email: … CENSORED
✉️  You'll now receive a 6 character pin by email. It will be valid for 5 minutes.
✔ Please enter your pin: … ******
✔ Your name: … CENSORED
🧐 You don't have access to any orgs yet.

To join an existing org, ask an admin to either invite you directly or give your whole email domain access.

Otherwise, you can go ahead and create a new org.
Create a new org now? (y)es | (n)o> y
✔ Org name: … CENSORED
With domain auto-join, you can allow any user with an email ending in @oboe.email to auto-join this org.
Enable auto-join for CENSORED? (y)es | (n)o> y
🚨 Error resolving auth
  → Error selecting or signing in to account
    → Error signing in to new account
      → Error resolving org
        → Error prompting no orgs
          → Error creating org
            → Error adding org domain users
              → Error adding org users
                → Pq: null value in column "org_role_id" of relation "orgs_users" violates not-null constraint

i used real and valid data instead of CENSORED. I just don't want to have them public here.

@ChrisOboe
Copy link
Author

when i don't enable auto join it seems to work.

@danenania
Copy link
Contributor

Thanks @ChrisOboe, will get this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants