Skip to content

Docker installation failed at postgres_data and 502 afterwards #287

Answered by mgogoulos
rajanverma-me asked this question in Q&A

You must be logged in to vote

Hi @Rajan4436 , thanks for raising this, I see the inconsistency issue with the docker-compose files too, but not sure whether postgres_data is better to be inside or outside the code directory...

For the 502 error, this seems to be producing it

invalid request block size: 8714 (max 4096)...skip

and according to https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html you have to increase the buffer-size

Edit deploy/docker/uwsgi.ini ,append

buffer-size = 65535

and restart the web container

docker-compose restart web

as a quick fix, this value might be tunned and perhaps replace the default one on the project too. Give it a try and let us know if it works

Replies: 8 comments 1 reply

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@rajanverma-me

Answer selected by rajanverma-me

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #286 on August 27, 2021 09:03.