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

Valet has problems with executing commands from another drive. #12

Open
luukhoeben opened this issue Feb 28, 2017 · 15 comments
Open

Valet has problems with executing commands from another drive. #12

luukhoeben opened this issue Feb 28, 2017 · 15 comments
Labels

Comments

@luukhoeben
Copy link

luukhoeben commented Feb 28, 2017

Hey,

Everytime I try to run a valet command from my D drive in git bash, it says:
Could not start the phpfpmservice service. Check ~/.valet/Log for errors.

Only problem is that there is nothing in the logs..

I am running it as administrator, even in the default windows command prompt as administrator it doesn't work for some reason. When I try to run a command from my C drive it works, the problem is that I have a small boot drive (120GB SSD) so I can't really store much on there.

Is there any way to fix this issue?

Greetings,
Luuk Hoeben

@cretueusebiu
Copy link
Owner

cretueusebiu commented Feb 28, 2017

You have to run all the Valet commands that restart a service from the C drive (eg: valet install, valet start, valet restart, valet stop).

But you can still run valet park folder / valet link folder from the D drive but if you want to secure a domain you'll have to run valet secure some-site from the C drive.

@dalevfenton
Copy link

I had this same issue today, trying to secure a site on my D drive. As long as the powershell's current directory is in the C drive the valet secure command works, but if I was in the D drive it didn't. So the workaround is simple, but odd.

@brainmaniac
Copy link

I also have this problem... I can execute everything from C drive. I have my Code folder on D drive. I successfully parked my Code folder from the D drive.

Running win 10

@mauroavello
Copy link

@cretueusebiu . First of all thanks for all the work you've put in the project.
I was going to suggest that if possible to include a note in the home page mentioning this small caveat as until reading this thread I couldn't figure out what I was doing wrong :)

Thanks

@cretueusebiu
Copy link
Owner

@mauroavello Good point! f70cb17

Repository owner deleted a comment from luukhoeben Sep 29, 2017
Repository owner deleted a comment from luukhoeben Sep 29, 2017
Repository owner deleted a comment from luukhoeben Sep 29, 2017
@zymawy
Copy link

zymawy commented Oct 15, 2017

You Need To Config Your Acrylic DNS
http://mayakron.altervista.org/wikibase/show.php?id=AcrylicWindows10Configuration

Not Only For Windows 10
I'm Using windows 7
Indeed It's Worked

@aditya43
Copy link

@zymawy that link seems to be down. Could you please update the link or share what exactly you did to get valet secure site-name working?

I'm on windows 7 32-bit

@cretueusebiu
Copy link
Owner

cretueusebiu commented Jan 10, 2018

@aditya43 valet secure should work without manually configuring your network.
Valet will try to configure your network automatically when you install it, but if it doesn't you can do it manually (Win7 and Win10)

@mauroavello
Copy link

Hi @cretueusebiu, I'm having problems once again after I upgraded. I get the previous phpftmservice error, but before that it doesn't seem to be able to start the acrylic service. I think that the previous installation might be interfering and valet uninstall doesn't seem to remove the whole instalation.
Is there any way to remove nginx, acrylic and any other service manually?

Thanks in advance,

Mauro

@cretueusebiu
Copy link
Owner

@mauroavello When you run valet stop and valet uninstall all services will be removed. Make sure to run these commands in a terminal with administrator access.

@mauroavello
Copy link

Something is not working....
acrylic uninstall error
and then after uninstall it's still there
valet uninstall

Thanks

@cretueusebiu
Copy link
Owner

That error is thrown by the Acrylic service when you tried to uninstall it but it was never installed. Can't be prevented.

You can email me and I can take a look via TW.

@zymawy
Copy link

zymawy commented Jan 23, 2018

@mauroavello
Will I Had This Issue
What I Did Are

1 - Uninstall The VW From Global Composer composer global remove cretueusebiu/valet-windows
2 - Stop All The Services From The Setting In Your Windows
3 - Delete C:Users/yourusername/.valet Folder
4 - IMPORTANT ! run The Command Line As Admin
5 - run composer global require cretueusebiu/valet-windows
6 - Restart All The Services From The Setting In Your Windows
7 - then valet install
8 - restart your computer
This Should Worked

@mauroavello
Copy link

Good deal @zymawy, that did the trick. Thanks a lot for your help.
I thought that I had removed all the stuff that you mentioned, but didn't work in the order or how I did it.

Thanks again everyone for the time.

@irving-caamal
Copy link

if u got error followthe steps of @zymawy works like charm!

dont forget
4 - IMPORTANT ! run The Command Line As Admin

cretueusebiu pushed a commit that referenced this issue Dec 26, 2020
ValetDriver::serves() method should return bool
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

8 participants