Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I migrated the site from v8 to v9, and all work pretty well. The only thing that is not working - media items that are in Azure Blob storage.
All new media items that were uploaded to the site after the migration work as expected. Is there a fix for media items created in v8?
Thanks,
Alex
Hi Alex,
Did you find a solution for this?
Best regards Roland
Hi Rolle,
No, we didn't fix it, do you have any idea?
Did you find a good solution for this? I've just stumbled across https://github.com/umbraco/Umbraco.StorageProviders
Well I went ahead and tried the steps provided and all seems to work well, however it looks like you can't define an empty ContainerName
Currently the container name is "media" but this means the it's make two media folders - https://testsiteblob.blob.core.windows.net/media/media/testfile.jpg
Does anyone know of a what to have a single media folder in the root? Thank you
Hi
The problem was the structure in the Azure Storage.
The old structure is like this:
/Blob Containers /media /cache
The new structure is like this:
/Blob Containers /[ContainerName] /media /cache
Here is what I did:
My appsettings.json
"Umbraco": { "Storage": { "AzureBlob": { "Media": { "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=<media account name>;AccountKey=<media account key>;EndpointSuffix=core.windows.net", "ContainerName": "storage" } } }
That's it!
I hope this helps you too :)
Umbraco documentation page: https://our.umbraco.com/Documentation/Extending/FileSystemProviders/Azure-Blob-Storage/
Manage your Azure cloud storage with Azure Storage Explorer https://azure.microsoft.com/en-us/features/storage-explorer/
This worked!
Thanks for sharing this, Rolle! Have a great weekend.
As I understood you can now define a container root path, see: https://our.umbraco.com/forum/using-umbraco-and-getting-started/109087-updating-site-from-umbraco-7-to-umbraco-9-existing-azure-blob-storage-media-showing-404s
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Migrating Azure Blob media from v8 to v9
Hi,
I migrated the site from v8 to v9, and all work pretty well. The only thing that is not working - media items that are in Azure Blob storage.
All new media items that were uploaded to the site after the migration work as expected. Is there a fix for media items created in v8?
Thanks,
Alex
Hi Alex,
Did you find a solution for this?
Best regards Roland
Hi Rolle,
No, we didn't fix it, do you have any idea?
Alex
Did you find a good solution for this? I've just stumbled across https://github.com/umbraco/Umbraco.StorageProviders
Well I went ahead and tried the steps provided and all seems to work well, however it looks like you can't define an empty ContainerName
Currently the container name is "media" but this means the it's make two media folders - https://testsiteblob.blob.core.windows.net/media/media/testfile.jpg
Does anyone know of a what to have a single media folder in the root? Thank you
Hi
The problem was the structure in the Azure Storage.
The old structure is like this:
The new structure is like this:
Here is what I did:
My appsettings.json
That's it!
I hope this helps you too :)
Best regards Roland
Umbraco documentation page: https://our.umbraco.com/Documentation/Extending/FileSystemProviders/Azure-Blob-Storage/
Manage your Azure cloud storage with Azure Storage Explorer https://azure.microsoft.com/en-us/features/storage-explorer/
This worked!
Thanks for sharing this, Rolle! Have a great weekend.
As I understood you can now define a container root path, see: https://our.umbraco.com/forum/using-umbraco-and-getting-started/109087-updating-site-from-umbraco-7-to-umbraco-9-existing-azure-blob-storage-media-showing-404s
is working on a reply...