Comment to 'amazon s3 storage , How to'
  • changed seetings to s3s4 and vesrion to s4, but not working images storing in local only

    image_transcoder.php?o=bx_froala_image&h=4688&dpx=1&t=1613268488

    When you change settings for the whole site, then storage isn't changed for storages which have at least one file, to make changes for storages, you need to do the following:

    1) rsync/copy files from local storage UNA folder to S3 and make all uploaded files public

    2) change storages for all storage objects in sys_objects_storage table from Local to S3 

    3) change setting to S3 (and other corresponding values) in Studio > Settings > Storage

    • changed seetings to s3s4 and vesrion to s4, but not working images storing in local only

      image_transcoder.php?o=bx_froala_image&h=4688&dpx=1&t=1613268488

      When you change settings for the whole site, then storage isn't changed for storages which have at least one file, to make changes for storages, you need to do the following:

      1) rsync/copy files from local storage UNA folder to S3 and make all uploaded files public

      2) change storages for all storage objects in sys_objects_storage table from Local to S3 

      3) change setting to S3 (and other corresponding values) in Studio > Settings > Storage

      Thank you Its working now

      • When you say make all uploaded files "public" as in mod 777 Read/Write Public. ?? also in the Database table why would some fields not change to S3 by changing it in Studio > Settings > Storage... ? Is this because of additional installed modules??

        • When you say make all uploaded files "public" as in mod 777 Read/Write Public. ?? 

          No, I mean make them public is S3 storage, different S3 providers provide different interface to make bucket public.

          also in the Database table why would some fields not change to S3 by changing it in Studio > Settings > Storage... ? Is this because of additional installed modules??

          Because when you change storage in UNA, then UNA can't move files automatically between different types of storages, so you need to move files manually and then change manually records in the database