403 Error: Access Denied
If there is an installation process and no production data in the S3 storage, the following error can occur:
/opt/workfusion/lib/s3cmd/s3cmd -c /opt/workfusion/apps/s3emu/etc/s3cfgfasttrack ls
ERROR: S3 error: 403 (AccessDenied): Access Denied
Statement
S3 is installed incorrectly.
Solution
If, during the installation process, the below error occurs, and so far there is no production data in S3, the fastest way is to reinstall s3emu.
Kill all Riak processes:
ps -ef | grep ria[k] kill <pids>Delete the previous installation:
rm -rf /opt/workfusion/lib/riak* rm -rf /opt/workfusion/apps/s3emuClean the
ACCESS_KEYandSEECRET_KEYvariables:cd /opt/workfusion/app-all/ sed -i 's/SECRET_KEY=.*/SECRET_KEY=/' environment.conf sed -i 's/ACCESS_KEY=.*/ACCESS_KEY=/' environment.conf source environment.confInstall
s3emu_master:cd /opt/workfusion/app-all/ ./workfusion_setup_full.sh -i s3emu_master