Skip to content
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

[bug]: plane-proxy removes client_max_body_size on startup from nginx.conf #6115

Open
1 task done
mario-fox opened this issue Nov 28, 2024 · 1 comment
Open
1 task done
Assignees
Labels
🐛bug Something isn't working

Comments

@mario-fox
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I have the problem that every time i start the containers the proxy sets "client_max_body_size" to the following:
client_max_body_size ;
wich then causes the following error
nginx: [emerg] invalid number of arguments in "client_max_body_size" directive in /etc/nginx/nginx.conf:12

Plane is running on a synology rs1219+ inside docker

Steps to reproduce

  1. Create the installation with docker-compose
  2. Start the project/stack
  3. proxy will crash
  4. Open proxy logs
  5. There is the error

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

latest (0.23.1)

@mario-fox mario-fox added the 🐛bug Something isn't working label Nov 28, 2024
@mario-fox mario-fox changed the title [bug]: plane-proxy remove client_max_body_size on startup [bug]: plane-proxy removes client_max_body_size on startup from nginx.conf Nov 28, 2024
@pushya22 pushya22 assigned akshat5302 and unassigned vihar and pushya22 Dec 11, 2024
@akshat5302
Copy link
Collaborator

akshat5302 commented Dec 12, 2024

Hey @mario-fox,
Could you please check the value of the FILE_SIZE_LIMIT environment variable in the proxy container?

The issue might be caused by the docker-entrypoint.sh script. This script is responsible for performing envsubs inside the nginx.conf file. Verifying the value of FILE_SIZE_LIMIT and restarting the proxy container could help resolve the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants