Fix healthcheck probe in production image #160

Closed
opened 2026-08-14 11:54:07 +00:00 by aaperis · 0 comments
aaperis commented 2026-08-14 11:54:07 +00:00 (Migrated from github.com)

Describe the bug

The healthcheck is not working for the production image, giving the log:

Error: Failed to find Server Action "x". This request might be from an older or newer deployment.
Read more: https://nextjs.org/docs/messages/failed-to-find-server-action
    at ignore-listed frames

It works for the development image.

Steps to reproduce

./compose-prod.sh up --build -d
docker ps

after e.g. 3 mins the STATUS column shows Up 3 minutes (unhealthy).

## Describe the bug The healthcheck is not working for the production image, giving the log: ``` Error: Failed to find Server Action "x". This request might be from an older or newer deployment. Read more: https://nextjs.org/docs/messages/failed-to-find-server-action at ignore-listed frames ``` It works for the development image. ## Steps to reproduce ``` ./compose-prod.sh up --build -d docker ps ``` after e.g. 3 mins the STATUS column shows `Up 3 minutes (unhealthy)`.
Sign in to join this conversation.
No description provided.