nball
Payload CMS app 500 error
URL: https://edit.gravybo.at/
ID: 9c654a5e-96b8-42bd-a2a0-d82a9e0b8d11
App builds/runs locally, however returns 500 error in production, failing health check. Logs attached. Observability tab claims the app is running:
4 replies
Easy (?) shared variables question
The environment contains the excellent Payload CMS template, attendant Mongo DB, and a Next.js front end. This works well when the env are set manually for each service, however the shared variables don't. What am I missing?
This works when set on each service, eg. not shared
The shared variables do not work
When shared on both front and back end services, the variables look like this
Project ID 520ae57c-db3e-4e21-ace6-db67bca65e2a
75 replies
Nextjs build fail - runc run failed: unable to start container process
Deployment ID dd25dd4a-51bd-489e-94a0-387b5ef51852 and github repo using Nixpacks with nixpacks.toml courtesy of @Brody on an earlier iteration. Note, build randomly worked once out of dozens of attempts today. Error logs attached. Two key errors appear to be:
As well as
I am way out of my depth on this one.
43 replies
Simple next.js build fail
deployment ID 6b59c99d-f9d1-42bb-9733-67e02909cdc5
Repo: https://github.com/ballermatic/nextjs-shadcn
Error:
I'm stumped. This is using nixpacks, builds fine locally. Any ideas?
46 replies
Payload CMS + Nextjs Deployment Failed during build process
Using the template courtesy of @Brody with Next.js added as seen here, the UI states deployment fails during build process, however it appears that the build completes, but the push times out. Here's the repo and deployment ID is e2d1ce03-417c-4c0e-aa79-d31db48d0ac7
25 replies
dotenv not working? How are you accessing your ENV?
Service variables are correct in Railway, yet build fails due to missing variables. Local builds work fine with dotenv, however
require('dotenv').config();
does not appear to be working on Railway. I must be missing something obvious! Any ideas? PID: 06cbb529-6fb3-4792-84b5-af7b23eb272f5 replies