Hi!
I've tried to update SolidCP from version 1.4.0 to 1.4.7 to fix a problem with LetsEncrypt certificates no longer renewing.
I've manually updated the servers because Windows 2008 server I have is the Enterprise server, and it doesn't have the correct Powershell version.
All servers went well, however on a Windows 2012 R2 server i have some problems.
If I now try to open a website on that server, it gives an error in the page itself, also; in de server event log of that specific server this error is launched:
[8/17/2020 4:36:06 PM] ERROR: 'Internet Information Services 8.0' GetSite
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.Web.IIs70.GetSite(String siteId)
at SolidCP.Providers.Web.IIs80.GetSite(String siteId)
at SolidCP.Server.WebServer.GetSite(String siteId)
Also; when fiddling around, when I open the Service from the servers panel, this server gives me this error, maybe related:
[8/17/2020 4:43:05 PM] ERROR: 'Internet Information Services 8.0' GetHeliconApeStatus
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.Web.IIs70.GetHeliconApeStatus(String siteId)
at SolidCP.Server.WebServer.GetHeliconApeStatus(String siteId)
I don't (and have never) use HeliconApe.
Any clues?
Kinds regards,
Robert
I've managed to get this working.
The server had 2 providers for IIS, one for Internet Information Services 8.0, and one for Internet Information Services 10.0. However; it seems there is no Internet Information Services 8.0 installed on this server at all, although all sites that were created past years, where created and managed with that provider. (Strange?)
Now than; I fiddled around in the ServiceItem table, where I replaced the websites with the ServiceID that represented Internet Information Services 8.0, with the ServiceID that represented Internet Information Services 10.0, and viola, all was working.
Then I could also delete the Service Internet Information Services 8.0, and al seems well.
Regards!
TBH HeliconAPE should be removed from SolidCP all together