Aegir new site creation fails due to permission issues

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Th30philus's picture

I've successfully installed Aegir 0.4-alpha5.
I then successfully installed and verified Pressflow 6.15.73.
I created a site in Aegir on the Pressflow platform, but when I went to the new site I created, it halted at step 2, Verify Requirements, because the system could not write to settings.php or the files directory.

I went to the directory, and confirmed that settings.php and the files directory were not writeable:

drwxrws--- 5 aegir www-data 4096 2010-02-25 01:35 files
-r--r----- 1 aegir www-data 2563 2010-02-25 01:35 settings.php

After manually changing the file permissions to make them writable (which took several attempts for a Linux newbie like myself), the installation continued and the site seems normally accessible, but why is it necessary to do so? If Aegir needs this file and directory to be writeable, why doesn't it simply make it so.

Comments

After further tinkering . . .

Th30philus's picture

I got the site new site example.com working. I had setup a url alias of www.example.com, which also worked. I decided to see what would happen if I edited the site in Aegir and added another url alias, abc.example.com.

What happened is that the site is now reinstalling itself with the same write errors at step 2. I assume this is not the intended behavior (is it?), which leads me to believe that perhaps the issue is not Aegir's setting of write permissions. But what is it? I cannot access example.com/index.php -- it redirects me to the standard install wizard. The aliases work -- they both point to example.com, but that dumps me into the standard install wizard. Any ideas?

BTW, I'm running on Nginx, though I'm not sure why that might cause this problem.

If You Didn't Get An Answer

jacobson's picture

I ran into the same problem. The directories you cite must be chmod 750 and owned by aegir:aegir (assuming that is the name of your aegir user).

HAJ

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: