azure function app只读模式 [英] azure function app read-only mode

查看:141
本文介绍了azure function app只读模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的Azure团队,

Dear Azure team,

请帮助我,我的azure功能应用程序有问题。

Kindly please help me, I have an issue with azure function app.

我只是尝试从以下链接部署我的java函数:  https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-java-maven #

I just try deploy my java function following from this link : https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-java-maven#

按命令:  mvn azure-功能:部署

by command : mvn azure-functions:deploy

并根据此日志完成部署

[INFO]使用Azure CLI 2.0进行身份验证

[INFO]更新指定的功能应用程序...

[INFO]功能主机的Java版本未启动,将其设置为Java 8

[INFO]已成功更新函数app.dba-functions3-20190315220323382

[INFO]尝试部署功能应用程序.. 。

[INFO]尝试将工件部署到dba-functions3-20190315220323382 ...

[INFO]成功将工件部署到https:// dba-functions3-20190315220323382 .azurewebsites.net

[INFO]在https://dba-functions3-20190315220323382.azurewebsites.net成功部署功能应用程序

[INFO] ----- -------------------------------------------------- -----------------

[INFO]建立成功

[INFO] --------- -------------------------------------------------- -------------

[INFO]总时间:01:35分钟

[INFO]完成时间:2019-03-20T13 :47:31 + 07:00

[INFO]最终记忆:55M / 297M

[INFO] Authenticate with Azure CLI 2.0
[INFO] Updating the specified function app...
[INFO] Java version of function host is not initiated, set it to Java 8
[INFO] Successfully updated the function app.dba-functions3-20190315220323382
[INFO] Trying to deploy the function app...
[INFO] Trying to deploy artifact to dba-functions3-20190315220323382...
[INFO] Successfully deployed the artifact to https://dba-functions3-20190315220323382.azurewebsites.net
[INFO] Successfully deployed the function app at https://dba-functions3-20190315220323382.azurewebsites.net
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:35 min
[INFO] Finished at: 2019-03-20T13:47:31+07:00
[INFO] Final Memory: 55M/297M

但是在未显示的azure函数上,它看起来像只读模式:

but on the azure function not shown, it's look like read-only mode :

您的应用程序当前处于只读模式,因为您从包文件运行。从包运行时,文件系统
是只读的,不能对其进行任何更改要进行任何更改,请更新您的zip文件和WEBSITE_RUN_FROM_PACKAGE应用设置中的内容。

我试过很多文档/博客但仍未解决。

I was try many documentation / blog but still not solve.




请帮助我。

谢谢。

推荐答案

Hello Burhanuddin,

Hello Burhanuddin,

当你的功能应用程序部署在Run From Package模式下时,这是预期的,这意味着它正在直接从上传的ZIP中读取文件,所以有无法编辑它。您可以通过删除门户网站中的
WEBSITE_RUN_FROM_PACKAGE 应用程序设置来关闭它。

This is expected when your function app is deployed in Run From Package mode, which means it's reading the files directly from the uploaded ZIP and so there's no way to edit it. You can turn that off by deleting the WEBSITE_RUN_FROM_PACKAGE application setting in the portal.

注意这将清除您的功能应用程序,直到您下次发布时删除设置。

Note this will clear your function app until the next time you publish if you delete the setting.

请检查
在此处运行套餐


这篇关于azure function app只读模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆