cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Amazon S3 Bucket for Data Storage in Alfresco Community Edition 7.2.2

Sai-1411
Confirmed Champ
Confirmed Champ

Hi Team,

I have installed Alfresco Community Edition 7.2.2 on Ubuntu 22.04 using distribution packages, and I need to configure an Amazon S3 bucket for storing the alf_data folder.

Could you please guide me on how to configure and implement these settings in Alfresco? I understand that the settings would be the same for Windows as well, so any guidance would be appreciated for both environments.

Thank you in advance for your assistance.

Best regards
Sai

3 REPLIES 3

fedorow
Elite Collaborator
Elite Collaborator

Alfresco 'dir.root' property set the path to alf_data. You can change it in alfresco-global.properties in the $TOMCAT_DIR/shared/classes folder.

  1. Properly mount S3 bucket as Ubuntu folder and make it persistent. For example: /mnt/s3bucket
  2. Stop Alfresco.
  3. Move/copy/rsync your alf_data folder into the mounted path.
  4. Change ownership of /mnt/s3bucket/alf_data and it's content to your alfresco user.
  5. Add/change in the alfresco-global.properties dir.root=/mnt/s3bucket/alf_data
  6. Start Alfresco.
  7. Check the logs.

Lucas01101
Champ in-the-making
Champ in-the-making

I’m trying to configure Amazon S3 for media storage in WordPress using the WP Offload Media plugin. After setting up the Amazon S3 bucket, the plugin shows the media as uploaded, but some files are not visible on the front end of the site.

Possible Causes:

The permissions for the Amazon S3 bucket might not be set correctly.

The Amazon S3 region might be incompatible with the server region of your website.

There could be a plugin conflict that’s preventing media from syncing properly.

LunaOvia1231v
Champ in-the-making
Champ in-the-making

After migrating my WordPress website to a new host, I'm experiencing issues with media files stored in Amazon S3 not displaying correctly. I followed all steps for Amazon S3 integration, but after the migration, images are broken and don’t load.