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
Access denied! [error] Drush command terminated abnormally due to an unrecoverable error. #3439
Comments
I would review your settings.php in Drupal. It is probably assuming web requests. You can add a block like
|
Oh yes, it was that; I had an http authentification setup which wasn't correctly skip when in php cli context! Sorry for the disturbance and thank you very much for the tip!!! |
Thanks, this helped. I had added an exit in settings.php as part of forcing HTTPS, and I guess internally Drupal is not using HTTPS, giving me a "Drush command terminated abnormally due to an unrecoverable error" when executing for example Anyways, adding
|
That one helped me out too. I was testing for a redirect and forgot to check that it was for the command line. |
Hello, I have an instance which on a particular hosting drush return "Access denied!":
While it fails through drush the instance run successfully through apache?!...
Also, I could not identify any files or directory that the user running drush cannot read ?!...
Any tips on how I could try to identify what is wrong?
The text was updated successfully, but these errors were encountered: