How to migrate gae app to python 2.7.11 - google-app-engine-python

I'm getting emails from google that I should migrate my gae apps from python 2.7 to python 2.7.11. But I can't find any example how to do it. Do you know how it can be done?

I believe you're receiving communications about Python SSL Version 2.7 Shutdown and the necessary migration to SSL version 2.7.11. You'll find more information in the link above but basically the migration involves:
Updating to the latest Cloud SDK version via gcloud components update.
Updating the app.yaml for all versions of your application
Deploying your updated application

Related

Upgrade path for service fabric from 5.7.198 to 6.0

Recently we started getting a message on the Azure portal that our SF version on the cluster we use will become unsupported (5.7.198). Which I interpret as that we need to upgrade to 6.0.
Has anyone done such an upgrade on a prod system with real customers and data that should be kept safe?
Is there an upgrade we should follow (i.e. go through intermediate versions)
Any issues that I should expect?
Thanks!

Reverting to old Google Cloud SDK shell version

I am trying to deploy a Java project into Google App Engine from Eclipse and am blocked by JSPs.
Everything JSP makes my app not capable of deploying due to "'utf8' codec can't decode byte" error.
Not trying to insert any strange (not UTF-8) character, everything Eclipse is set to UTF-8.
Tried to send archives which were OK with the Google App Engine Tools for Eclipse (soon to be deprecated), won't deploy.
I've seen threads regarding reverting the Google Cloud Tools for Eclipse plugin to previous version (1.58 seemed to avoid a few problems) being a possible solution to these recent errors but I have a problem installing, the batch just tells me "Install will exit" ?!
Tried to uninstall previous (latest) versions before, made sure I was launching the bundled-python batch, still not capable of installing an old version of the Google Cloud SDK shell.
Would be glad if anybody had any suggestion at what makes my install fail.
Thanks in advance.
There are a few ways you can get older version of Google Cloud SDK.
Download versioned archive
(If you are on windows) Grab google-cloud-sdk-XXX.0.0-windows-x86_64-bundled-python.zip file.
Unzip it to some\dir
Add some\dir\google-cloud-sdk\bin directory to your system path
Restart your command prompt (or other apps which depend on gcloud) and run for example gcloud info, it should be fully functional installation, no need to run install.bat.
Alternatively, use existing SDK installation and gcloud component manager to go back to previous versions. For example
gcloud components update --version 158.0.0
target by version number using apt-get :
sudo apt-get install google-cloud-sdk=294.0.0-0

How to install older version of azure service fabric SDK (after uninstalling latest version)?

I recently upgraded to 5.3.301 version of azure service fabric runtime on my local developer machine. Then I uninstalled it and tried to go back to previous version of 5.1.163. It seems that I can not go back because the web platform invoker no longer has the previous version (5.1.163) listed as one of the options.
Is there a way to go back to previous version of service fabric runtime? If so, how?
These are the links. Install in this order:
Runtime:
http://download.microsoft.com/download/C/9/6/C9680A4C-291F-4A6F-B699-26FF704577BA/MicrosoftServiceFabric.5.1.163.9590.msi
SDK:
http://download.microsoft.com/download/C/9/6/C9680A4C-291F-4A6F-B699-26FF704577BA/MicrosoftServiceFabricSDK.2.1.163.msi
VS Tools:
http://download.microsoft.com/download/E/7/6/E76A0B84-6DAB-4734-85E2-5912A1130FB4/MicrosoftAzureServiceFabricTools.VS140.en-us.msi
"I need this for version 2.4.164"
I don't have direct link for 2.4.164 but the web installer seems to have it:
http://www.microsoft.com/web/handlers/webpi.ashx?command=getinstallerredirect&appid=MicrosoftAzure-ServiceFabric-VS2015-2_1
Go to products tab then search for "fabric" query and you will get a choice between 2.4.164 and 2.5.216

How to update a live PHP5 to PHP7 application

Our company has a "legacy" PHP app, developed by another developer over a decade. It's running on a server with PHP5.5.
What would be a best-practice approach of moving that live application to a PHP7 environment?
Testing would have to happen on PHP7 in a development environment for sure. But my question is for the live switchover. Do you upgrade the server's PHP version and deploy the new version of the application at the same time?

MongoDB C# driver 1.10.0 conflicts in Azure Mobile Services

I've created a simple Azure Mobile Services project and added the nuget package for MongoDB (package id is mongocsharpdriver).
The version I added is 1.10.0
When I deploy the project I get the following error:
"Found conflicts between different versions of the same dependent assembly 'MongoDB.Bson': 1.10.0.62. Please change your project to use version '1.9.2.235' which is the one currently supported by the hosting environment."
It seems like the Dlls from the package I've added are conflicting with an older version installed by default in the cloud environment.
Is there a way to get around this problem?
(While trying to figure out whats wrong I installed the nuget package WindowsAzure.MobileServices.Backend.Mongo which can't be installed because it requires mongocsharpdriver(=1.9.2) and dose not allow me to use my newer dlls.)
It seems I'll have to wait for microsoft to update the dll in Azure: