Self-hosted Coolify - Next/Image 404 breaks page
Unanswered
Giant panda posted this in #help-forum
Giant pandaOP
Hi there,
Running into an issuse where after redeploying I get the following error in logs:
⨯ SyntaxError: Unexpected token 'o', "no available server
2025-03-17T11:13:22.432893137Z " is not valid JSON
2025-03-17T11:13:22.432905826Z at JSON.parse (<anonymous>)
2025-03-17T11:13:22.432918155Z at async o (.next/server/chunks/7319.js:19:87320)
2025-03-17T11:13:22.432929172Z at async f (.next/server/chunks/7319.js:19:89509) {
2025-03-17T11:13:22.432940819Z digest: '2487511640'
2025-03-17T11:13:22.432951826Z }
I suspect the image component is throwing since I wiped my s3 bucket for testing.
Any idea how to resolve this issue?
And what configs should I provide here to figure this out?
Deployed using nixpacks!
Anyone has an idea as to why or how to fix this?
Running into an issuse where after redeploying I get the following error in logs:
⨯ SyntaxError: Unexpected token 'o', "no available server
2025-03-17T11:13:22.432893137Z " is not valid JSON
2025-03-17T11:13:22.432905826Z at JSON.parse (<anonymous>)
2025-03-17T11:13:22.432918155Z at async o (.next/server/chunks/7319.js:19:87320)
2025-03-17T11:13:22.432929172Z at async f (.next/server/chunks/7319.js:19:89509) {
2025-03-17T11:13:22.432940819Z digest: '2487511640'
2025-03-17T11:13:22.432951826Z }
I suspect the image component is throwing since I wiped my s3 bucket for testing.
Any idea how to resolve this issue?
And what configs should I provide here to figure this out?
Deployed using nixpacks!
Anyone has an idea as to why or how to fix this?
1 Reply
try deleting the .next folder @Giant panda