dorianim / mrbs-docker

Docker image for the meeting-room-booking-system including my modern-mrbs-theme
https://hub.docker.com/r/dorianim/mrbs
GNU Affero General Public License v3.0
19 stars 6 forks source link

504 gateway #5

Closed sidgaabriel closed 11 months ago

sidgaabriel commented 12 months ago

I'm having some issues when I'm trying to create or delete some itens in sequence, nginx cannot handle and give me an 504 gateway Time-out, I tried to increase php and nginx timeout execution but didn't worked for me. Usually happens when I'm using smtp to send an email after nginx become unresponsive and give me the gateway error.

20-10-2023-14-05-57

dorianim commented 12 months ago

This usually happens when the php execution fails with an error. Can you post the contents of the php logfile?

sidgaabriel commented 12 months ago

php log from /mrbs/log/php presents no issues, there's other log file for me to check it?

dorianim commented 11 months ago

The right logfile is mrbs/log/nginx/error.log

sidgaabriel commented 11 months ago

Here's the correct log file, I forced the behavior and you can check the last lines error.log

dorianim commented 11 months ago

Hmm, looks like the edit_entry.php takes too long to finish. I don't think this is related to the docker container. But please also post your config so I can double check.

sidgaabriel commented 11 months ago

Here's my docker-compose.yml docker-compose.yml.zip

dorianim commented 11 months ago

I meant the config.php, sorry.

sidgaabriel commented 11 months ago

No problem, here's the file. config.inc.php.zip There's some field translations to adapt the tool to my company and my language (Brazilian Portuguese)

dorianim commented 11 months ago

I guess, the error is caused by your email configuration. Maybe the server is not responding or taking too long to respond. However, I don't think, this is related to the docker container.

Please open an issue in the MRBS project.