Closed AdamJel closed 4 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/170982246
The labels on this github issue will be updated when the story is started.
I'd recommend that you do a full reboot. Then delete the .cfdev
folder. And then you should be able to safely perform a cf dev start
(with / without the CFDEV_HOME
variable set).
I'd recommend that you do a full reboot. Then delete the
.cfdev
folder. And then you should be able to safely perform acf dev start
(with / without theCFDEV_HOME
variable set).
This doesnt work. As I stated - after not only full reboot, but after reinstalling all components (and reboot and .cfdev folder deletion), cf dev start
fails into the error above.
I see.
Are you familiar with the “Hyper-V Manager“ application? Could you open it and see if there is a VM titled “cfdev” there? If so, please delete it and try again.
I see.
Are you familiar with the “Hyper-V Manager“ application? Could you open it and see if there is a VM titled “cfdev” there? If so, please delete it and try again.
I just checked, there is no VM at all. So I deleted the server for current user. But cf dev start
still fails the same way.
If there is none VM, but the cf dev start tries to stop it anyway - I assume, it gets wrong information about the status of VMs on pc. But how can this be persistent over reinstalling the cf?
Could you perform Get-Service | findstr vpnkit
on the Powershell command line? Do you see anything? If so, could you please remove the service and try again?
Could you perform
Get-Service | findstr vpnkit
on the Powershell command line? Do you see anything? If so, could you please remove the service and try again?
There was stopped service:
Get-Service | findstr vpnkit
Stopped org.cloudfoundr... org.cloudfoundry.cfdev.vpnkit
So I removed it:
Remove-Service -Name "org.cloudfoundry.cfdev.vpnkit"
Get-Service "*vpnkit*" | Sort-Object status
>
It seems to work. I am downloading resources right now. Ok - thank you so much! 👍
PS: In order to use Remove-Service command, I needed to install PowerShell6. I did it by first installing .NET core SDK using chocolatey: choco install dotnetcore-sdk
and second - installing PS6 using dotnet tool install --global PowerShell
.
Hello, I have a trouble with starting the dev using
cf dev start
.What I did is a complete fresh install of cf onto Windows 10. I installed the dev plugin and started using command
cf dev start
. That worked and process successfully started. But I realized that I did not set the environment variableCFDEV_HOME
and thus used wrong folder. Then I Ctrl-C the process and (unwisely) deleted.cfdev
folder.Since then, I get error when I try to start the cf dev again.
I already reinstalled Hyper-V and cf completely, but with no luck. The error I get is:
Any advice, please?