Open changchichung opened 2 years ago
Hadn't look at this for a while, but I believe you should update TAIGA_PORT in variables.env also if you change the exposed port, so that frontend knows where API is at.
Also got this problem:
taiga-docker:
taiga-docker-taiga-gateway-1 | 172.27.0.1 - - [19/Sep/2022:13:08:53 +0000] "POST /api/v1/auth HTTP/1.1" 401 95 "http://localhost:9000/login" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.115 Safari/537.36" "-"
No other docker-log shows 401 or anything in log.
Any Update?
This isn't reproducible as is. If you provide your docker-compose file and variables.env
I can take a look.
Just login to the taiga backend docker and execute the following instruction:
python manage.py createsuperuser
Then log in taking into account the data you entered with the previous command.
I had this issue happen as well.
If you are doing this in Windows with WSL2, the disk io is kind of slow. I had to start the database first without any of the other containers with docker compose --env-file variables.env up db
, wait for the database to initialize completely, and then start the whole stack waiting for the taiga-back container to finish initialing (I waited until the celery service started on the taiga-back container). This last step takes a while, so be patient.
After this I could login with the default credentials.
I had the same problem.
I decided to define the variable TAIGA_HOST=localhost
. The frontend was calling the api as taiga.lan
(default value), this causes login failure.
In my case, using ubuntu
+ docker
, running with docker-compose --env-file variables.env up
solved
Hello, i had the same problem,
What I do ?
TAIGA_HOST=taiga.lan #change to my sub domain that installed taiga TAIGA_SCHEME=http TAIGA_PORT=8081 TAIGA_BACK_HOST=back TAIGA_FRONT_HOST=front EVENTS_HOST=events TAIGA_SECRET=secret
i change docker-compose.yml in this part below
proxy: image: dockertaiga/proxy container_name: taiga-proxy restart: unless-stopped depends_on:
i change the ports
please help how to solve it?
@joimaradoni See again, according to your information, you changed the values of TAIGA_HOST with TAIGA_PORT. It is the variable TAIGA_HOST that must be equal to localhost, not TAIGA_PORT
@joimaradoni See again, according to your information, you changed the values of TAIGA_HOST with TAIGA_PORT. It is the variable TAIGA_HOST that must be equal to localhost, not TAIGA_PORT
Yes now resolved my issue, i changed the variable.env become
TAIGA_HOST=taiga.p****.com #my sub domain that installed taiga TAIGA_SCHEME=http TAIGA_PORT=8081 TAIGA_BACK_HOST=back TAIGA_FRONT_HOST=front EVENTS_HOST=events TAIGA_SECRET=secret
What I do ?
I can see the index page and I try to login with default account and password which is ( admin/123123 ) I believe.
there are no error messages in docker-compose logs
the login page shows that account/password incorrent
any suggestions to fix the problem ? or is there any command to create user/update password in cointainer ?