Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when environment installing Drupal #4

Open
vacho opened this issue Apr 19, 2021 · 3 comments
Open

Error when environment installing Drupal #4

vacho opened this issue Apr 19, 2021 · 3 comments

Comments

@vacho
Copy link

vacho commented Apr 19, 2021

After fin init...

Installing Drupal...
Unable to load class Drush\Sql\Sql [error]
Drush\Sql\SqlException: Unable to find a matching SQL Class. Drush cannot find your database connection details. in phar:///usr/local/bin/drush8/commands/sql/sql.drush.inc:554 [error]
Stack trace:
#0 phar:///usr/local/bin/drush8/commands/core/site_install.drush.inc(124): drush_sql_get_class()
#1 phar:///usr/local/bin/drush8/includes/command.inc(422): drush_core_pre_site_install('standard', 'install_configu...')
#2 phar:///usr/local/bin/drush8/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#3 phar:///usr/local/bin/drush8/includes/command.inc(199): drush_command('standard', 'install_configu...')
#4 phar:///usr/local/bin/drush8/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#5 phar:///usr/local/bin/drush8/includes/preflight.inc(67): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#6 phar:///usr/local/bin/drush8/includes/startup.inc(465): drush_main()
#7 phar:///usr/local/bin/drush8/includes/startup.inc(369): drush_run_main(false, '/', 'Phar detected. ...')
#8 phar:///usr/local/bin/drush8/drush(114): drush_startup(Array)
#9 /usr/local/bin/drush8(10): require('phar:///usr/loc...')
#10 {main}
real 0.25
user 0.21
sys 0.04

@jhedstrom
Copy link
Collaborator

Hmm, could you try editing .docksal/commands/init-site to add --verbose to the various drush commands run within there?

@vacho
Copy link
Author

vacho commented Apr 19, 2021

After add --verbose to command drush site-install --verbose standard -y \

Same message, no more details
Installing Drupal...
Unable to load class Drush\Sql\Sql [error]
Drush\Sql\SqlException: Unable to find a matching SQL Class. Drush cannot find your database connection details. in phar:///usr/local/bin/drush8/commands/sql/sql.drush.inc:554 [error]
Stack trace:
#0 phar:///usr/local/bin/drush8/commands/core/site_install.drush.inc(124): drush_sql_get_class()
#1 phar:///usr/local/bin/drush8/includes/command.inc(422): drush_core_pre_site_install('standard', 'install_configu...')
#2 phar:///usr/local/bin/drush8/includes/command.inc(231): _drush_invoke_hooks(Array, Array)
#3 phar:///usr/local/bin/drush8/includes/command.inc(199): drush_command('standard', 'install_configu...')
#4 phar:///usr/local/bin/drush8/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#5 phar:///usr/local/bin/drush8/includes/preflight.inc(67): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#6 phar:///usr/local/bin/drush8/includes/startup.inc(465): drush_main()
#7 phar:///usr/local/bin/drush8/includes/startup.inc(369): drush_run_main(false, '/', 'Phar detected. ...')
#8 phar:///usr/local/bin/drush8/drush(114): drush_startup(Array)
#9 /usr/local/bin/drush8(10): require('phar:///usr/loc...')
#10 {main}
Command dispatch complete [notice]
real 0.24
user 0.19
sys 0.04

@jhedstrom
Copy link
Collaborator

Can you run fin config show | grep image and paste the results here? (alternatively the entire output of fin config show would be useful too.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants