Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextjs-end rollout failed #302

Open
v0lsh3bnik opened this issue Jul 29, 2024 · 6 comments
Open

nextjs-end rollout failed #302

v0lsh3bnik opened this issue Jul 29, 2024 · 6 comments

Comments

@v0lsh3bnik
Copy link

I am using the nextjs-end repo for firebase app hosting, the build is working fine but i get an error on the rollout. I looked through the logs but nothing. Can someone help me please ?

@WCressman
Copy link

WCressman commented Aug 1, 2024

I currently have the same issue, I am following the tutorial step by step and App Hosting is failing
image

@ni7r0x
Copy link

ni7r0x commented Aug 2, 2024

In my case , I found out the issue by looking in Google Cloud > Logging > Logs explorer > SEVERITY > Error :

google.cloud.run.v2.Services.CreateService returns this error :

template.containers.resources.limits.cpu: Invalid value specified for cpu.
For the specified value, maxScale may not exceed 10.
...

Solved by adding the following lines to apphosting.yaml :

# Settings for Cloud Run
runConfig:
  minInstances: 0
  maxInstances: 10
  concurrency: 50
  cpu: 1
  memoryMiB: 512

I guess the Rollout Failure should be more verbose than that.

@AntonioGally
Copy link

I had the same issue with my nexjs deployments:
Google Cloud Build was successfully building my app, but in firebase console, my deployment launch was failing.
I've added this configuration in my apphosting.yaml that @ni7r0x commented (tks) and my deployment was completed

It would be great if the official docs mentioned this apphosting.yaml configuration file in the Basic Deployment section, and tell us if this file is required.

image image

@gyula-szucs
Copy link

Had the same mildly frustrating issue.
Thank you @ni7r0x.

@r-dev-limited
Copy link

Mine just says all of a sudden: Ready condition status changed to False for Revision backlink-space-build-2024-10-28-003 with message: Deadline exceeded

@RebinX1
Copy link

RebinX1 commented Nov 19, 2024

i also have the same issue now, i have added the apphosting.yaml in my project but still i get the same error, one more thing is that at the start i was able to deploy 2 build to apphosting but after working on my app for a bit i started to get this error.

Screenshot 2024-11-19 at 6 37 06 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants