Moving Site to AWS - permissions issue

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
Appalbarry
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Mon May 09, 2011 11:06 pm

Moving Site to AWS - permissions issue

Post by Appalbarry » Thu May 12, 2016 2:54 am

Hello, I'm making the jump from shared hosting to AWS, so it's learning curve time.

I moved a small Joomla site over to an Amazon Linux AMI instance. (Moved over the entire directory; imported the mySQL data, changed the relevant configuration bits.)

It seems to be running just fine except for one issue: Joomla tells me that all folders are Unwriteable. (System | System Information | Folder permissions)

I can log in with Filezilla and confirm that Folders are 755 and files are 644.
If I change the logs folder to 777 it becomes writeable.

I think I'm missing something simple. Something with groups??

Thanks everyone - otherwise it's been a piece of cake.

rocky123
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Thu May 26, 2016 3:40 pm

Re: Moving Site to AWS - permissions issue

Post by rocky123 » Fri May 27, 2016 4:29 pm

You need:
1. Linux EC2 Instance (E.g. Amazon Linux AMI) (launch instance, connect via ssh)
2. Install apache, start httpd
3. Open port 80 in security group in Web AWS Console, check in browser if web server on your EC2 is available (test page should be displayed).
4. Install php, php-mysql, mysql
5. Restart httpd
6. Download and install Joomla.

Appalbarry
Joomla! Apprentice
Joomla! Apprentice
Posts: 40
Joined: Mon May 09, 2011 11:06 pm

Re: Moving Site to AWS - permissions issue

Post by Appalbarry » Sun Jun 05, 2016 6:53 pm

Thanks to a post here: http://joomla.stackexchange.com/questio ... unwritable

I have it solved:

I thought that changing the changing the group from root to apache would fix the issue but nothing changed. After reading another post on Joomla Forum I saw someone change the owner of the folders and files. So after I ran the following

sudo chown -R apache:apache /var/www/html/

Then, after refreshing my screen, I see the colour green again.

Green is good

So the files on the root of my web directory are set for permissions with 744. Folders with 755 and files in said folders are 644. Think I'm all set for now.


Locked

Return to “Installation Joomla! 3.x”