Hello, I suspect something wrong with latest drush in barracuda.

I'm investigating, but it seems that i'm not able to invoke any drush commands provided by modules, when inside custom platforms (/data/disk/o1/static/platformname).

I installed a fresh BOA HEAD yesterday on a new Debian 7 server and copied some custom platforms and sites from other systems and they work.

I then tried to enable advagg and migrate modules (both contains drush commands) and they work in the website,
but not with drush.
I get:

o1@testserver:~$ drush @testsite.dev pm-list | grep advagg
[...]
Advanced CSS/JS Aggregation          Advanced CSS/JS Aggregation (advagg)              Module  Enabled        7.x-2.5
[...]

o1@testserver:~$ drush @testsite.dev advagg-cron
The drush command 'advagg-cron' could not be found.

I will try with a different custom platform to see if it is platform specific, but do you know if it's possible that is something related to php include paths or similar?
On older BOA i had no troubles with the same platform and it works also on DRUPAL 7.2 P.001 standard platform on this server...

Thanks for your help

Comments

omega8cc’s picture

Project: Barracuda » Octopus
Status: Active » Closed (works as designed)

  • Commit 55f68ef on master, 6.x-2.x by omega8cc:
    Issues #2226337 by netdream - Update the changelog to explain Drush...

  • Commit 55f68ef on master, 6.x-2.x by omega8cc:
    Issues #2226337 by netdream - Update the changelog to explain Drush...
netdreamer’s picture

Perfect! I was going mad...
You put so many cool features in the product that it's hard to stay tuned!

Just for reference, to install a new separate vanilla drush 6, you have to do some steps:

  1. download drush 6 from https://github.com/drush-ops/drush/archive/6.x.zip and put it in /opt/tools/drush/vanilla-drush6
  2. download the Console_Table package from http://download.pear.php.net/package/Console_Table-1.1.3.tgz and extract it in /opt/tools/drush/vanilla-drush6
  3. in that folder, copy examples/example.drush.ini to drush.ini (otherwise, drush reads the php.ini in the user home/.drush/php.ini that contains an open_basedir limitation that doesn't work with vanilla drush) and tune it (default allowed memory is 128Mb)
  4. create symbolic link in /usr/local/bin/vanilla-drush6 to /opt/tools/drush/vanilla-drush6/drush
  5. enjoy your new (unsecured) drush... and be careful!
omega8cc’s picture

Thanks for sharing the detailed how-to!