Steps to recreate issue:

1) I've installed the module on a Drupal 8.5.3. site
2) I've entered the Azure Storage details in /admin/config/media/az_blob_fs, which have been accepted and saved.
3) I've selected 'Azure Storage Blob File System' in the /admin/config/media/file-system config and saved config

When I then upload a file to the site it is still being saved and accessed using the local file system, rather than using Azure storage. I couldn't find any documentation - does the module require further configuration somewhere?

Comments

andyingham created an issue. See original summary.

mihai7221’s picture

Hello, unfortunately the module doesn't work exactly as expected (should have left it as a sandbox project) just yet and I didn't had any time to finish it, at least with minimum functionality.

RogerRamjet’s picture

Hi Canutza,

I am very new PHP world and Drupal (being .Net developer). Do you have any plan to complete this module?

I knew Azure, .Net, Web Apps but not PHP, Drupal, Composer. Hence, requesting for help.

Thanks in advance.

Regards,
Ramji.

JulianVJ’s picture

Hello @rogerramjet, a new version of this module has been uploaded and now it has a minimum functionality. Feel free to try it if you still need it.

Regards
Julian

hdnag’s picture

Hi @JulianVj

I have the same problem here :

I've installed the module on a Drupal 8.7.1 site
I've entered my conf on /admin/config/media/az_blob_fs
I've selected "Azure Storage Blob File System" on /admin/config/media/file-system

All my files are still saved on the local file system.
However, on the image style page, the preview URL is a Azure blob URL (https://[My Account name].blob.core.windows.net/[My Azure Bloc Container name]/styles/[My Drupal image style]/azblob/core/modules/image/sample.png)

What is the current state of this module and the minimum functionality ? Is there a way to save a new file directly on the Azure storage and have the URL to it ?
Thanks.

Regards,
Hedi.

JulianVJ’s picture

Hello @hdnag
I have tried the module in a new drupal 8.7.2 site and is working correctly.

The site that i've used to test the module is using the Lightning profile (https://www.drupal.org/project/lightning) with the default settings.

After select "Azure Storage Blob File System" on /admin/config/media/file-system, I've modiifed the storage in the media entity image field, in this path: /admin/structure/media/manage/image/fields/media.image.image/storage. A new option "Azure Storage Blob File System" is available.
Note that you will have to find your image file field settings.

Right now this module save the file to the configured Blob Container and generate the image derivatives when are requested

Regards
Julian

Aron Novak’s picture

I can confirm that this module works correctly, the only trick in the configuration is that you need to alter the storage config for every single file field (at least for those where you'd like that) to achieve the expected result.

geoanders’s picture

Status: Active » Closed (works as designed)