The launcher script can cause an error if a DDEV project with the same name already exists

Created on 11 January 2025, 11 days ago

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Active

Component

Infrastructure

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

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

Merge Requests

Comments & Activities

  • Issue created by @phenaproxima
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts
  • Merge request !431Launcher tolerance โ†’ (Merged) created by phenaproxima
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Hmmm...postponing because for some reason I can't reproduce the error condition. Maybe newer versions of DDEV are smarter?

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    This is what I reported earlier but Iโ€™m sure you know thatโ€ฆ

    You moved back to reviewโ€ฆ should I?

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    I manually tested this and even wrote automated test coverage which confirms that ddev config is invoked as intended.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States Kristen Pol Santa Cruz, CA, USA

    Cool beans... here's what I did:

    1. Installed rc2 in one place without MR code
    2. Installed rc2 in another place without MR code and got error
    3. Downloaded the installer script to "another place" and retried and it worked and named it drupal-cms-3

    I assume 3 because I have a drupal-cms-dev project? Doesn't really matter but it's different and works :)

    All good! Thanks for this... so nice.

    macbookpro:drupal-cms kristenpol$ ./launch-drupal-cms.sh
    Creating a new DDEV project config in the current directory (/Users/kristenpol/Sites/quant/cms/testing-ddev2/drupal-cms) 
    Once completed, your configuration will be written to /Users/kristenpol/Sites/quant/cms/testing-ddev2/drupal-cms/.ddev/config.yaml
     
    Configuring a 'drupal11' project named 'drupal-cms-3' with docroot 'web' at '/Users/kristenpol/Sites/quant/cms/testing-ddev2/drupal-cms/web'.
    For full details use 'ddev describe'. 
    Unable to set permissions inside container on settings files: '' 
    No settings.php file exists, creating one 
    Configuration complete. You may now run 'ddev start'. 
    Starting drupal-cms-3... 
    Building project images... 
    ...
    
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Crediting @kristen pol for manual testing.

  • Pipeline finished with Skipped
    11 days ago
    #392616
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States phenaproxima Massachusetts

    Merged into 1.x and cherry-picked to 1.0.x. Nice to have this little quality of life improvement. Second impressions matter!

Production build 0.71.5 2024