Why is Google App Engine not showing new deployments? - google-app-engine

We have been deploying using $ gcloud preview app deploy --no-promote --version production for some time now and everything worked nicely until a couple of days ago.
Not sure what changed, but now our deployments, even though they are executed and gcloud gives no errors, are not showing up in the control panel for Google App Engine.
There's an issue reported regarding this behavior.
Two questions:
Why is Google App Engine not showing new deployments?
How can I deploy my application again successfully?

I'm answering my own question to make it available for other people who are currently having problems with this and save you the time of finding out how to fix it.
Revert to gcloud version 112.0.0 with $ gcloud components update --version 112.0.0.
It seems that gcloud version 113.0.0 or 114.0.0 has some kind of bug (haven't verified this) that is preventing the deployment to actually be registered and shown in the control panel for Google App Engine. After going back to version 112.0.0 everything is back to normal. I hope this helps.

Related

IntelliJ: cannot deploy to Google App Engine (Standard)

The IDE complains about no Deployment selected, but from the picture I can't pick one.
I have upgraded IntelliJ to the latest. I am planning to reinstall everything.
Suggestions?
There should be an artifact displayed:
Make sure you have a war artifact defined in the Project Structure | Artifacts.
If the issue persists, please report a bug and attach a sample project to reproduce.
Artifact options available out of the box in IntelliJ IDEA Ultimate:
If you don't see the Web Application options, you need to make sure that all the plug-ins are enabled. You can also just delete disabled_plugins.txt file from the IDE CONFIG directory and restart the IDE.
In case you are still running into issues:
It actually looks like you are using the Cloud Tools for IntelliJ plugin (https://github.com/GoogleCloudPlatform/google-cloud-intellij) and not the App Engine plugin bundled in IDEA Ultimate as in the accepted answer.
You can refer to the following documentation for deployment to the App Engine standard environment:
https://cloud.google.com/tools/intellij/docs/deploy-std
Also a couple things to check:
You should have an app engine standard facet
You should have an exploded-war artifact:
Try the following action:
Tools > Google Cloud Tools > Add App Engine support > Google App Engine Standard and see if this resolves the problem.
If none of this helps, perhaps you can post some screenshots of your artifact / module structure under project settings.
So OK, at the end I was using IntelliJ Community which doesn't support deploying to Google App Engine anymore (although it's bizarre the plugin is available). Apparently one of the latest updates disable whatever minimal support was there, as I was able to deploy to GAE just a few weeks ago.

Cannot deploy new version to App Engine Flexible

I tried to deploy new version to app engine. But it keeps saying
vm_check_disk_space.sh and health check logs.
and on web browser it gives me 502 error saying
Error: Server Error
The server encountered a temporary error and could not complete your
request.
Please try again in 30 seconds.
I have tried 4 times trying to deploy but never worked.
I think you can reproduce this by deploying any project to app engine.
I am using Google Cloud SDK 157.0.0
and
tried to deploy service with java and nodejs environment
I received many weird errors like this while deploying months ago with both maven and gradle. Various strange things with app.yaml can cause this as well. Even the example projects provided from google contained strange bugs like this when deployed.
Try one of the test projects that google provides: Google NodeJS bookshelf app
(Hopefully this project has been fixed by now and will deploy correctly!!)
Also, it's possible that an old version can prevent your new code from deploying. Go to your console, and delete/stop all running versions of the service. (I have had issues with old versions becoming stuck, which causes issues with the new deployment becoming the default service).

Has the Google App Engine Launcher for MAC OSX been deprecated?

Sorry if this is off topic. If it is, please let me know where to post. I don't see a GAE site on SE. I can't update my Google App Engine Launcher. All the new install documentation I have found omits anything about it. I have version 1.9.37.
There is no .dmg file or .app file in the current GAE SDK downloads. I can't find a separate download either. I have not been able to find a statement by Google in any release notes or bug reports, etc. So again the question is:
Has the Google App Engine Launcher for MAC OSX been deprecated?
Thanks!
For anyone looking: you can still download it here !!
This is a godsend. Honestly dev_appserver.py is easy to work with (just run dev_appserver.py . in your app top level directory then browse to localhost:8080)
To deploy it was a mess: you need appcfg.py, which I couldn't find anywhere. I tried to install from the gcloud things but their install script didn't work for me. And then I found the old app. Working great!
As #Thomas mentioned in his reply, for a time, there was still the ability to download the App (from an old link) and use it. Starting from November (or December 2020), deploying via the old GAE Launcher is no longer supported because Google has shifted to using Cloud Build for deployment and the appcfg.py update app.yaml command did not use that.
We have created a replacement for GAE Launcher. You can find it on https://nocommandline.com. Simply put, it is a GUI for GAE and offers same functionality (with some improvements) as the old GAE Launcher

Git Push to Deploy stopped 'deploy source only' on all App Engine projects

Since yesterday evening the Push-to-Deploy stopped working totally. If I Push a Git commit to the master it's not been deployed anymore. At first I thought this was a problem related to the App Engine Project itself. I've deleted the Release Pipeline and wanted to recreate it. Now the Console only shows the instructions to create a Jenkins Pipeline.
See this documentation for information on how to set up Jenkins, and configure continuous deployment for your GCP apps.
After that I've manually deployed the app to see if there are any issues with my source. The GoogleAppEngineLauncher is deploying the application with no problem at all. I've tried to reproduce this in other AE projects and noticed all projects currently don't process the Git pushes into a deployment.
Are more users experiencing this?
Yea, Now you have to use Jenkins using google cloud instance. See the updated documentation on there website https://cloud.google.com/tools/repo/push-to-deploy

Cannot downgrade App Engine release

Recently I've found out App Engine 1.9.1 has a bug which however does not occur in version 1.8.9 and below. I am developing my applications with Eclipse and the Google Plugin for Eclipse. In the Google properties of the project I switched back to 1.8.9. If I work locally I can see that it is using version 1.8.9 (the bug does not occur) however when I deploy to App Engine no matter what I do it will still run on 1.9.1. I even tryed to create a new project/application from scratch, still 1.9.1. I even deleted SDKs 1.9.1 and 1.9.0 from my system but nothing seems to help. What can I do? Thanks.
You don't control the version in production. It runs on Google servers and isn't deployed as part of your app.
Welcome to the cloud world where some parameters slip from your hand no matter how hard you try...
Indeed, you have no control over the AppEngine version that will be used to run your application in production. In fact, if you look carefully in the list of instance on your cloud console, you will see sometimes that some instances use an AppEngine version that is not even publicly available at the moment.

Resources