Freso, on the first run it tries to create 'lib' folder in /usr/lib/drush. Run drush under root once and it will fix the error. Then run drush from the normal user.
Search Criteria
Package Details: drush-launcher 0.10.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/drush-launcher.git (read-only, click to copy) |
---|---|
Package Base: | drush-launcher |
Description: | A small wrapper around Drush for your global $PATH. |
Upstream URL: | https://github.com/drush-ops/drush-launcher |
Licenses: | GPL |
Conflicts: | drush, drush-git, drush-launcher-git |
Submitter: | sanduhrs |
Maintainer: | sanduhrs |
Last Packager: | sanduhrs |
Votes: | 52 |
Popularity: | 0.000000 |
First Submitted: | 2018-04-18 09:52 (UTC) |
Last Updated: | 2024-04-28 13:42 (UTC) |
Dependencies (4)
- php
- composer (composer-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- php-boxAUR (php-box-binAUR) (make)
Required by (0)
Sources (1)
<deleted-account> commented on 2013-02-15 06:35 (UTC)
VVS commented on 2012-10-17 13:02 (UTC)
2realitygaps
I'm found http://drupal.stackexchange.com/questions/4088/drush-open-basedir-restriction-in-effect-on-media-temple and solve my problem with open_basedir
Thanks!
drush 5.7 is out :)
Freso commented on 2012-08-08 16:21 (UTC)
I'm getting a "Directory /usr/lib/drush exists, but is not writable." when trying to run "drush" in /srv/http/localhost/drupal/8. I'm guessing that directory shouldn't be writeable either, so... any idea what's up?
realitygaps commented on 2012-05-10 17:51 (UTC)
VVS: You need to add the drush paths to your open_basedir restriction in /etc/php/php.ini (according to the error)
VVS commented on 2012-05-09 18:40 (UTC)
Error:
> drush status
PHP Warning: require(): open_basedir restriction in effect. File(/usr/lib/drush/includes/bootstrap.inc) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/lib/drush/drush.php on line 11
PHP Warning: require(/usr/lib/drush/includes/bootstrap.inc): failed to open stream: Operation not permitted in /usr/lib/drush/drush.php on line 11
PHP Fatal error: require(): Failed opening required '/usr/lib/drush/includes/bootstrap.inc' (include_path='.:/usr/share/pear') in /usr/lib/drush/drush.php on line 11
realitygaps commented on 2012-05-09 14:06 (UTC)
Since this package has not been updated recently, I've created a drush5 package - https://aur.archlinux.org/packages.php?ID=59148 which I'll try keep up to date until either this package is updated or jheretic decides not to maintain the package anymore.
Freso commented on 2012-01-05 21:30 (UTC)
Trying to invoke drush, I get this:
"""
kotake% drush
PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/lib/drush/includes/environment.inc) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/lib/drush/drush.php on line 26
PHP Warning: require_once(/usr/lib/drush/includes/environment.inc): failed to open stream: Operation not permitted in /usr/lib/drush/drush.php on line 26
PHP Fatal error: require_once(): Failed opening required '/usr/lib/drush/includes/environment.inc' (include_path='.:/usr/share/pear') in /usr/lib/drush/drush.php on line 26
"""
Is there some way of adding /usr/lib/drush to the open_basedir upon install?
<deleted-account> commented on 2011-10-03 05:32 (UTC)
When i try update it gives me this error.
Command pm-update needs a higher bootstrap level to run - you will [error]
need invoke drush from a more functional Drupal environment to run
this command.
Command pm-update needs the following modules installed/enabled to [error]
run: update.
The drush command 'up' could not be executed. [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Hint: This error often occurs when Drush is trying to bootstrap a
site that has not been installed or does not have a configured
database.
or
<h2>A PDO database driver is required!</h2><p>You need to enable the PDO_MYSQL database driver for PHP 5.2.4 or higher so that Drupal 7 can access the database.</p><p>See the <a href="http://drupal.org/requirements/pdo">system requirements page</a> for more information.</p>Drush command terminated abnormally due to an unrecoverable error. [error]
best regards
ArchGalileu
jheretic commented on 2011-01-27 22:09 (UTC)
Thanks for the PKGBUILD, I updated the AUR accordingly. Sorry for the lack of updates, I have been having a lot of problems with my laptop recently.
Pinned Comments