The command could not be executed successfully (returned: Deploying site from [1;32;40m[1m [success] [0m /var/aegir/backups/test.foo.com-20160906.140616.tar.gz Created testfoocom_0 database [1;32;40m[1m [success] [0m Successfully extracted the contents of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com Changed group ownership of files in [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/files to www-data Changed group ownership of private files in [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/private/files to www-data Changed group ownership of temp files in [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/private/temp to www-data Changed permissions of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/drushrc.php to 640 Generated config in write(): Site Drush configuration file [1;32;40m[1m [success] [0m (/var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/drushrc.php) Changed permissions of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/drushrc.php to 440 Platforms path /var/aegir/platforms exists. [1;32;40m[1m [success] [0m Platforms ownership of /var/aegir/platforms has been changed to [1;32;40m[1m [success] [0m aegir. Platforms permissions of /var/aegir/platforms have been changed to [1;32;40m[1m [success] [0m 755. Platforms path /var/aegir/platforms is writable. [1;32;40m[1m [success] [0m Changed group ownership of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/local.settings.php to www-data Changed permissions of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/local.settings.php to 440 Changed permissions of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/settings.php to 640 Generated config in write(): Drupal settings.php file [1;32;40m[1m [success] [0m (/var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/settings.php) Changed permissions of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/settings.php to 440 Change group ownership of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/settings.php to www-data Platforms path /var/aegir/platforms exists. [1;32;40m[1m [success] [0m Platforms ownership of /var/aegir/platforms has been changed to [1;32;40m[1m [success] [0m aegir. Platforms permissions of /var/aegir/platforms have been changed to [1;32;40m[1m [success] [0m 755. Platforms path /var/aegir/platforms is writable. [1;32;40m[1m [success] [0m Found database dump at [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/database.sql. Database dump at [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/database.sql is readable Generated config in write(): Drupal sites.php file [1;32;40m[1m [success] [0m (/var/aegir/platforms/foo-master-51bf6c2/web/sites/sites.php) Changed permissions of [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/sites.php to 644 Changed permissions of sites/test.foo.com to 755 [1;32;40m[1m [success] [0m Changed permissions of sites/test.foo.com/themes to [1;32;40m[1m [success] [0m 2775 Changed permissions of sites/test.foo.com/modules to [1;32;40m[1m [success] [0m 2775 Changed permissions of sites/test.foo.com/libraries to [1;32;40m[1m [success] [0m 2775 Changed permissions of sites/test.foo.com/files to 2770[1;32;40m[1m [success] [0m Changed permissions of sites/test.foo.com/files/tmp to [1;32;40m[1m [success] [0m 2770 Changed permissions of sites/test.foo.com/files/images [1;32;40m[1m [success] [0m to 2770 Changed permissions of [1;32;40m[1m [success] [0m sites/test.foo.com/files/pictures to 2770 Changed permissions of sites/test.foo.com/files/css to [1;32;40m[1m [success] [0m 2770 Changed permissions of sites/test.foo.com/files/js to [1;32;40m[1m [success] [0m 2770 Changed permissions of sites/test.foo.com/files/ctools [1;32;40m[1m [success] [0m to 2770 Changed permissions of [1;32;40m[1m [success] [0m sites/test.foo.com/files/imagecache to 2770 Changed permissions of [1;32;40m[1m [success] [0m sites/test.foo.com/files/locations to 2770 Changed permissions of sites/test.foo.com/private to [1;32;40m[1m [success] [0m 2770 Changed permissions of sites/test.foo.com/private/files[1;32;40m[1m [success] [0m to 2770 Changed permissions of sites/test.foo.com/private/temp [1;32;40m[1m [success] [0m to 2770 Changed permissions of sites/test.foo.com/files/styles [1;32;40m[1m [success] [0m to 2770 Changed permissions of [1;32;40m[1m [success] [0m sites/test.foo.com/private/config to 2770 Changed permissions of [1;32;40m[1m [success] [0m sites/test.foo.com/private/config/active to 2770 Changed permissions of [1;32;40m[1m [success] [0m sites/test.foo.com/private/config/sync to 2770 Changed group ownership of sites/test.foo.com/files to [1;32;40m[1m [success] [0m www-data Changed group ownership of sites/test.foo.com/files/tmp[1;32;40m[1m [success] [0m to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/files/images to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/files/pictures to www-data Changed group ownership of sites/test.foo.com/files/css[1;32;40m[1m [success] [0m to www-data Changed group ownership of sites/test.foo.com/files/js [1;32;40m[1m [success] [0m to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/files/ctools to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/files/imagecache to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/files/locations to www-data Changed group ownership of sites/test.foo.com/private [1;32;40m[1m [success] [0m to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/private/files to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/private/temp to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/files/styles to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/private/config to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/private/config/active to www-data Changed group ownership of [1;32;40m[1m [success] [0m sites/test.foo.com/private/config/sync to www-data Removed dump file [1;32;40m[1m [success] [0m /var/aegir/platforms/foo-master-51bf6c2/web/sites/test.foo.com/database.sql after restoring from it Generated config in write(): virtual host configuration file [1;32;40m[1m [success] [0m (/var/aegir/config/server_master/nginx/vhost.d/test.foo.com) PHP Fatal error: Call to undefined function drupal_get_installed_schema_version() in /var/aegir/platforms/foo-master-51bf6c2/web/core/includes/install.inc on line 80 Fatal error: Call to undefined function drupal_get_installed_schema_version() in /var/aegir/platforms/foo-master-51bf6c2/web/core/includes/install.inc on line 80 Drush command terminated abnormally due to an unrecoverable error. [31;40m[1m[error][0m Error: Call to undefined function drupal_get_installed_schema_version() in /var/aegir/platforms/foo-master-51bf6c2/web/core/includes/install.inc, line 80 The external command could not be executed due to an application [31;40m[1m[error][0m error. Generated config in write(): virtual host configuration file [1;32;40m[1m [success] [0m (/var/aegir/config/server_master/nginx/vhost.d/test.foo.com) , code: 1)