-
Notifications
You must be signed in to change notification settings - Fork 76
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
[SIMCMD] Unable to install an instance if it wasn't properly deleted #194
Comments
That was left as is intentionally as you first need to delete existing instance using sim delete, and then install. Deleting is quite complicated process so it is better to have it separate. |
Yes, it is a complicated process. I often see the following 'deadlock' in my logs where I can neither delete nor install an instance:
I'm trying to delete an instance first, but it fails since there is no IIS host found. Then I'm trying to install an instace, but if fails because there are some garbage website files exist. It happens pretty often and only manual clean up helps in this case. That's annoying. Any ideas how to deal with that? Thanks. |
This is not supported now. |
Importance:
Critical (I need this issue to be fixed)
I'm using SIMCMD to deploy Sitecore instances on CI. I do like that the simplest command
sim.exe install -n mysite
gives me a ready to use instance. But, it appeared that quite often an old instance cannot be properly deleted leaving some garbage website files. Those files prevent further instances installations and make it fail with the following error:I'd like to extend the CLI install command to ask a user if the old files need to be deleted first before the installation. That is what happening when one uses the WinApp:
It should be also possible to specify
-y
(always Yes) key so that the tool does not wait for the user input and just go ahead with deleting the garbage files.What do you think about that?
The text was updated successfully, but these errors were encountered: