Updating Site from Umbraco 7 to Umbraco 9 - Existing Azure Blob Storage Media showing 404s

Hi, I am updating a v7 site to v9. The original v7 site is using Azure Blob Storage. In the new v9 version, I added the configuration to point to the existing Blob Storage. (as per: Azure-Blob-Storage - FileSystemProviders - Extending - Documentation - our.umbraco.com )

Since the DB upgrade, I can see all the media nodes in the back-office, but the images/files are all returning 404s.

There are no errors in the Log related to Authentication issues with Azure, and if I test the Azure connection string via the ‘MS Azure Storage Explorer’ app, I can see bunches of numbered folders present.

In the documentation for the Umbraco.StorageProviders package, it mentions there are two folders used - the /media/ folder, with the actual files, and the /cache/ folder, which stores processed versions. I wonder if the assumption of these two folders is what is causing the 404s - since the v7 site has only the /media/ folder, and thus that is the root of the storage container?

Related to that, I saw a PR to Add ContainerRootPath option, and updated my config to include "ContainerRootPath": "/" but I am still seeing the same error, so I’m not sure what needs to be done - whether there is something I can configure in the v9 site, or if I need to set up a new Storage container with the two folders?

As per the docs, I have "ContainerName": "media" and the storage explorer shows this:


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/109087-updating-site-from-umbraco-7-to-umbraco-9-existing-azure-blob-storage-media-showing-404s