-
Notifications
You must be signed in to change notification settings - Fork 140
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
Getting error during installation 2.1.0 #137
Comments
I confirmed this issue. Thanks for posting the DOCKERFILE. I know the fix and what I can do is patch the setup files in the IIS.Administration.zip and then replace it. Another thing to take note of is that the docker image you specified does not have .NET Core 1.0.* which is required to run IIS Administration. |
[System.DateTime]::Parse($.GetEffectiveDateString()) should be replaced with $.NotBefore [System.DateTime]::Parse($.GetExpirationDateString()) should be replaced with $.NotAfter |
Is it hard dependency to have .NET core 1.0 even if .NET core 2.0 is already available? Since it's Nanoserver it's super difficult to install anything on it and I hoped since image already have 2.0 it can be used instead. |
Yes it is a strict dependency on the .NET Core 1.0 runtime. |
To elaborate a little bit: |
An update to this issue. The issues in the PowerShell installation script for version 2.1.0 obtained from https://github.com/Microsoft/IIS.Administration/releases/download/v2.1.0/IIS.Administration.zip that throw an error on Nano Server are still present. There are some blocking issues preventing us from replacing the affected ps1 files as I mentioned I would like to do previously. The issue has been fixed in #141 and we plan to release 2.2.0 soon which has been tested on Nano Server. Regarding the requirement for .NET Core 1.0.*. There is a container image that comes with .NET Core 1.0.* at microsoft/aspnetcore:1.0.7-nanoserver. I have used this image for running the API. I used the DOCKERFILE mentioned previously and just changed 2.0.0 to 1.0.7
|
2.2.0 has been released which fixes this issue. |
Trying to install inside NanoServer and getting error below. This is being installed inside ASP.NET core docker image (microsoft/aspnetcore:2.0.0-nanoserver). Probably need to switch to use
NotAfter
property ofX509Certificate2
typeDockerfile
The text was updated successfully, but these errors were encountered: