Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brian Rush 25 posts 95 karma points
    Aug 29, 2017 @ 19:27
    Brian Rush
    0

    Azure Blob Storage

    Has anyone had luck using Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem

    located here

    https://github.com/JimBobSquarePants/UmbracoFileSystemProviders.Azure

    for media storage hosted in azure.

    It seems that if I use this blob storage in azure for media, I am getting issues with Examine. Specifically the ExamineSettings.config file

    An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
    
    
    Source File: D:\home\site\wwwroot\config\ExamineSettings.config    Line: 12
    

    My FileSystemProvider.config is set as follows

      <Provider alias="media" type="Our.Umbraco.FileSystemProviders.Azure.AzureBlobFileSystem, Our.Umbraco.FileSystemProviders.Azure">
        <Parameters>
          <add key="containerName" value="media" />
          <add key="rootUrl" value="https://images.openskycc.com/" />
          <add key="connectionString" value="DefaultEndpointsProtocol=http;AccountName=XXX;AccountKey=XXXXXX;EndpointSuffix=core.windows.net"/>
          <add key="maxDays" value="365" />
          <add key="useDefaultRoute" value="true" />
          <add key="usePrivateContainer" value="false" />
        </Parameters>
      </Provider>
    

    When I try to use that, that is when I get the error. If I set it back to

    The error goes away in Azure. The problem though is my media files will expect to be local and I want them to be in azure blob storage.

    Any insight is very much appreciated. I am have a very tough time getting Azure Blob storage to work with Examine when hosted in Azure.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft