-
Notifications
You must be signed in to change notification settings - Fork 8
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
Comments
The best way is to change the default password.
Log into the docker and then access the database using psql.
psql -h breedbase_db -U postgres breedbase
then:
begin;
set search_path=sgn;
update sgn_people.sp_person set password=crypt('your password here', gen_salt('bf')) where username = 'admin';
commit;
It is also recommended to change the default name of the database, breedbase, to something else.
cheers
Lukas
…________________________________
From: Aleksei Zamalutdinov ***@***.***>
Sent: Tuesday, May 14, 2024 7:48 AM
To: solgenomics/breedbase_dockerfile ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [solgenomics/breedbase_dockerfile] admin and password do not work (Issue #50)
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!
—
Reply to this email directly, view it on GitHub<#50>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAAV7F63KZEBWCXUEVTUOPLZCH22HAVCNFSM6AAAAABHWAMAL2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4TKMRRGM4DINY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
it loaded the test database instead of the empty database. I will check and see why |
From which repository did you download the code? |
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 |
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. |
That is, unless you would like to develop code, then the test database is the better option. |
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!
The text was updated successfully, but these errors were encountered: