Worked really well on my dev ubuntu vm. but tried same command to an almost identical platform on my production server and it gives this error:

php /var/aegir/drush/drush.php project-status /var/aegir/platforms/d6-prod-2011
05261001
Scanning Drupal sh: drush: not found platform /var/aegir/platforms/d6-prod-201105261001
 * hill-logan.co.uk
Can't parse system table: row was sh: drush: not found                               [error]
 * perlucida.com
Can't parse system table: row was sh: drush: not found                               [error]
 * sphop.perlucida.com
Can't parse system table: row was sh: drush: not found                               [error]
 * wormitplaygroup.perlucida.com
Can't parse system table: row was sh: drush: not found                               [error]
No unused modules

Any idea what might be wrong?

Comments

mvc’s picture

Component: Miscellaneous » Documentation
Assigned: Unassigned » mvc
Status: Active » Fixed

that error means that drush isn't in your $PATH. i've now documented this requirement:
http://drupalcode.org/project/project_status.git/commit/2d262dc

try placing a symbolic link to the drush executable in the directory $HOME/bin.
see also this primer on $PATH: https://kb.iu.edu/data/acar.html

Status: Fixed » Closed (fixed)

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