Closed jachenms closed 3 months ago
Hi @jachenms , can you paste your backend logs here after you tried to login?
it work yesterday, but today is failed, I can not demo to my customer .
this is env , can u help to verify ?
@jachenms Looks like an issue with Postgres credentials. Did you modify POSTGRES_PASSWORD in your .env file? Does your POSTGRES_PASSWORD contain special characters?
I just follow your instruction: replace changthis with secret key.
change the env from example
thanks, how to solve ths case? I can not access tribe
@jachenms Just tried your env config on my machine and I don't experience the error. Can you reset everything by deleting the docker containers, volumes, images and redeploy again?
great, ler me try
nZVQ3KaLqN9IqpsVnygjih9uWYFaDCDcP8JYgz0rZ8Y
sorry it is same issue, can not access tribe
the log files
@jachenms Can you change your POSTGRES_PASSWORD
to be < 23 chars e.g. nZVQ3KaLqN9IqpsVnyg
and redeploy again.
after changed password, it is the same issue
@jachenms Thanks for the patience in helping to debug the issue. One last thing you can try:
.env
file..env.example
file and rename it as .env
docker compose -f docker-compose.yml -f docker-compose.local.yml up
It is the same issue
@jachenms From your screenshot, you are not using the original .env
file values. What I meant is to use the original values from the .env.example
file in your .env
file without changing anything.
@jachenms Thanks for the patience in helping to debug the issue. One last thing you can try:
- Delete your
.env
file.- Duplicate the
.env.example
file and rename it as.env
- Remove everything (containers, images, volumes) and run
docker compose -f docker-compose.yml -f docker-compose.local.yml up
yes, follow your suggestion , but it is the same issue
original ENV, not change anything.
@jachenms Can you try running echo %POSTGRES_PASSWORD%
in your terminal? It should tally with the value in your env file. Suspect that your terminal is retaining the old values.
not any password
@jachenms echo $POSTGRES_PASSWORD
should have a value. Can you restart a new terminal and check again. If not, assign it a value using export POSTGRES_PASSWORD=changethis
and redeploy. Hopefully that works.
follow your actions: set up password, but it is failed.
@jachenms Looks like I will need more time to investigate further. I will keep this issue open for now until a solution is found.
ok, I am waiting for the feedback, I also help to recommend your project in my custmers. it is real muli agent which mimic employee job in company, looking forward to streamlining all issue befoe production . thanks!
it is sill exit
is it have something with the issue ?
@jachenms It's caused by the same postgres authentication issue you are experiencing. Can you try three things:
POSTGRES_USER
in your .env file
# Stop all containers
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
docker volume rm $(docker volume ls -q)
docker rmi $(docker images -q)
docker compose -f docker-compose.yml -f docker-compose.local.yml up
it is not the same issue, can I try my tribe access with the env set up ?
do I repeat your commands when I access tribe?/ all data will be lost , any suggestion ?
success access, but previous data input is lost. what command to follow later ?
@jachenms Unfortunately, Tribe data is stored in the docker volume. So since we cleared the volume while we were debugging the data was lost :(
do I repeat your commands when I access tribe?/ all data will be lost , any suggestion ?
You don't have to repeat the steps every time. Just start and stop the containers as needed. As long as the Docker volume is not cleared, your data will be preserved.
OK, why my case issue happen >how to avoid the issue ?
another question, when I change env files, do i follow the two comands?
docker stop $(docker ps -aq)
docker compose -f docker-compose.yml -f docker-compose.local.yml up Docker compose -f docker-compose.yml -f docker-compose.local.yml up
OK, why my case issue happen >how to avoid the issue ?
Since the three steps work, its either you had postgres.exe running on your machine which was in conflict or could be that 'postgres' username has already been used so use another username instead.
another question, when I change env files, do i follow the two commands?
Most of the .env values are used in setup the services such as POSTGRES_USER
, POSTGRES_PASSWORD
, FIRST_SUPERUSER
, FIRST_SUPERUSER_PASSWORD
, SECRET_KEY
etc. So you shouldn't change them or else you have to redeploy everything again (meaning the volumes have to be cleared too).
Variables you may safely change without doing a complete redeployment would be:
BACKEND_CORS_ORIGINS
, USERS_OPEN_REGISTRATION
, MAX_UPLOAD_SIZE
, MAX_WORKERS
, OPENAI_API_KEY
, ANTHROPIC_API_KEY
, LANGCHAIN_TRACING_V2
, LANGCHAIN_API_KEY
,SERP_API_KEY
, SERPAPI_API_KEY
, SMTP_HOST
, SMTP_USER
, SMTP_PASSWORD
, EMAILS_FROM_EMAIL
, SMTP_TLS
, SMTP_SSL
, SMTP_PORT
, SENTRY_DSN
. For them, yes you can just stop and restart the containers using those commands.
Privileged issue
Issue Content
I can not access tribe , please help me to solve the problem is tribe error?