Failed to create Cloud Run service. Please try again.
Hi @Joseph1
Could you provide some more details about this issue to help with reproduction .
What use case were you trying to achieve , how did you encounter this issue ?
I have a published app. I make changes in AI studio and after awhile I want to “re-publish” to Google cloud to update what it live. When I go to re-publish the project to the same Google cloud project I get the error. So essentially I can’t make any changes to it now that it is published. I also had another project that has never been published, and I would get this error when trying to publish it for the first time. I was finally able to get this one project to “re-publish” by deleting the cloud run service, and it asked me to setup firebase right on Google AI studio for some reason and then it finally let me publish, but I am back to not being able to “re-publish” any changes. Id happily send you any videos, or jump on a meeting call to share my screen. Whatever you need me to do
HI
If you could send me some screenshots via DM that would be great. it will help me debug this issue better
Sent you a DM with a screenshot. If you DM me I am happy to share the app so you can remix and see if you have the same issue.
I am also facing the same issue. Just transferred from Firebase Studio.
Same here - Transferred from Firebase Studio - Cant deploy from ai studio. Failed to create Cloud Run service. Please try again
Me too, also transferred from Firebase studio. I managed to publish a first time after 20 attempts, but can’t seem to re-publish now…
The same Problem…. Failed to get Cloud Run service. Please try again.
Still an issue for me. Just worked on a project for almost a month now, go to publish for the first time and I get this error. A little absurd at this point. What is Google AI studio even used for if it never works? Embarrassing to be honest
Is there a solution to this? I’m having the same issue.
No, I sent them all the information I could. My original project from a month and half ago still can’t re-publish and a new project I worked on the past month was not able to publish at all.
My workaround was to sync with GitHub and then publish via vercel.
try this prompt when you cant deploy because of cloud run service. it found a fix and now i can deploy.
the prompt:
"Unfortunately, I am unable to deploy—the app was migrated here from Firebase Studio, and I am now receiving the following error message during deployment: “Failed to create Cloud Run service. Please try again.”
This is what it found:
This is due to a missing configuration for Next.js apps that were transferred into the Google AI Studio Build Cloud Run environment (or prepared for sharing).
Deployment strictly requires the Next.js Standalone build feature; while this is handled automatically by Firebase App Hosting, it must be configured manually in this environment.
I have just added output: "standalone" to the next.config.ts file.
Please try deploying the app again via the menu now (using the “Share” or “Deploy to Cloud Run” button)! The issue should now be resolved.
I’m also having this issue since moving over frome Firebase. I’m happy to work with @Mustan_lokhand or anyone to try and get this resolved.
I never got this resolved. It still does not work. I gave up on it. My main project I did get published through vercel but can’t re-publish my other projects. It’s a shame
same issue for me, I tried multiple things including deleting the previous backend from firebase console and deploying it it did not work, some sources online suggested deleting the existing cloud run in google cloud console and then try to deploy it or even renaming it so the error does not come from duplication in names but still did not work