Skip to content

Trellis Lima not adding new mounts #421

@mmoollllee

Description

@mmoollllee

Version

1.11.1

What did you expect to happen?

After adding a new wordpress site to group_vars and running trellis provision development I expected trellis-cli to add the new local_path to lima mount points.

What actually happens?

trellis provision development complains about missing composer.json and fails due to missing mount to local_path.

To solve the issue:

  • trellis vm stop
  • limactl edit <instance-name>
  • add mountpoint to existing mountslist
  • save and do not confirm start vm (had port problems doing so)
  • trellis vm start
  • trellis provision development

Steps to reproduce

Add another site to group_vars/development/wordpress_sites.yml in a existing project and run trellis provision development

System info

macOS
trellis-cli
lima

Log output

No response

Please confirm this isn't a support request.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions