I have s3v4 storage working perfectly across my site, everything works. I went to change the cover in designer, upload failed. I wasn't sure why, tried different things.
Changed sys_images to Local in database, upload was fine, cover worked.
Video, images, files, etc all upload across the site, everything is working properly. Logic then tells me something is wrong with s3 storage and this option.
Comments
Hello @Wise !
Could you please check any error log in your S3 account? May be it is something interesting there.
@LeonidS hello!
I responded under other post, but I sent a message on messenger. I think I found an amazing s3 provider for UNA based sites, just need to figure out why some things are not working, while others are. Hope UNA team can help.
S3 providers differ a little bit, so we have several S3 libraries where one could work with one provider and not with another. I suggest to try different ones (S3, S3v4, S3v4alt) to see which working better. Also if you could specify the actual error we could probably suggest something more specific.
I have tried them all. S3v4 was the one that worked everywhere on my site, except in Messenger, and studio add cover. There is no visible error message, it just doesn't work.
Please ask @Alexey as he tried it on my site. He has credentials.
Ok, he said that you are using Backblaze S3 storage, actually it looks like private files on Backblaze S3 aren't working with any of these engines, so the only option for now is to disable private files uploading, to do it some customizations are needed:
1) upload attached file into `inc/classes` folder with `BxDolStorageS3v4Backblaze.php` name
2) update `sys_options` table to be able to select new storage engine
UPDATE `sys_options` SET `extra` = 'Local,S3,S3v4,S3v4alt,S3v4Backblaze' WHERE `name` = 'sys_storage_default';
@Alex T⚜️ @Alexey Are those running Wasabi Cloud Storage also affected by this issue? Do they also need to apply the modification you provided above? Does Wasabi support private file uploading? Thanks
@Alex T⚜️ all is working now. Thank you! I sent a message to you on messenger.
Wasabi works fine with all storage engines except S3v4alt
Thanks Alex.