Commands from Drush

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

I have what I think should be a simple question that I am hoping someone can help me with. How do you "verify" a site using CLI (aka drush)?

I thought have tried "drush provision-verify" from within the sites folders and "drush @domain.com provision-verify" and get "command not found" errors.

Also, how can I manually force the main BOA queue to run?

Any ideas would be welcome.

Comments

provision-verify should have

bryan.cribbs's picture

provision-verify should have done it.

Are you logged in as the "aegir" user? The provision module is typically installed in ~aegir/.drush, so if you aren't the right user the provision module may not be found by drush.

Don't know on forcing BOA queue run.

Good luck!

@geofftech

omega8cc's picture

You need to became Aegir "system user", which is "aegir" for Master instance and "o1" (by default) for Satellite instance.

$ su -s /bin/bash - aegir
$ su -s /bin/bash - o1

When you are already logged in as an Aegir system user, you don't need to be in the site's directory to run drush commands, because you can use drush aliases. However, it is out of scope of the BOA project, as there is nothing BOA specific here, so you may want to use Aegir standard docs at c.a.o - http://community.aegirproject.org/notebook

BOA

Group organizers

Group notifications

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