htdvisser / taiga-docker

[NOT MAINTAINED] Taiga project management platform for Docker
MIT License
83 stars 67 forks source link

502 (Bad Gateway) on api/v1/auth/register #4

Closed bastien-g closed 9 years ago

bastien-g commented 9 years ago

Hi,

First, thank's for your work. I installed taiga using your docker-compose and I am unable to create a new user. I get 502 (Bad Gateway) on api/v1/auth/register. I found this issue that may be related taigaio/taiga-back/#244. So I looked at my /usr/local/taiga/taiga-back/settings/local.py as mentioned in the taiga documentation and found there is nothing in it about email configuration whereas I set all EMAIL_ environments variables in docker-compose.yml Is it an error or did I miss something ?

htdvisser commented 9 years ago

Hi @bastien-g,

All these settings are configured when your container starts (see the configure script). In my experience, this error usually means that either the server hasn't started yet, or you that forgot to initialize the database.

bastien-g commented 9 years ago

Hi @htdvisser, Thanks for your answer. I am sure the server is started and database initialized cause I am able to log in with the admin account.

Ok for the email configuration I found that my dockerenv.py file is correctly initialized with docker env vars.

I re-run the installation from scratch with docker-compose and noticed I get Installed 0 object(s) from 0 fixture(s) when trying to initialize the database with python manage.py loaddata initial_role.

Is it normal ?

htdvisser commented 9 years ago

I get the same message, so I guess it is normal. Maybe check the server logs in (/usr/local/taiga/logs) to see what's going wrong when you get the 502.

bastien-g commented 9 years ago

There is nothing in /usr/local/taiga/logs about that 502 error, only css errors and Raven is not configured (logging is disabled)

I will try to install with your new build. btw the docker-compose.yml on DockerHub is not correctly formatted since the update

htdvisser commented 9 years ago

Fixed the yml on DockerHub, thanks.