Skip to content

There are no commands defined in the "self" namespace. #122

@stasadev

Description

@stasadev

Is there an existing issue for this?

  • I have searched the existing issues

From Discord https://discord.com/channels/664580571770388500/1068592266752573440/1246171053257003032

Expected Behavior

After switching to go-based platform.sh CLI binary in

hooks:
post-start:
- exec: platform self:update -qy --no-major || true

The hook should be updated with:

(sudo apt-get update &>/dev/null || true) && (sudo apt-get install -y platformsh-cli &>/dev/null || true)

And a new restriction for DDEV v1.23.0+ should be added.

Or maybe that update line should be simply removed.

Actual Behavior

platform self:update -qy --no-major || true

  [CommandNotFoundException]                              
  There are no commands defined in the "self" namespace.

Steps To Reproduce

Use the latest DDEV with this add-on, run ddev start.

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