-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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]: "Bad Gateway" error on homepage when servers runs out of storage #1613
Comments
I had the almost same error, but only after 2 minutes from a fresh boot of my VPS (1vCore/1Gb RAM/ 10Gb storage). My VPS became very instable, barely able to even perform a simple After doing some research, I found #1482 which hinted me to the fact that my VPS didn't have any swap file in place. After creating a 1Gb swapfile, I restarted Coolify which instantly started using the swap (195M out of 1024M as I type this). My VPS seems to be much stable now. |
I ran into the bad gateway again when storage was full. I'm going to check back in a few days and see if the storage gets all filled up again without it doing anything. |
Right now it says |
Now the VPS is at |
So I think... I figured it out somewhat. Which is related to Docker flooding syslog with run-docker-runtime logs. Which ultimately links to systemd logs filled with mount unit entries if healtcheck is enabled. Long story short, I think it'll be addressed with runc 1.2. Which then needs to be released by containerd here. Until then, you can take your pick of temp fixes with filtering or limiting the log size mentioned in the above links such as: This leaves an question open for me: For now, I'll leave everything with the default configs and see if the disk fills up again on its own. |
There's a temporary solution available now: |
After trying to upgrade to the latest release I'm facing the same issue =( Having a hard time, here. |
I encountered this issue after restarting the server to increase the storage. Upon reviewing various aspects, I discovered that the problem was caused by an Apache2 service configured to start before the Coolify proxy. The solution is to either stop the Apache2 service or remove it entirely to prevent conflicts. |
Description
"Bad Gateway" error on homepage when servers runs out of storage
Minimal Reproduction (if possible, example repository)
I installed coolify on my very tiny VPS (only 5gb available) with debian.
I tried to setup one small instance of tailscale and something else.
I came back 2 days later and see a "Bad Gateway" error on home page.
When I ssh into the machine I run
journalctl -xe
and see:Journal file /var/log/journal/5ceb8f5c910b765bdb9da53f975ab6fb/system.journal is truncated, ignoring file. Jan 07 16:51:48 kvm-WorthwhileBrisk-VM rsyslogd[269]: action 'action-1-builtin:omfile' (module 'builtin:omfile') message lost, could not be processed. Check for additional error mess>
When I run
df -h
I see the storage is at 100% usage. I'm not sure what it was at before but I think there was some space available.Unfortunately, I already rebooted the VM so I can't start docker to clear things. Fortunately, important is on here so I'll just nuke it in a day or so and try again.
Anyway, this isn't your fault and I don't know if there is really a bug but maybe the experience can be improved.
Just flagging, let me know if you want me to help you reproduce this or send different logs.
Exception or Error
No response
Version
v4.0.0-beta.182
The text was updated successfully, but these errors were encountered: