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

admin and password do not work #50

Open
avzamal opened this issue May 14, 2024 · 7 comments
Open

admin and password do not work #50

avzamal opened this issue May 14, 2024 · 7 comments

Comments

@avzamal
Copy link

avzamal commented May 14, 2024

Hello!

I have the same issue with admin login as in previous issue. When I set up the docker container and try to log into the localhost::8080 it says that that the user name and password admin and password are incorrect.

What are the correct credentials?

Thank you in advance!

@lukasmueller
Copy link
Member

lukasmueller commented May 14, 2024 via email

@avzamal
Copy link
Author

avzamal commented May 15, 2024

Dear Lukas, thank you for your suggestion!

I tried it, but it doesn't helped

I checked the structure of the table and sgn_people.sp_person do not have user 'admin'
Screenshot 2024-05-15 at 11 26 23

Is it possible to create admin user or give his rights to any other new user?

@lukasmueller
Copy link
Member

it loaded the test database instead of the empty database. I will check and see why

@lukasmueller
Copy link
Member

From which repository did you download the code?

@avzamal
Copy link
Author

avzamal commented May 16, 2024

I followed this repo and used "Using docker compose" part for installation as described. The only difference is the change in sgn_local.conf: instead of "dbuser web_usr" I wrote "dbuser postgres" and mounted this file to docker container in docker-compose volume section
"- type: bind
source: ./sgn_local.conf
target: /home/production/cxgn/sgn/sgn_local.conf "
It solved the issue with database connection as it raised an error without it

@lukasmueller
Copy link
Member

You loaded the test database. It is probably better to rename it to something like breedbase_old and install an empty database from an empty database dump.

@lukasmueller
Copy link
Member

That is, unless you would like to develop code, then the test database is the better option.

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