Error Message
During an attempt to upgrade ArcGIS Data Store, the process fails, and the following error message is returned:
Error:
Attempt to configure data store failed. Connection timed out while waiting for relational data store machine to start.
Cause
The ArcGIS Data Store service is unable to start due to a corrupted configuration directory or residual files from a previous upgrade attempt. This condition causes the relational data store to become unresponsive during initialization.
Solution or Workaround
- Sign in to the machine hosting the ArcGIS Data Store.
- Type Services in the Windows search bar and click the Services icon. In the Services window, navigate to the ArcGIS Data Store service and click Stop.
- In ArcGIS Server Manager, navigate to Site > Data Stores and click Unregister on the data store with the 'Relational' type.
- Navigate to the installation directory on the machine and rename the arcgisdatastore folder to arcgisdatastore_old. The installation directory is located in:
C:\arcgisdatastore
- In the Services window, navigate to the ArcGIS Data Store service and click Restart.
- Type Command Prompt in the Windows search box, right-click Command Prompt and click Run as administrator.
- In the Command Prompt window, change the directory to restore the relational data store, as shown below, and press Enter. For more information, refer to How To: Restore ArcGIS Data Store.
restoredatastore --store relational --target most-recent --source-loc \\myserver\backups\spatiotemporal --data-dir C:\arcgisdatastore --server-url https://gisserver.domain.com:6443 --server-admin siteadmin --server-password MySApw
- Attempt the data store upgrade.