2.0.3 stable install on Ubuntu 12.04, Barracuda only (I exclusively use custom platforms).

After completely fresh install of barracuda, I install a custom platform, which verifies just fine. However, upon attempt to install a site on that platform, I get 4x of the error:

Dummy connection failed to fail. Either your MySQL permissions are too lax, or the response was not understood. See http://is.gd/Y6i4FO for more information. sh: 1: mysql: not found

As user aegir, mysql command line interface works (though requires credentials of course). Drush sql-cli in Barracuda hostmaster site context works. As user root, mysql command line interface 'just works'. As a matter of fact, I cannot find a way to make the system fail to find the mysql executable.

Screenshot of Aegir install log w/ errors, and Barracuda install log files attached.

CommentFileSizeAuthor
barracuda.cnf_.txt1.36 KBobrienmd
barracuda_log.txt209 bytesobrienmd
mysql issue.PNG62.36 KBobrienmd

Comments

omega8cc’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

Have you tried this with just hostmaster platform or any other basic platform, to make sure it is not platform specific? I don't see any reason for this.

obrienmd’s picture

I have tried D7 vanilla, Pressflow 6 vanilla and hostmaster.

omega8cc’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Active

I just reproduced this. Weird.

omega8cc’s picture

Component: Miscellaneous » Code
Priority: Normal » Critical

Ouch, what a stupid bug.

Please run this:

sed -i "s/^PATH=.*/PATH=\/opt\/local\/bin:\/sbin:\/bin:\/usr\/sbin:\/usr\/bin/g" /var/spool/cron/crontabs/aegir

omega8cc’s picture

Title: Custom platform site install fails, cannot find mysql, on 2.0.3 new install on Ubuntu 12.04 » Incomplete PATH in /var/spool/cron/crontabs/aegir breaks standard tasks in the Master Instance
Status: Active » Fixed

Hot fix applied both to stable and HEAD: http://drupalcode.org/project/barracuda.git/commit/627c44b

Thanks for the report!

obrienmd’s picture

Title: Incomplete PATH in /var/spool/cron/crontabs/aegir breaks standard tasks in the Master Instance » Custom platform site install fails, cannot find mysql, on 2.0.3 new install on Ubuntu 12.04
Status: Fixed » Active

Thanks, works great!

obrienmd’s picture

Title: Custom platform site install fails, cannot find mysql, on 2.0.3 new install on Ubuntu 12.04 » Incomplete PATH in /var/spool/cron/crontabs/aegir breaks standard tasks in the Master Instance
Status: Active » Fixed

Oops, old stale form submitted...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.