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

jonhattan’s picture

Status: Active » Postponed (maintainer needs more info)

It seems you have a second copy of drush somewhere that is being loaded.

JoergPf’s picture

I 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...

jonhattan’s picture

Please post the full log error. AFAIK, the error line include the path to both files declaring the conflicting function.

greg.1.anderson’s picture

Version: » 8.x-6.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: +Needs migration

This 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.