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

[Bug]: Logs: No sites found

Open AlexVanSteenhoven opened this issue 10 months ago • 5 comments

Platform

Windows

Operating system version

Windows 11 (24H2 build 26100.3194)

System architecture

Windows

Herd Version

1.15.0

PHP Version

No response

Bug description

Once I click on "Open Log Viewer", previously it was always in a loading state. Now since the last update (1.14.0 -> 1.15.0) which I installed just a few minutes ago, I get the message "No sites found".

Is there a way to fix this?

I've added a part of the output of herd parked --json to show that there are actually sites that should have logs.

[
  {
    "site": "de-nagelwerkplaats",
    "secured": "",
    "url": "http://de-nagelwerkplaats.test",
    "path": "E:\\projects\\personal\\de-nagelwerkplaats",
    "phpVersion": "8.4"
  },
  {
    "site": "default-dashboard",
    "secured": "",
    "url": "http://default-dashboard.test",
    "path": "E:\\projects\\work\\default-dashboard",
    "phpVersion": "8.4"
  },
  {
    "site": "helpdesk",
    "secured": "",
    "url": "http://helpdesk.test",
    "path": "E:\\projects\\personal\\helpdesk",
    "phpVersion": "8.4"
  }
]

Steps to reproduce

No response

Relevant log output

No response

AlexVanSteenhoven avatar Feb 20 '25 08:02 AlexVanSteenhoven

What kind of projects are you running? Are those Laravel apps?

mpociot avatar Mar 05 '25 09:03 mpociot

Yep all projects are made with Laravel

AlexVanSteenhoven avatar Mar 13 '25 10:03 AlexVanSteenhoven

Sorry for the slow reply, would you share which PHP versions you have in Herd? Is the problem still there?

If you only have PHP 8.4, does it work if you install 8.3?

The log viewer is compatible with 8.4 but I wonder why the problem is there since the 8,4 compatibility fix.

sschlein avatar Mar 31 '25 13:03 sschlein

I Have installed all versions, from php 7.4 to 8.4

I've tested every php version but still I only see 'no sites found'

AlexVanSteenhoven avatar Apr 02 '25 12:04 AlexVanSteenhoven

Any updates on this?

AlexVanSteenhoven avatar Apr 18 '25 11:04 AlexVanSteenhoven