Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: HerdHelper will not run #1267

Open
earmsby opened this issue Feb 5, 2025 · 5 comments
Open

[Bug]: HerdHelper will not run #1267

earmsby opened this issue Feb 5, 2025 · 5 comments
Labels

Comments

@earmsby
Copy link

earmsby commented Feb 5, 2025

Platform

Windows

Operating system version

Windows 11

System architecture

Intel (x86)

Herd Version

1.14.0

PHP Version

No response

Bug description

After using herd for some weeks, as of today HerdHelper will not start. I have turned on Debug mode but no logs appear in the directory shown (C:\Windows\System32\Logs). I've also tried changing the port from 5000 to 5002 as well as 5003 and 5001. Changing the port did not solve the problem. I also tried disabling my anti-virus software (MalwareBytes) and verifying that the service is on the allowed list in Windows Defender Firewall.

The only thing that seemed to work was manually running the exe file from MYUSERNAME.config\herd\bin. Doing that makes the status indicator in the config settings turn green but I still cannot access the new site in the browser. If I add the site manually to the hosts file, I can finally access the site.

I did search for other instances of this problem and found a few but the solution was not clear.

Steps to reproduce

No response

Relevant log output

@issuelabeler issuelabeler bot added the windows label Feb 5, 2025
@sschlein
Copy link
Member

sschlein commented Feb 5, 2025

Hey, I'm about to update the docs (and try to fix the still unknown but underlying issue).

It seems that the most recent Windows update removes the helper from the Windows Services for some users. Can you try and see if that's the case? The easiest way to solve that is by running the latest installer and this will install the service again.

@earmsby
Copy link
Author

earmsby commented Feb 5, 2025

Thanks for your quick reply.

In checking Windows Services, I do not see anything related to Herd, unless it is under some other name. Do you mean re-install herd completely?

@earmsby
Copy link
Author

earmsby commented Feb 5, 2025

I took your suggestion and reinstalled from the latest installer on the website and now I see herdHelper running in services and the status indicator is green.

I still can't view the site that I didn't add manually to the hosts file, though. At what point does herdhelper add the domain to the hosts file? I wonder if I'm misunderstanding how/when that happens.

@sschlein
Copy link
Member

sschlein commented Feb 5, 2025

That usually happens when you start Herd or change a directory name within a parked directory. There should also be logs now that may point us in the right direction 🙂

@earmsby
Copy link
Author

earmsby commented Feb 5, 2025

Apologies. Dumb error. I typed the URL incorrectly. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants