herd-community icon indicating copy to clipboard operation
herd-community copied to clipboard

[Bug]: `herd link` does not create a new site anymore

Open o1y opened this issue 1 year ago • 4 comments

Platform

macOS

Operating system version

macOS 15.0 (24A335)

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.11.0 (Build: 33)

PHP Version

PHP 8.3.12

Bug description

I cannot create a site anymore using herd link.

Steps to reproduce

❯ herd link
A [my-site] symbolic link has been created in [/Users/oliver/Library/Application Support/Herd/config/valet/Sites/my-site].

This command creates a symlink, but no site has been added to the Sites overview, and you can't unlink or access the site.

❯ herd unlink
In Site.php line 30:

  my-site is not linked.

unlink [<name>]

It seems that also the Sites UI can't create a site anymore. This is the log output:

link [--secure] [--isolate ISOLATE] [--] [<name>]
In Site.php line 184:
The [my-site] site could not be found in Valet's
site list.
A [my-site] symbolic link has been created in [/Users/oliver/Library/Application Support/Herd/config/valet/Sites/my-site].

o1y avatar Oct 03 '24 08:10 o1y