Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
O

Obi79

@Obi79
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PostgreSQL Service Stuck in a Restart Loop - Health Check Failing
    O Obi79

    Hello,

    My server recently experienced a severe CPU overload. I have resolved the overload, but my PostgreSQL service is now stuck in a constant restart loop, which prevents apps like n8n from starting.

    I have done troubleshooting and have confirmed the following:

    • docker ps | grep postgres shows the container is permanently in a Restarting state.
    • A full server reboot, even with all other apps stopped, did not resolve the issue.
    • The docker logs postgresql command does not show any fatal crash errors. Instead, it shows a repeating loop where the database successfully performs automatic recovery, reports database system is ready to accept connections, and then is terminated a few seconds later.
    • This suggests the PostgreSQL service is running correctly, but is failing Cloudron's internal health check and being killed.
    • Because the database is never online for more than a few seconds, apps that depend on it (like n8n) cannot start and fail with a DNS lookup error (getaddrinfo EAI_AGAIN postgresql).

    The core server health is now good (htop is low, disk space is fine), but this PostgreSQL loop is preventing me from using my apps.

    Could you please advise on how to diagnose the failing health check or how to force the PostgreSQL service into a stable state?

    Support postgresql addons

  • PostgreSQL Service Stuck in a Restart Loop - Health Check Failing
    O Obi79

    @james said in PostgreSQL Service Stuck in a Restart Loop - Health Check Failing:

    Since the last 3 lines state:

    Oct 13 12:20:45 2025-10-13 10:20:45.712 UTC [15] LOG: database system is ready to accept connections
    Oct 13 12:20:45 done
    Oct 13 12:20:45 server started
    

    And it still restarts after that? Just to make sure, maybe increase the memory limit even more.

    Yes, it starts again over and over. Increasing memory to 4GB did not change anything.

    Support postgresql addons
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search