Cannot Configure Web Adapter After Server Upgrade

1846
15
05-17-2018 04:02 PM
deleted-user-1_r2dgYuILKY
Occasional Contributor III

My company just upgraded from Server 10.3 to 10.5. We are trying to configure the web adapter and keep getting errors about invalid tokens after entering in our FQDN "http://METCONAPP.METCON.DOMAIN:6080 " We're using the user name and password from our previous 10.3 web adapter, which we uninstalled prior to installing 10.5. Our default web site adapter in IIS was called "arcgis" and the installer wouldn't let us name the new adapter "arcgis." We tried to delete this web adapter from the webroot folder and start over, but we still haven't made any progress. WE're not sure how to proceed. We need to get our website and ArcGIS server back online ASAP. 

0 Kudos
15 Replies
deleted-user-1_r2dgYuILKY
Occasional Contributor III

I really need to figure this out. We can't even log into our server manager or admin pages. We're dead in the water

0 Kudos
MatthewDobson
Occasional Contributor

Did you try uninstalling the WebAdaptor, reboot then install of the WebAdaptor??

0 Kudos
deleted-user-1_r2dgYuILKY
Occasional Contributor III

Just rebooted. I'm able to get into the server manager again. It's a localhost:6443. I'm pretty sure it was at port 6080 in version 10.3 I tried registering the web adapter again with http://METCONAPP.METCON.DOMAIN:6080 and got this error :

Unable to register the ArcGIS Server with the Web Adaptor. Please make sure that the server machine is running and that the account specified has administrative privileges to the site.

These were in the server manager logs: 

Failed to unregister the Web Adaptor '27405f37-773e-4422-b31c-f0698158625e'. Configuration store error. File system 'C:\arcgisserver\config-store\web-adaptors\27405f37-773e-4422-b31c-f0698158625e.json' remove failed. Another administrative operation is currently accessing the store. Please try again later.

An error was encountered while synchronizing with the config store. Failed to synchronize machine 'METCONAPP.METCON.DOMAIN' with the site. Failed to store data item '/enterpriseDatabases'.

0 Kudos
MatthewDobson
Occasional Contributor

I still think uninstalling the WebAdaptor, reboot then install of the WebAdaptor may help??

Also, check for any IIS bindings .... 

0 Kudos
deleted-user-1_r2dgYuILKY
Occasional Contributor III

Well, we had already uninstalled and reinstalled. I just don't think we had rebooted the VM. I'm adding the machine to the cluster in the server manager now. That's taking forever. I think I can configure the web adapter in the server manager next. How do I check IIS for bindings? What Am I looking for?

0 Kudos
MatthewDobson1
New Contributor

By what you are describing below, your problems seem to be more than at the Arc* level. 

For the IIS bindings, open IIS manager expand your server >> Sites >> Default Web Site in the connections page on the left. Bindings will appear in the Actions pane to the right.

0 Kudos
deleted-user-1_r2dgYuILKY
Occasional Contributor III

I think there may be a problem with our firewall. When I type in the URL http://localhost:6080/arcgis/manager, the browser automatically redirects to http://localhost:6443/arcgis/manager and gives a "not secure https" warning. 

Another problem I'm having is getting our single machine added to the arcgis server cluster. I'm seeing this error in the logs An error was encountered while synchronizing with the config store. Failed to synchronize machine 'METCONAPP.METCON.DOMAIN' with the site. Failed to store data item '/enterpriseDatabases'.

0 Kudos
by Anonymous User
Not applicable

That doesn’t seem like a firewall issue — when you login to the server admin endpoint, can you check the following settings:

Does your site supports both http and https? 

Is the old web adaptor still registered?

Is your server federated with a Portal for ArcGIS?

The error you’re getting “configured by another administrative operation” generally means some job has got “stuck” and put a .wlock or a .glock in one of your directories. If you restart your ArcGIS for Server windows service, it will terminate all of the “orphaned” jobs. 

Once you get the above answers to me, we should be able to get you straightened out pretty quick 

0 Kudos
deleted-user-1_r2dgYuILKY
Occasional Contributor III

Hey, thanks. The site only supports HTTP. We don't have Portal. I think the old web adapter might still be registered. 

We set up a tech support call with ESRI, so we'll get it sorted out next week. 

0 Kudos