How to get fresh re-installed Aegir to recognize (import?) existing sites and platforms under previous working aegir install
I had a working system of aegir 1.9 with existing verified sites and platforms. I had to completely re-install the aegir system, and I cannot seem to get it to import or recognize pre-existing platforms and sites. I staill have all the databases w<ith their data and all the files and modules in place for all the pre-existing sites and platforms.
I had a problem with memcached when first attempting this, so I purged memcached. Now the servers and newly created platforms and newly-created sites verify, but I cannot run drush up on the newly created sites successfully - that is, it will not update modules, stating that it cannot move a file, or a directory is not writable. IS there a specific permission problem that needs to be taken care of when attempting this? Is this supported - the import so to speak of pre-existing platforms and sites on a fresh aegir re-install?
What I've done to try to solve the problem: - I have chown aegir:aegir just about everything, in /var/aegir/ - I have : Defaults envreset Defaults:aegir !requiretty
root ALL=(ALL) ALL %sudo ALL=(ALL) ALL root ALL=(aegir) NOPASSWD: ALL aegir ALL=NOPASSWD: /usr/sbin/apache2ctl in the /etc/sudoers file in that order (is that overkill? any problem there?)
A possible error is when I run, as the aegir user "sudo /usr/sbin/apache2ctl graceful" , it appears as if apache2 is restarting, but there is no green OK afterwards (and there is when I restart apche2 as root user /etc/init.d/apache2 restart) and also, I have checked and seen that the PID of apache2 does not change when I run the "sudo /usr/sbin/apache2ctl graceful" command as the aegir user. (It does when I restart apache2 as root ) Does this mean that aegir is not actually restarting apache2? I receive no error messages at all.
I am running debian squeeze and aegir 1.9. I also have PHP 5.4 installed (not sure if I can downgrade to PHP 5.3, and all this was working fine BEFORE i mistakenly upgraded drush to 5.) I have the proper drush 4.5 installed and no caching now. Drush command cc all, updb work fine on newly created sites, and all drush commands work on the hosmaste site. drush up and upc do not work on newly created verified sites - in which I used the same platform name as the pre-existing platform - thinking that I had to for aegir to recognize the pre-existing sites in the pre-existing platform. (Is this the correct way, or is this an error?)
Lastly, when I tru to use drush make to install a new platform, it does not work, I receive an error at the very end (after it downloaded everything): PHP Fatal Error: Call to a member function (make) on a non object in /usr/share/drush/commands/drush.make/drush_make.drush.inc on line 223. I assume this is due to an incompatibility with PHP 5.4 (please correct me if I am wrong) - however this is NOT my major problem right now - I need to get aegir to recognize pre-existing platforms and sites, and for the drush upc and up command to work in newly created sites. (All this worked with PHP 5.4 before the aegir re-install.)
I appreciate any advice here. Thank you.
No recent comments found.