Closed (won't fix)
Project:
Drush
Version:
8.x-6.x-dev
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Oct 2012 at 13:31 UTC
Updated:
11 Sep 2013 at 05:17 UTC
Hi,
I updated a multisite the first time with
drush @sites pm-update
Then I tried
drush @sites updatedb
But now I always get this error, even when I just use
Cannot redeclare runserver_drush_help() (previously declared in /root/drush/commands/runserver/runserver.drush.inc:30)
on a single site.
I have no idea what this means and what to do next...
Best Joerg
Comments
Comment #1
jonhattanIt seems you have a second copy of drush somewhere that is being loaded.
Comment #2
JoergPf commentedI have this link in
lrwxrwxrwx 1 root root 17 2012-07-13 10:01 /usr/bin/drush -> /root/drush/drush
In /root I have the normal drush folder.
drwxr-xr-x 8 root root 4,0K 2012-09-08 09:54 commands
drwxr-xr-x 2 root root 4,0K 2012-09-08 09:54 docs
-rwxr-xr-x 1 root root 3,3K 2012-09-08 09:54 drush
-rw-r--r-- 1 root root 743 2012-09-08 09:54 drush.bat
-rw-r--r-- 1 root root 1,4K 2012-09-08 09:54 drush.complete.sh
-rw-r--r-- 1 root root 161 2012-09-08 09:54 drush.info
-rw-r--r-- 1 root root 23K 2012-09-08 09:54 drush_logo-black.png
-rwxr-xr-x 1 root root 6,0K 2012-09-08 09:54 drush.php
drwxr-xr-x 2 root root 4,0K 2012-09-08 09:54 examples
-rw-r--r-- 1 root root 24 2012-09-08 09:54 .gitignore
drwxr-xr-x 2 root root 4,0K 2012-09-08 09:54 includes
drwxr-xr-x 3 root root 4,0K 2012-09-08 09:54 lib
-rw-r--r-- 1 root root 18K 2012-09-08 09:54 LICENSE.txt
-rw-r--r-- 1 root root 13K 2012-09-08 09:54 README.txt
drwxr-xr-x 5 root root 4,0K 2012-09-08 09:54 tests
-rw-r--r-- 1 root root 560 2012-09-08 09:54 .travis.yml
How could I find a second drush?
Any help very welcome, I'm not a linux pro and I really need drush...
Comment #3
jonhattanPlease post the full log error. AFAIK, the error line include the path to both files declaring the conflicting function.
Comment #4
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.