Skip to content

Local development outside of a container results in error because LAGOON env not present #29

@shreddedbacon

Description

@shreddedbacon

When calling drush la outside of a container deployed environment, if the LAGOON environment variable is not present, it returns an error below when attempting to get a token. The user experiencing this uses DDEV locally, and I'm unsure how DDEV local development works with Lagoon.

 [warning] Undefined array key 1 LagoonCommands.php:188

In Process.php line 269:

  The command "'ssh' '-p' "" '-o' 'ConnectTimeout=5' '-o' 'LogLevel=FATAL' '-o' 'UserKnownHostsFile=/dev/null' '-o' 'StrictHostKeyChecking=no' 'lag
  oon@' 'token'" failed.

  Exit Code: 255(Unknown error)

  Working directory: /Users/person/work/project/env/www

  Output:
  ================


  Error Output:
  ================
  Bad port ''

Raising the issue for tracking at least.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions