GiveToken / GiftBox

Repository for Sizzle
0 stars 0 forks source link

City image uploads fail #1001

Open wogsland opened 8 years ago

wogsland commented 8 years ago
screen shot 2016-04-27 at 3 47 17 pm
wogsland commented 8 years ago

Not sure why the credentials stopped working. I have tried these possibilities to fix to no avail:

location        user/group  #bugs post  500 error   
/root/      root            yes         yes 
/root/      apache      yes         yes 
/           apache      yes         yes 
/           root            yes         yes 
~/          root            yes         yes 
~/          ec2-user        yes         yes 
~/          apache      yes         yes 
/var/www/       apache      no, then yes    yes 
/var/www/       root            yes         yes 
/home/apache    apache      yes         yes created dir only for this purpose
wogsland commented 8 years ago

Also not working on Hermes, where I am actually testing this.

wogsland commented 8 years ago

Made credentials executable & put it in

 /
 /root/
 ~/
 /var/www/

Also didn't work.

wogsland commented 8 years ago

Tried adding back in default credentials.

wogsland commented 8 years ago

"Using IAM roles is the preferred technique for providing credentials to applications running on Amazon EC2." - http://docs.aws.amazon.com/aws-sdk-php/v2/guide/credentials.html#instance-profile-credentials

"You can't assign a role to an existing instance; you can only specify a role when you launch a new instance." - http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html

wogsland commented 8 years ago

Installed Hermes locally on Robbie's machine & ignoring this for now.