drush status shows Site URI of 'http://default' when only one site directory exists

Created on 15 May 2011, over 13 years ago
Updated 21 April 2024, 7 months ago

The /sites folder for the site in question contains the following subfolders:

./all
./default

The only settings.php file is in default. Yet when I execute drush status, the Site URI value is always given as 'http://default' unless I explicitly specify the URI.

Is this normal behavior now? If not, what are some configuration elements that could be causing it?

💬 Support request
Status

Closed: cannot reproduce

Version

6.0

Component

Miscellaneous

Created by

🇺🇸United States escoles

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India DhruvR

    Nothing work for me can some one guide please

  • 🇺🇦Ukraine SerShevchyk Lutsk

    If you use Lando for local development you can add the next lines to the .lando.yml

    tooling:
      drush:
        service: appserver
        cmd: /bin/sh -c "drush --root=$LANDO_WEBROOT --uri=https://$LANDO_APP_NAME.lndo.site $@" "$0"
    
Production build 0.71.5 2024