Cannot downgrade App Engine release - google-app-engine

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.

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.

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

Why is Google App Engine not showing new deployments?

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.

Cloud Debugger with Google app Engine

On which version does the cloud debugger takes snapshot.
Is it from default version?
if yes, how can I make it takes snapshot of some other version.
this page doesn't talks about versions.
If you have multiple versions (or modules) of the app deployed at the same time, the debugger UI (Google Developer Console --> Source Code --> Debug) will should a drop down. You can then choose the version and the module you want to debug.
Right -- Currently the debugger only works on the default version of the app engine app. You need to have the source code for that version of your app in the default branch of the git repo.

How do you upgrade/deploy to the latest version of Google App Engine (SDK)?

I have developed a GAE application on version 1.5.0 of the SDK. It is already deployed to http://linkpad.me and working properly (as of this writing). I am wondering how the upgrade process should go to get to version 1.5.1 of the GAE SDK.
As far as I can tell, I should do the following:
Download version 1.5.1 of the SDK
Test my application locally using version 1.5.1 to make sure it still works
Deploy my application
Does my application start using version 1.5.1 of GAE once I do a deploy from v1.5.1 of the SDK?
Or do I need to switch to 1.5.1 using something like the App Engine Dashboard?
Is it possible to stay with version 1.5.0 indefinitely if I never download or use SDK version 1.5.1?
(I imagine this would be a bad idea)
Your application started using 1.5.1 as soon as Google deployed it to production. There's no way for you to control which version the production servers use; they'll all upgraded at the same time.
Is it possible to stay with version
1.5.0 indefinitely if I never download or use SDK version 1.5.1? (I imagine
this would be a bad idea)
Yes, it's possible. But it would be bad idea, because essential components of the cloud are being updated all the time. And you can probably miss critical updates or stuck with obsolete facilities of your local GAE server. For example, servlet container (Jetty), hadn't supported JavaEE 6 before it updated to 8.x version.

Resources