Skip to content

Postgresql service not shutting down (process-compose hangs) #2354

Closed
@carlotm

Description

@carlotm

What happened?

What's happening

The postgresql service does not shut down correctly.
The process-compose TUI hangs forever when trying to quit.
The postgresql os processes are kept running if you kill the process-compose terminal.

What to expect

If you press F10 the postgresql service should shut down correctly.

Steps to reproduce

  1. Create a new devbox shell env
  2. Install glibcLocales if needed, and postgresql
  3. Run devbox services up
  4. Wait for postgresql to be ready
  5. Try to stop the server with F10 which also quits the TUI

Command

services

devbox.json

{
  "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.4/.schema/devbox.schema.json",
  "packages": {
    "glibcLocales": {
      "version":   "latest",
      "platforms": ["x86_64-linux", "aarch64-linux"]
    },
    "postgresql": "latest"
  },
  "shell": {
    "init_hook": [
      "echo 'Welcome to devbox!' > /dev/null"
    ],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

Devbox version

0.13.4

Nix version

No response

What system does this bug occur on?

Linux (x86-64)

Debug logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions