Unable to Sign In
I'm new to the codebase of twenty
I've tried setting it up according to
the contributor guidebut It's having an error when Signing up Any thing I'm missing out??
11 Replies
@Vijay I'm unsure what your error actually is. I think the one you are seeing in the logs is actually unrelated
Could you check if your database is properly initiatialized, you should have:
- core schema: check that you have a user, userWorkspace and workspace tables having.a [email protected] user linked to the Dev workspace
- metadata schema: check it is not empty
- workspaceSchema: you should see another schema named workspace_xxx: check that you have a workspaceMember table there
Let me know if your db has all of this. If not, I can help troubleshoot why you don't have it. If yes, I will need you to send me your database dump so I can troubleshoot it
@charles It's showing that metadata is empty and user is undefined in the terminal
but I have a question:
- I've initialised postgress using docker, how can I check the database contents?
@charles ?
@Vijay sorry for the delay here. do you still need assistance?
Yess 😦 @thomast
you did the database setup using the
make postgres-on-docker
command?Twenty - Local Setup
Mostly for contributors or curious developers
Yes I've done postgres using docker
This is the error currently..
Looks like your database wasn't initialized properly, could you run
npx nx database:reset twenty-server
and send errors if there will be any?
Just be aware that now Twenty needs Redis as cache so you may need to add Redis containeryep looks like your db is empty. If the reset @bob suggest, please provide all the steps you followed with the command you ran at each step