-
-
·
LeonidS
- ·
Hello @Tajrebatee !
And what is your question?
-
·
LeonidS
-
-
·
Alex T⚜️
- ·
Please try to leave empty "Endpoint" setting.
-
·
Alex T⚜️
-
Will do. It looks like they suggested for me to put the DNS part there instead! will try that. Thanks a lot!
-
I did as suggested, but still not luck. UNA still store in "storage" folder on server and not on AWS. Any more suggestions?
-
I did as suggested, but still not luck. UNA still store in "storage" folder on server and not on AWS. Any more suggestions?
If you already have some files in the storage, it will not be changed, you need move files manually and change storage engine for particular storage manually in the DB table, as described here - https://github.com/unaio/una/wiki/Remote-Storage
-
Thank you so much @Alex T⚜️ for explaining. So, when I looked at the "engine" in the sys_objectes_storage table I found that some of the engines are "local" while others are "S3V4" (the setting I made). However, all images and videos are still physically located on the "storage" folder. So, if I understood you correctly, I need to manually move that "storage" folder from the app root and put it in the S3 bucket and edit the "engine" field in. the sys_objects_storage table and once that done, all new images, files and videos will go to that "storage" folder in the S3 bucket. Is that correct? if not, please correct me. Thank you so much for your help!
-
Yes, you are correct, but you don't need to have storage folder in S3, all files in UNA storage folder should be in bucket root folder with the same directory structure.
-
- · Tajrebatee
- ·
Thanks again @Alex T⚜️ . Not sure I understood what you mean by "bucket root folder". Let me clarify, The EC2 instance on AWS that has the server that hosts UNA (where root and stoarge folders located) is not in an S3 bucket.
-
- · Tajrebatee
- ·
@Alex T⚜️ .@Leonid S . Not sure I understood what you mean by "bucket root folder". Let me clarify, The EC2 instance on AWS that has the server that hosts UNA (where root and stoarge folders located) is not in an S3 bucket.
-
- · Tajrebatee
- ·
@Alex T⚜️ will really appreciate any help to clarify this. For a module that has no prior files (e.g., albums) it saves to S3. However, for modules that has prior files (e.g., timeline) it still save to "local" folder despite of doing the steps above (copying folders from server to S3, editing "engine" in Sys_objective_storage table). What else do I need to do? do I need to delete the "storage" folder on the server once I copied files to S3 bucket? if i try to re-install UNA, will I loose everything? can i do that If I keep a copy of "storage" folder and "db" to avoid loosing data? any help will be appreciated!
-
- · Stel
- ·
We are probably very many with these problems.... it would be so much easier to make a video tutorial.. as well as for the configuration of S3 ! 😥
-
- · Tajrebatee
-
·
In reply to Stel
S
- ·
Try these links (especially the first video, which I used to set up mine S3)...
UNA video on how to set AWS storage:
https://una.io/page/view-event-profile?id=5
Documentation:
-
- · Ronald
- ·
in your bucket you don't put the folder "storage". just the folders: sys_images_resized and all the other folders who are in the storage folder.