Azure function created by Java is saying "Your app is currently in read only mode because you are running from a package file" , how to resolve it?

huangapple go评论87阅读模式
英文:

Azure function created by Java is saying "Your app is currently in read only mode because you are running from a package file" , how to resolve it?

问题

目前,我正在使用Java创建的Azure函数上工作。我可以将Java函数发布到Azure门户,并且能够进行GET和POST请求,但是在启用写入模式的功能方面我遇到了问题。那么,我应该怎么做来解决这个问题呢?

英文:

Currently, I'm working on Azure function created by Java. I am able to publish Java function to Azure portal and I'm able to make a GET and POST request but I'm having issue with enabling function in write mode. So, what I am supposed to do to resolve this issue?

答案1

得分: 1

这是预期的行为,当你的函数应用以从包运行模式部署时,这意味着它直接从上传的 ZIP 文件中读取文件,因此无法进行编辑。

你可以通过在门户中删除WEBSITE_RUN_FROM_PACKAGE应用设置来关闭此功能。

注意:如果删除了此设置,在下一次发布之前,这将清除你的函数应用。

更多详细信息,请查看这里

英文:

This is expected behavior 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.

For more details, Please check here.

huangapple
  • 本文由 发表于 2020年5月5日 11:54:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/61605496.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定