I am trying to install aegir on RHEL 7 with PHP 5.4.16 and MariaDB 5.5.52. But got the following error messages during installation:
exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'xxx.system' doesn't exist' in /var/aegir/hostmaster-7.x-3.9/includes/database/database.inc:2227
Stack trace:
#0 /var/aegir/hostmaster-7.x-3.9/includes/database/database.inc(2227): PDOStatement->execute(Array)
#1 /var/aegir/hostmaster-7.x-3.9/includes/database/database.inc(697): DatabaseStatementBase->execute(Array, Array)
#2 /var/aegir/hostmaster-7.x-3.9/includes/database/database.inc(2406): DatabaseConnection->query('SELECT * FROM {...', Array, Array)
#3 /var/aegir/hostmaster-7.x-3.9/includes/module.inc(165): db_query('SELECT * FROM {...')
#4 /var/aegir/hostmaster-7.x-3.9/includes/module.inc(89): system_list('module_enabled')
#5 /var/aegir/hostmaster-7.x-3.9/includes/bootstrap.inc(3313): module_list(true)
#6 /var/aegir/hostmaster-7.x-3.9/includes/bootstrap.inc(3277): drupal_get_complete_schema()
#7 /var/aegir/hostmaster-7.x-3.9/includes/bootstrap.inc(369): SchemaCache->resolveCacheMiss('file_managed')
#8 /var/aegir/hostmaster-7.x-3.9/includes/bootstrap.inc(358): DrupalCacheArray->offsetGet('file_managed')
#9 /var/aegir/hostmaster-7.x-3.9/includes/bootstrap.inc(3252): DrupalCacheArray->offsetExists('file_managed')
#10 /var/aegir/hostmaster-7.x-3.9/includes/common.inc(7217): drupal_get_schema('file_managed')
#11 /var/aegir/hostmaster-7.x-3.9/includes/common.inc(7867): drupal_schema_field_types('file_managed')
#12 /var/aegir/hostmaster-7.x-3.9/includes/common.inc(8039): entity_get_info('user')
#13 /var/aegir/hostmaster-7.x-3.9/includes/common.inc(8005): entity_get_controller('user')
#14 /var/aegir/hostmaster-7.x-3.9/modules/user/user.module(291): entity_load('user', Array, Array, false)
#15 /var/aegir/hostmaster-7.x-3.9/modules/user/user.module(366): user_load_multiple(Array, Array, false)
#16 /var/aegir/.drush/provision/platform/drupal/install_7.inc(160): user_load(1)
#17 /var/aegir/.drush/provision/platform/drupal/install_7.inc(170): install_main()
#18 phar:///usr/bin/drush/includes/drush.inc(78): include_once('/var/aegir/.dru...')
#19 phar:///usr/bin/drush/includes/engines.inc(520): drush_include('/var/aegir/.dru...', 'install')
#20 /var/aegir/.drush/provision/platform/provision_drupal.drush.inc(89): drush_include_engine('drupal', 'install')
#21 [internal function]: drush_provision_drupal_provision_install_backend()
#22 phar:///usr/bin/drush/includes/command.inc(422): call_user_func_array('drush_provision...', Array)
#23 phar:///usr/bin/drush/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#24 [internal function]: drush_command()
#25 phar:///usr/bin/drush/includes/command.inc(199): call_user_func_array('drush_command', Array)
#26 phar:///usr/bin/drush/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#27 phar:///usr/bin/drush/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#28 phar:///usr/bin/drush/includes/startup.inc(458): drush_main()
#29 phar:///usr/bin/drush/includes/startup.inc(365): drush_run_main(false, '/', 'Phar detected. ...')
#30 phar:///usr/bin/drush/drush(114): drush_startup(Array)
#31 /usr/bin/drush(10): require('phar:///usr/bin...')
#32 {main}
I have tried with aegir 7.x-3.8 version as well. Same issue. Could someone please help?
Comments
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedIt looks like the installation failed a bit earlier ... this error is just the result of that ... the hostmaster db could be empty.
Do you have the full logs? If you see nothing there then you could try the --debug flag for the hostmaster install command.