I deployed a NextJs application by connecting github on the web app (I couldn’t install the cli on my ubuntu machine). After deployment, my application doesn’t seem to be starting, What could be the problem with my deployment
yeah, same here.
Have you been able to get a fix for this
I can’t even open the fly.io. All apps are down. What is happening? At the same time the status.fly.io shows that everything is perfect.
It seems like the service is very unstable recently.
Yeah same experience here, I’m running a small app, can’t imagine hosting anything that actually brings big money on Fly.io, down so often…
It is alive now. I would be happy to hear some explanation from the team tbh…
Do you see anything in the live logs?
no, the live logs are empty
I fixed it. I think fly.io requires you to change the default port in your NextJs app, in my case i had to change the dev and start scripts to run on port 8080. All you have to do is edit your dev and start script in package.json to look like this:
“scripts”: {
“dev”: “next dev -p 8080”,
“build”: “next build”,
“start”: “next start -p 8080”,
“lint”: “next lint”
},
8080 is what you configured in your toml and docker file