http://hostmaster.koumbit.net/provision/webroot/?q=admin/help/hosting

This page tells me to run this cronjob:

5 * * * * (php "/var/www//profiles/hostmaster/modules/drush/drush.php" hosting process)

This should actually by /var/www/provision/webroot/profiles...

Comments

anarcat’s picture

Title: wrong path in example cron job » wrong drush path in cron job
Priority: Minor » Critical

Actually, this is a more critical issue than I thought:

root@hostmaster:/var/www/provision/webroot# php /var/www/provision/webroot/profiles/hostmaster/modules/drush/drush.php hosting process
sh: /var/www//profiles/hostmaster/modules/drush/drush.php: Aucun fichier ou répertoire de ce type
anarcat’s picture

The problem with this is that installing in a subdir of DOCUMENT_ROOT is currently not supported.

anarcat’s picture

Priority: Critical » Normal

Not targeted for this release.

adrian’s picture

Title: wrong drush path in cron job » Installations in a subdirectory of DOCUMENT_ROOT not supported.
Version: » 5.x-0.1-alpha1

better title.

anarcat’s picture

Priority: Normal » Minor
adrian’s picture

The issue i ran into with regarding Drush breaking, was directly related to this.

For now, i think we should at least document the problem. It can be tested for during the wizard.

adrian’s picture

Status: Active » Fixed

I added a requirement in hook_requirements that tests for this, and stops the user from installing if the virtual host has been incorrectly configured.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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