Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 7025

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 2162

Deprecated: Hook imagify_allow_picture_tags_for_webp is deprecated since version 2.2! Use imagify_allow_picture_tags_for_nextgen instead. in /www/collab365_296/public/wp-includes/functions.php on line 5758
How to resolve: "It does not appear that this machine is part of an Office Web Apps server farm" error - Collab365
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Warning: Undefined array key "url" in /www/collab365_296/public/wp-content/plugins/thrive-visual-editor/thrive-dashboard/inc/smart-site/classes/class-tvd-smart-shortcodes.php on line 85

2014-08-09

This can also be titled:

OWA massively high CPU

Windows Update broke my OWA

My OWA Farm shows no machines

OWA: The server has encountered an error and administration has been notified

ETC…

So what is this all about? It is simply that OWA is broken and for some reason the server is pretty upset about it. (That statement is about as vague as the actual error that is produced) Lets look over how this actually happens.

Scenario:

OWA is installed and has been running for awhile with no issues, in fact you probably forgot all about it until a user comes forward and says that they can not access any documents in OWA and get a vague mysterious message that OWA is just not working.

You go to the server and log in. The server is slugging at around 95+% of usage. So where do you head first? Well of course to Task Manager. Looking at the processes you see that there are more Werfault.exe processes running high CPU than you have ever seen.

Now Werfault.exe is simply the Problem and Reporting functionality of the server but why so many. This is because the server is (for lack of a better word) hosed and the system is trying to report, resolve and basically screaming in pain. Quick spoiler: OWA broke the server not the other way around.

If it is hurting you horribly then feel free to go turn off the reporting service and if the processes do not die on their own then jump into powershell and push them off a cliff:

get-process -name werfault | kill

Now we can move around a little more freely without waiting, we use powershell again to find out what is going on.

Import-Module OfficeWebApps
Get-OfficeWebAppsFarm

This is where we get to see the wonderful message:

Warning: It does not appear that this machine is part of an Office Web Apps server farm

Now look way down the list and you will see Machines. Does it look like this?

Machines        :{}

Hmmm… no machines in the farm, now that is weird. Lets look and see if that is actually valid.

Get-OfficeWebAppsMachine

And again nothing appears. So we have a farm but no Machines, so how do we get this backup and running?

Solution:

If you had no Machines listed you will need to quickly create the Farm again.

Example:

New-OfficeWebAppsFarm -InternalUrl "<url> -ExternalUrl "<url>" -EditingEnabled -AllowHttp:$true

In the above example OWA is setup at Http not Https and we set allow editing to occur. Change it to match what you currently have. The good news here is the SharePoint is still setup to point to this URL, the IIS is still setup so there is no need to do anything at this point except to start testing.

What caused this?

Office Web Apps hates to be updated. When it is updated on a machine that machine is pulled out of the Machines listing. If you have only 1 Office Web Apps server like most of us then once the machine is removed there is no way to add it back into the farm. This means the New-OfficeWebAppsMachine will NOT work. This will only work if you have at least 1 machine listed. That is good news for people who have 2 machines in the farm 🙂

Can I still Update?

Of course, well kinda. As per Microsoft:

“Applying Office Web Apps Server updates by using the automatic updates process isn’t supported with Office Web Apps Server.”

So turn off those Automatic Updates ASAP and read more here http://technet.microsoft.com/en-us/library/jj966220

(Visited 3,374 times, 1 visits today)

About the author 

Jeff Adkin

Jeff previously worked at Microsoft for over 8 years in MSIT going through multiple release cycles of SharePoint, Exchange, Groove, Office and Lync. As an avid fan of education, he graduated with his Bachelor of Education and began working between his 2 loves of teaching and technology. He is a Pluralsight author with over 10 courses published and currently working on finishing the courses for 70-347 Enabling Office 365.

Summit Bundle

Get 200+ hours of Microsoft 365 Training for 27$!

Master Office 365, Power Platform & SharePoint & Teams With 200+ Hours Of Training Videos and 108 Ebooks in the Collab365 Academy. This offer is insane and is only available for a limited period.