#Error Deploying Payload on Coolify

5 messages · Page 1 of 1 (latest)

radiant pewter
#

Hey, I'm following this guide https://www.youtube.com/watch?v=Mvg624g_5zY to deploy Payload on Coolify but getting the error below. I wonder what I'm doing wrong?

I made the Github app from https://github.com/payloadcms/payload. In Coolify I have both a PAYLOAD_SECRET and a DATABASE_URI environment variable

I've tried databases at both MongoDB Atlas and a self hosted database

Thanks in advance for any help

[2024-Jul-25 09:51:24.108029] New container started.
[2024-Jul-25 09:51:24.127549] Waiting for healthcheck to pass on the new container.
[2024-Jul-25 09:51:24.139779] Healthcheck URL (inside the container): GET: http://localhost:3000/admin
[2024-Jul-25 09:51:24.156389] Waiting for the start period (5 seconds) before starting healthcheck.
[2024-Jul-25 09:51:29.413118]

[COMMAND] docker inspect --format='{{json .State.Health.Status}}' j80ckk0-094434192405
[OUTPUT]
"unhealthy"

[2024-Jul-25 09:51:29.550227]

[COMMAND] docker inspect --format='{{json .State.Health.Log}}' j80ckk0-094434192405
[OUTPUT]
[]

[2024-Jul-25 09:51:29.560861] Attempt 1 of 10 | Healthcheck status: "unhealthy"
[2024-Jul-25 09:51:29.571786] ----------------------------------------
[2024-Jul-25 09:51:29.579229] Container logs:
[2024-Jul-25 09:51:29.700824] /bin/bash: -c: option requires an argument
/bin/bash: -c: option requires an argument
/bin/bash: -c: option requires an argument
/bin/bash: -c: option requires an argument
/bin/bash: -c: option requires an argument
/bin/bash: -c: option requires an argument

[2024-Jul-25 09:51:29.712096] ----------------------------------------
[2024-Jul-25 09:51:29.723222] Removing old containers.
[2024-Jul-25 09:51:29.732262] New container is not healthy, rolling back to the old container.
[2024-Jul-25 09:51:29.881490] Rolling update completed.

ruby anchorBOT
radiant pewter
#

Adding some screenshot in case they help

viral prism
#

Share the full screenshot of the general tab

radiant pewter
#

Thanks in advance