英文:
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 存储中看到它们。
>BLOB_STORAGE_ENABLED - true STORAGE_ACCOUNT_NAME - 有效名称 STORAGE_ACCOUNT_KEY - 有效密钥 BLOB_CONTAINER_NAME - 有效名称
甚至在配置部分中我也有相同的配置。
在 Storage Account
=> Data Storage
下选择 Containers
图像被上传到 wpbloba48da09bd8\wp-content\uploads\2023\07\
文件夹中。
App Service:
英文:
>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.
>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.
In Storage Account
=>under Data Storage
select Containers
Images are getting uploaded in the wpbloba48da09bd8\wp-content\uploads\2023\07\
folder.
App Service:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论