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

Can't change functions version for Linux App Service Plan app V2 => V3 #5559

Closed
mhoeger opened this issue Jan 29, 2020 · 6 comments
Closed
Labels

Comments

@mhoeger
Copy link
Contributor

mhoeger commented Jan 29, 2020

For most function apps, you can change which major version of the functions runtime you run on by the toggle on "Function app settings" (or FUNCTIONS_EXTENSION_VERSION, although Node.js also needs WEBSITE_NODE_DEFAULT_VERSION changed on Windows).

For Linux app service apps, this won't work.

Instead, you need to go to Platform features => Container settings
image
And then change the image name:
image
(Ex: mcr.microsoft.com/azure-functions/dotnet:3.0-appservice)

cc: @balag0 @divyagandhii @anirudhgarg

@jongio
Copy link
Member

jongio commented Feb 1, 2020

I would very much appreciate a fix for this. It surfaces in Logs as this:

Could not load file or assembly 'System.Text.Json, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.

When using System.Text.Json and it took us a couple of days to figure out what is going on.

Thank you!

@mhoeger
Copy link
Contributor Author

mhoeger commented Feb 3, 2020

cc: @dariagrigoriu

@jongio
Copy link
Member

jongio commented Feb 29, 2020

@gzuber Should this be resolved with this PR? Azure/azure-cli#12317?

@gzuber
Copy link
Member

gzuber commented Mar 3, 2020

@jongio That's a good point, thanks.

@mhoeger is this valid since the changes @pragnagopa made to linuxFxVersion?

@pragnagopa
Copy link
Member

cc @ankitkumarr
As of ANT86.2, updating 'FUNCTIONS_EXTENSION_VERSION' will update the functions runtime used.

@ankitkumarr
Copy link
Contributor

Yes this is now fixed. Any new function apps that are created, can be upgraded with just the App Setting.

@gzuber gzuber closed this as completed Mar 3, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants