on 2018 Sep 04 9:18 PM
I'm getting this error: [MediaManager] Problems with media storage connection occured during the init process after setting all the configuration for Azure Blob storage. I done these steps in Azure Cloud: (Create Account Key, Create User, Create Storage). I checked the connections with the Microsoft Azure Storage Manager and I was able to connect using the Account Key + User and the connection string. My issue is in Hybris, I added these parameters in my local.properties but all the time the same error during the 'Initializing media storages'. I'm using Hybris 1808 (the newest version).
media.folder.azureMedias1.storage.strategy=windowsAzureBlobStorageStrategy media.folder.azureMedias1.endPointProtocol=https media.folder.azureMedias1.connection=DefaultEndpointsProtocol=https;AccountName='USER';AccountKey='KEY' media.folder.azureMedias1.public.base.url=https://'USER'.blob.core.windows.net/ media.folder.azureMedias1.containerAddress=test media.folder.azureMedias1.local.cache=false media.folder.azureMedias1.cleanOnInit=false
Also with the parameter (media.folder.azureMedias1.windowsAzureBlobStorageStrategy.XXX)
Any idea?
Request clarification before answering.
Hi Oliver
Have you already configured the hotfolder un Sap Cloud Public?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try to set the required properties as per documentation?
https://help.hybris.com/scc/pcd/6e23a26fe9c8472380f9101e8a9fe1c3.html
Also be aware of the default setting in extension "azurecloud". A hybris commerce init will delete all Blobs in your storage account! Even those containers hybris was not even configured to use. containerAddress is silently ignored.
media.globalSettings.windowsAzureBlobStorageStrategy.cleanOnInit=true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pau,
i'm also struggeling with the setup of Azure Blobs. Did you manage to get the configuration rigth? Regards, Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
looks like SAP 'forgot' some important information. First you need to enable the optional extension "azurecloud"
then use this properties:
media.default.secured=false
media.default.storage.strategy=windowsAzureBlobStorageStrategy
media.globalSettings.windowsAzureBlobStorageStrategy.local.cache=true
media.globalSettings.windowsAzureBlobStorageStrategy.secured=true
media.globalSettings.windowsAzureBlobStorageStrategy.connection=DefaultEndpointsProtocol=http;AccountName=yourAccount;AccountKey=yourAccountKey
media.globalSettings.windowsAzureBlobStorageStrategy.public.base.url=https://YOUR_STORAGEBLOBNAME.blob.core.windows.net/
media.globalSettings.windowsAzureBlobStorageStrategy.containerAddress=mycontainer
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.