I just spent the whole night and day connecting the blob storage (block blob premium and standard) using blobfuse to my virtual machine (webserver) running on CentOS (Azure). I am using Centos/Plesk (BYOL) image.
I am pretty sure I did everything right, the user account (owner of the website dir) and other users such as apache, nginx can see the files. Permission to the mapped directory are 777 (set using "-o allow_other" option when mounting), I can normally cd / view / run / write to any file (blob) in the storage using the mounted directory on my virtual machine (using any user).
But my web site does not load those pictures/documents.
I can see that the files are being "touched" somehow by the web site, there are traces of what's happening there. If I list the directory using ls command, the files appear as owned by the user who listed the content of the directory (I know blobs do not have dirs but this blobfuse somehow make those file look like they are in a normal files). So if I mount the storage, load the web and then list the directory using another user then a web user, I am able to see which files have been attempted to open by the web (because they have a different "owner") but the files apparently were never opened (just somehow listed their name etc.. but never opened), because there is never created a copy of them in the local cache.
Please help. Am I missing something? The blobs are not to be handled the same as the regular files (except missing file level permission) when mapped using blobfuse? I even tried with the expensive premium block blob storage, with extremely low access times to see if there will be any difference, but nothing changed.
Could there be any special setting in php/apache/nginx config to allow working with files on the blob storage?
I have followed below practice: