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

Create admin account #16

Open
verschup76 opened this issue Jul 2, 2020 · 2 comments
Open

Create admin account #16

verschup76 opened this issue Jul 2, 2020 · 2 comments

Comments

@verschup76
Copy link

verschup76 commented Jul 2, 2020

Hi,

I love this project and I got it all working, except for the create admin user part.

I ran the command to create a new user (npm run create-user) and I get the response that my user is created.

When I go to my admin login page, it says my login has failed.

I have created a db call checkpoints, do I need to set something else up?

Is there something that I am missing?

Thanks,

Pim

@verschup76
Copy link
Author

Hi again,

I tried to install it on https://covidtracerrandc.herokuapp.com/ and again, it works, but I can't login as I can't access the admin page.

image

I am totally lost.

Kr,

Pim

@tyleryasaka
Copy link
Owner

Hi Pim,

Sorry that you're having a hard time with the admin user. One thing to try is adding retryWrites=false to the end of the mongodb url as a query parameter. So, if there is already something in the url like ?somekey=somevalue, then you would add &retryWrites=false. If there are currently no query parameters in the url, you would add ?retryWrites=false.

Please feel free to email me at [email protected] and I can troubleshoot further with you.

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