Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #2
mihai7221 CreditAttribution: mihai7221 commentedHello, 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.
Comment #3
RogerRamjet CreditAttribution: RogerRamjet commentedHi 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.
Comment #4
JulianVJ CreditAttribution: JulianVJ commentedHello @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
Comment #5
hdnag CreditAttribution: hdnag commentedHi @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.
Comment #6
JulianVJ CreditAttribution: JulianVJ commentedHello @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
Comment #7
Aron NovakI 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.
Comment #8
geoanders CreditAttribution: geoanders as a volunteer commented