Comment to 'BUG: Cover fails to upload to S3 storage'
  • 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';
    
    • for version v4 the best option is aws s3

      aws s3 cp /una/storage s3://yourbucketfolder --recursive   
      

      this works perfectly without error

      • I have no idea why you have the issues you have, but I have never used the aws tool, and I used the simple configuration tool to connect without issue.

        I think you tinker too much, and please do not take this the wrong way. You tend to take the hard way a lot. I had no issues you had, and just set it all up for another and had 0 issues. I am glad that I was reminded of this post before trying, I would have been wondering where the option was. 😁

        • When you already have files stored on the server, you need to upload them manually. The UNA application doesn't automatically upload files from the storage folder. Simply changing the setting from local to Blackbase won't make the files transfer automatically. S3cmd uses v2, while Blackbase only supports v4 for signatures.

          You can use the native Backblaze B2 application, but it does not support uploading entire folders only list of files and single files. However, with AWS CLI, you can upload the entire storage folder directly in a aingle comans, depending on your data center's bandwidth and how much data you have in storage wil upload or sync your data .

          Additionally, you can update the local storage folder on your server with the UNA application using a bucket from Blackbase whenever you feel it's necessary. The UNA application may not always update files automatically, and if a file is missing, you can manually sync your storage at any time using AWS CLI . This way, you can ensure your files are always up-to-date. I prefer to manually write all my configuration files, as I don't like having them created automatically. I like to review every detail, checking each step carefully to ensure everything works flawlessly. When I manually write the configuration files, things always work perfectly like now. Thanks for the suggestion, but I don't understand what tool you are using?("and I used the simple configuration tool")