Office web apps for SharePoint 2013 not working after security updates / server patching.
After installation of the following security patches, OWA stopped working there by causing issues with SharePoint 2013.
Details of ULS logs are provided below.
FarmStateReplicator.exe (0x0CD8)
Office Web Apps Farm State Error when trying to connect to Farm State Manager service: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http:// |
Understood that the following security updates were installed in the server
Link | Description | HotFixID |
http://support.microsoft.com/?kbid=2843630 | Update | KB2843630 |
http://support.microsoft.com/?kbid=2851234 | Update | KB2851234 |
http://support.microsoft.com/?kbid=2898865 | Security Update | KB2898865 |
http://support.microsoft.com/?kbid=2898866 | Security Update | KB2898866 |
http://support.microsoft.com/?kbid=2901119 | Security Update | KB2901119 |
http://support.microsoft.com/?kbid=2901120 | Security Update | KB2901120 |
http://support.microsoft.com/?kbid=2903938 | Update | KB2903938 |
http://support.microsoft.com/?kbid=2904659 | Security Update | KB2904659 |
http://support.microsoft.com/?kbid=2909210 | Security Update | KB2909210 |
http://support.microsoft.com/?kbid=2911101 | Update | KB2911101 |
http://support.microsoft.com/?kbid=2912390 | Security Update | KB2912390 |
http://support.microsoft.com/?kbid=2916036 | Security Update | KB2916036 |
http://support.microsoft.com/?kbid=2917499 | Update | KB2917499 |
http://support.microsoft.com/?kbid=2919393 | Update | KB2919393 |
http://support.microsoft.com/?kbid=2925418 | Security Update | KB2925418 |
http://support.microsoft.com/?kbid=2929755 | Update | KB2929755 |
http://support.microsoft.com/?kbid=2930275 | Security Update | KB2930275 |
The OWA server event logs have the following errors.
Service cannot be started. System.InvalidOperationException: The certificate has not been specified.
at Microsoft.Web.Administration.SiteCollection.Add(String name, String bindingInformation, String physicalPath, Byte[] certificateHash)
at Microsoft.Office.Web.Environment.WacServer.IisProvisioningUtil.ProvisionNewSite(ServerManager serverManager, String name, String physicalPath, String applicationPoolName, List`1 bindings)
at Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentController.ProvisionTopLevelSites(IEnumerable`1 webAgentsToRun)
at Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentController.StartAgents()
at Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentManagerApplication.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
trying to query the webapps machine returns the below error.
Get-OfficeWebAppsMachine
Get-OfficeWebAppsMachine : It does not appear that this machine is part of an Office Web Apps Server farm.
At line:1 char:1
+ Get-OfficeWebAppsMachine
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-OfficeWebAppsMachine], InvalidOperationException
+ FullyQualifiedErrorId : NotJoinedToFarm.AgentManagerNotRunning,Microsoft.Office.Web.Apps.Administration.GetMachineCommand
Get-OfficeWebAppsFarm
Get-OfficeWebAppsFarm : It does not appear that this machine is part of an Office Web Apps Server farm.
At line:1 char:1
+ Get-OfficeWebAppsFarm
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-OfficeWebAppsFarm], InvalidOperationException
+ FullyQualifiedErrorId : NotJoinedToFarm.AgentManagerNotRunning,Microsoft.Office.Web.Apps.Administration.GetFarmCommand
Restart-Service WACSM
WARNING: Waiting for service 'Office Web Apps (WACSM)' to start...
WARNING: Waiting for service 'Office Web Apps (WACSM)' to start...
Restart-Service : Failed to start service 'Office Web Apps (WACSM)'.
At line:1 char:1
+ Restart-Service WACSM
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Restart-Service], ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.RestartServiceCommand
tried the below with no result.
dism /online /enable-feature /featurename:IIS-ASPNET45
#reference : http://technet.microsoft.com/en-us/library/jj219455(v=office.15).aspx
Tried
Repair-OfficeWebAppsFarm
Did not work
On OWA server:
Remove-OfficeWebAppsMachine
New-OfficeWebAppsFarm
-InternalUrl "https://server.contoso.com"
-ExternalUrl "https://wacweb01.contoso.com"
-CertificateName "OfficeWebApps Certificate" -EditingEnabled
To verify that the farm was created successfully, navigate to:
https://server.contoso.com/hosting/discovery
On SharePoint 2013
# Point PROD to PROD OWA server
Remove-SPWOPIBinding -All:$true
New-SPWOPIBinding -ServerName _owaservername_
#Set-SPWOPIZone -zone "external-https"
Get-SPWOPIZone
Get-SPWOPIZone | Get-SPWOPIBinding
http://technet.microsoft.com/en-us/library/jj966220.aspx
Quoted below:
Warning: |
---|
Applying Office Web Apps Server updates by using the automatic updates process isn’t supported with Office Web Apps Server. This is because updates to an Office Web Apps Server must be applied in a specific way, as described in this article. If Office Web Apps Server updates are applied automatically, users may be unable to view or edit documents in Office Web Apps. If this happens, you have to rebuild your Office Web Apps Server farm. To rebuild a farm, you must remove the Office Web Apps Server from the farm by using Remove-OfficeWebAppsMachine, uninstall Office Web Apps Server by using Add or remove programs, and then reinstall Office Web Apps Server by following the steps that are described in Deploy Office Web Apps Server. After you have reinstalled, apply the update by following the steps that are described in this article. It is important that you review the guidelines in Planning updates for Office Web Apps Server and establish an update process for the Office Web Apps Server farm. |
Comments
The recreation of the farm did the trick for us.
Re-bind in sharepoint server was not necessary for me, because I've configured the farm in the same way as before.