Skip to content

🐞 Bug: linkding - health check fails #257

@runeskretting

Description

@runeskretting

Bug Description

Linkding version: 1.45.0
There seems to be an issue with the Linkding health check, and the app-linkding container shows as "unhealthy".
I believe this is because 'pgrep' does not exist in the app-linkding container.

Workaround:
On line 67 of compose.yaml:
test: ["CMD", "pgrep", "-f", "${SERVICE}"] # Check if ${SERVICE} process is running
Should become:
test: ["CMD", "curl", "-sf", "http://127.0.0.1:9090/login/"]

Expected Behavior

I expected the container to show as healthy after docker compose up

Actual Behavior

The app-linkding container shows as unhealthy after docker compose up.

Screenshots

No response

Operating System

Linux

Tailscale Version

1.96.4

Docker Version

29.4.0

Relevant Logs or Error Messages

Docker Compose Configuration

Environment Configuration (.env file)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions