App Service WordPress 存储帐户不工作

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

App Service WordPress Storage Account Not Working

问题

我在Azure App Service上使用快速入门指南设置了一个新的WordPress网站:

https://learn.microsoft.com/en-us/azure/app-service/quickstart-wordpress

在设置过程中,我选择将内容保存到Azure存储,但这似乎不起作用。
根据https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_azure_blob_storage.md,以下应用程序设置是正确的:

BLOB_STORAGE_ENABLED - true
STORAGE_ACCOUNT_NAME - 有效名称
STORAGE_ACCOUNT_KEY - 有效密钥
BLOB_CONTAINER_NAME - 有效名称

它们在设置过程中创建,没有被更改过。

当我上传一张图片时,它并没有出现在存储中,而是出现在应用服务文件系统上。我可以使用SCM站点看到这些文件。

是否还有其他设置或方法来确定问题?

英文:

I setup a new WordPress site on Azure App Service using the Quick Start guide:

https://learn.microsoft.com/en-us/azure/app-service/quickstart-wordpress

During the setup I chose to have content saved to Azure Storage, however this is not working.
As per https://github.com/Azure/wordpress-linux-appservice/blob/main/WordPress/wordpress_azure_blob_storage.md the following Application Settings are correct:

BLOB_STORAGE_ENABLED - true
STORAGE_ACCOUNT_NAME - valid name
STORAGE_ACCOUNT_KEY - valid key
BLOB_CONTAINER_NAME - valid name

They were created during the setup and haven't been changed.

When I upload an image, it does not appear in storage but on the App Service file system. I can see the files using SCM site.

Is there another setting or a way to determine the issue?

答案1

得分: 0

>App Service WordPress Storage Account Not Working

我已经按照您提供的文档进行了操作,并能够上传图像并在 Blob 存储中看到它们。

App Service WordPress 存储帐户不工作

>BLOB_STORAGE_ENABLED - true STORAGE_ACCOUNT_NAME - 有效名称 STORAGE_ACCOUNT_KEY - 有效密钥 BLOB_CONTAINER_NAME - 有效名称

甚至在配置部分中我也有相同的配置。

App Service WordPress 存储帐户不工作

Storage Account => Data Storage 下选择 Containers

图像被上传到 wpbloba48da09bd8\wp-content\uploads\2023\07\ 文件夹中。

App Service WordPress 存储帐户不工作

App Service:
App Service WordPress 存储帐户不工作

英文:

>App Service WordPress Storage Account Not Working

I have followed the same document which you have provided and able to upload the images and see them in Blob Storage.

App Service WordPress 存储帐户不工作

>BLOB_STORAGE_ENABLED - true STORAGE_ACCOUNT_NAME - valid name STORAGE_ACCOUNT_KEY - valid key BLOB_CONTAINER_NAME - valid name

Even I have the same configuration in the Configuration section.

App Service WordPress 存储帐户不工作

In Storage Account =>under Data Storage select Containers

Images are getting uploaded in the wpbloba48da09bd8\wp-content\uploads\2023\07\ folder.

App Service WordPress 存储帐户不工作

App Service:
App Service WordPress 存储帐户不工作

huangapple
  • 本文由 发表于 2023年7月3日 23:20:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/76606110.html
匿名

发表评论

匿名网友

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

确定