POST
|
Hi @malte, How did you find the issue ? Trying to restore from webgisdr or a tileCache restore ? What error do you get ? Is the workflow suggested by @ChristopherPawlyszyn working on your side ? Thanks, Nicolas
... View more
12-01-2023
05:12 AM
|
0
|
0
|
966
|
POST
|
Hello @ChristopherPawlyszyn, Apologize for my late reply. I have been working hard on trying to make it work. Unfortunately, it does not. I wonder if there is not another BUG on top of the "DIRECT_FILE_BACKUP" one. If, as you suggested, I tried to unregister the datastore and restore it manually using "restoredatastore" command following this article: https://support.esri.com/en-us/knowledge-base/how-to-restore-arcgis-data-store-000021700 I have the following error: Error encountered: Machine 'https://GISSTORE.COMPANY.COM:2443/arcgis/datastoreadmin' returned an error. 'Failed to restore 'tile cache' data store.
Caused by: null' Unfortunately, using this method, I don't have anything in the logs. Seems like the fact that ArcGIS Server in the DEBUG mode is not taken into account. I tried also several times to restore the full webgisdr backup using the following workflow: - Initializing new VMs from scratch - Installing and configuring ArcGIS Enterprise 11.1 components on each VM using ArcGIS powershell DSC as if it was prod - At the end, the standby ArcGIS Enterprise deployment is functionnal - Restore 11.1 webgisdr done from production with tileCache backup configured as "REPLICATION_BACKUP" (I doubled check the metatadata file and it is a "REPLICATION_BACKUP" tileCache) After that, relational datastore is successfully restored but the tileCache one fails after a while with all the time this error: {
"jobId": "329f74b3-45d2-40f2-a267-599f1941214e",
"errorMessage": "Failed to register tile cache data store.\nCaused by: The specified GIS Server site already has a tile cache data store.",
"description": "Deploy data store snapshot 20231125-020011-08-FULL from \\\\myser\\WebGISSite1701272254236\\dataStore\\a3729eb8-a53e-4ac5-88a4-d90a56801b3b",
"lastModified": "2023-11-29 18:52",
"status": "failed"
} In the arcgis datastore server logs: <Msg time="2023-11-29T18:20:33,793" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Applying WebGIS DR snapshot for tile cache data store...</Msg>
<Msg time="2023-11-29T18:20:37,821" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Stopping nonsql database </Msg>
<Msg time="2023-11-29T18:20:37,821" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">NoSQL database was stopped </Msg>
<Msg time="2023-11-29T18:33:01,1" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">prepare for tile cache data store configuration...</Msg>
<Msg time="2023-11-29T18:33:01,1" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Configure vm.args...</Msg>
<Msg time="2023-11-29T18:33:01,7" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Prepare default.ini...</Msg>
<Msg time="2023-11-29T18:33:01,18" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Prepare SSL certificates...</Msg>
<Msg time="2023-11-29T18:33:01,303" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Configure D:\arcgis\arcgisdatastore\nosqldata\etc\local.ini...</Msg>
<Msg time="2023-11-29T18:33:02,335" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">configuring tile cache data store...</Msg>
<Msg time="2023-11-29T18:33:04,850" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">create user usr_83dhi...</Msg>
<Msg time="2023-11-29T18:33:05,884" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">create tile cache site store if needed ...</Msg>
<Msg time="2023-11-29T18:33:08,350" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Register new title cache data store...</Msg>
<Msg time="2023-11-29T18:33:17,834" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Performing restore on a existing tile cache data store...</Msg>
<Msg time="2023-11-29T18:33:17,850" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Found backup set specified:DEFAULT_LOCAL</Msg>
<Msg time="2023-11-29T18:33:17,850" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Validate storage store for the source backup store...</Msg>
<Msg time="2023-11-29T18:33:17,850" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Validate source backup set...</Msg>
<Msg time="2023-11-29T18:33:17,881" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">prepare for tile cache data store configuration...</Msg>
<Msg time="2023-11-29T18:33:17,881" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Configure vm.args...</Msg>
<Msg time="2023-11-29T18:33:17,881" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Prepare default.ini...</Msg>
<Msg time="2023-11-29T18:33:17,881" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Prepare SSL certificates...</Msg>
<Msg time="2023-11-29T18:33:17,991" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Configure D:\arcgis\arcgisdatastore\staging\tileCache\tcs_2jikygfh\etc\local.ini...</Msg>
<Msg time="2023-11-29T18:52:43,162" type="WARNING" code="110379" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Failed to restore 'tile cache' data store. null</Msg>
<Msg time="2023-11-29T18:52:43,162" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.restore(CouchDBManager.java:8270)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.b(DataStoreAdminClient.java:4857)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.restore(DataStoreAdminClient.java:3796)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12829)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11771)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10906)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg>
<Msg time="2023-11-29T18:52:43,162" type="SEVERE" code="111002" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Failed to import data to your replicated site. Failed to restore 'tile cache' data store.
Caused by: null</Msg>
<Msg time="2023-11-29T18:52:43,162" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException: Failed to restore 'tile cache' data store.
Caused by: null
at com.esri.arcgis.datastore.client.DataStoreAdminClient.restore(DataStoreAdminClient.java:3801)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12829)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11771)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10906)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg>
<Msg time="2023-11-29T18:52:43,162" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Stopping nonsql database </Msg>
<Msg time="2023-11-29T18:52:43,162" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">NoSQL database was stopped </Msg>
<Msg time="2023-11-29T18:52:48,85" type="WARNING" code="110804" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Failed to register tile cache data store. The specified GIS Server site already has a tile cache data store.</Msg>
<Msg time="2023-11-29T18:52:48,85" type="DEBUG" code="9999" source="Data Store" process="9136" thread="36" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException: The specified GIS Server site already has a tile cache data store.
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.registerDataStore(CouchDBManager.java:661)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.registerTileCacheDataStore(DataStoreAdminClient.java:13919)
at com.esri.arcgis.datastore.client.DataStoreAdminClientForServer.registerDataStore(DataStoreAdminClientForServer.java:2843)
at com.esri.arcgis.datastore.client.DataStoreAdminClientForServer.registerDataStore(DataStoreAdminClientForServer.java:2744)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:13026)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11771)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10906)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg> When this occurs, I unregister the datastores from ArcGIS Server manager and uninstall ArcGIS datastore from the VM, rename installed folder "ArcGIS", rename the "arcgisdatastore" content folder, reinstall 11.1 datastore, do not configure it, and try a manual restore using "restoredatastore" but it fails as mentionned before. Also, it seems to me that the error: Failed to register tile cache data store. The specified GIS Server site already has a tile cache data store. is misleading because it occurs after the following error and I don't think it is the root cause of the restore failing: Failed to restore 'tile cache' data store. null I also tried the following workflow: - Initializing new VMs from scratch - Installing and configuring ArcGIS Enterprise 11.0 components on each VM using ArcGIS powershell DSC as if it was prod - At the end, the standby ArcGIS Enterprise 11.0 deployment is functionnal - Restore the last 11.0 webgisdr backup done from production. At the time "REPLICATION_BACKUP" was the default - At the end, webgisdr restore work fine and my 11.0 deployment is perfectely. So I guess we can exclude an issue with my workflow as it works perfectely at 11.0 - Upgrade deployment to 11.1 - Restore 11.1 webgisdr done from production with tileCache backup configured as "REPLICATION_BACKUP" After that, relational datastore is successfully restored but the tileCache one fails with the same error as with "restoredatastore" command: <Msg time="2023-12-01T12:21:24,172" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Applying WebGIS DR snapshot for tile cache data store...</Msg>
<Msg time="2023-12-01T12:21:24,277" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Performing restore on a existing tile cache data store...</Msg>
<Msg time="2023-12-01T12:21:24,326" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Found backup set specified:DEFAULT_LOCAL</Msg>
<Msg time="2023-12-01T12:21:24,326" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Validate storage store for the source backup store...</Msg>
<Msg time="2023-12-01T12:21:24,326" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Validate source backup set...</Msg>
<Msg time="2023-12-01T12:21:24,421" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Failed to cleanup the staging directory for tilecache data store...</Msg>
<Msg time="2023-12-01T12:21:24,421" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">prepare for tile cache data store configuration...</Msg>
<Msg time="2023-12-01T12:21:24,421" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Configure vm.args...</Msg>
<Msg time="2023-12-01T12:21:24,433" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Prepare default.ini...</Msg>
<Msg time="2023-12-01T12:21:24,433" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Prepare SSL certificates...</Msg>
<Msg time="2023-12-01T12:21:24,792" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Configure D:\arcgis\arcgisdatastore\staging\tileCache\tcs_2jikygfh\etc\local.ini...</Msg>
<Msg time="2023-12-01T12:26:02,844" type="WARNING" code="110379" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Failed to restore 'tile cache' data store. null</Msg>
<Msg time="2023-12-01T12:26:02,844" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.restore(CouchDBManager.java:8270)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.b(DataStoreAdminClient.java:4857)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.restore(DataStoreAdminClient.java:3796)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12829)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11771)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10906)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg>
<Msg time="2023-12-01T12:26:02,844" type="SEVERE" code="111002" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">Failed to import data to your replicated site. Failed to restore 'tile cache' data store.
Caused by: null</Msg>
<Msg time="2023-12-01T12:26:02,844" type="DEBUG" code="9999" source="Data Store" process="1152" thread="32" methodName="" machine="GISSTORE.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException: Failed to restore 'tile cache' data store.
Caused by: null
at com.esri.arcgis.datastore.client.DataStoreAdminClient.restore(DataStoreAdminClient.java:3801)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12829)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11771)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10906)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg> Could you please help ? What do you think could be the issue ? Should I open another ticket ? Thanks, Nicolas
... View more
12-01-2023
05:04 AM
|
0
|
1
|
966
|
POST
|
For information, it's been logged: BUG-000163220: Accessing service settings runs into status error 403 when ArcGIS Server WebAdaptor is disabled for administrative usage
... View more
11-27-2023
06:29 AM
|
2
|
0
|
1132
|
POST
|
On my side, upgrade went smoothly but I noticed the following one (so far): https://community.esri.com/t5/arcgis-enterprise-questions/arcgis-enterprise-11-2-item-settings-for/m-p/1353176#M37757
... View more
11-24-2023
07:57 AM
|
1
|
1
|
1179
|
POST
|
Hello, Testing the new 11.2, I was very excited by the new functionnality allowing to configure ArcGIS Server services directly from Portal for ArcGIS and not from ArcGIS Server manager: https://enterprise.arcgis.com/en/portal/latest/use/manage-map-image-layers.htm But whenever I access the settings of an item of a MapService, a pop up shows up: The error is coming from the fact the ArcGIS Server web adaptor has the Admin access disabled so it should use the proxy I guess ? Anyone facing the same issue ? Thanks, Best regards, Nicolas
... View more
11-24-2023
07:43 AM
|
1
|
5
|
1248
|
POST
|
@ChristopherPawlyszyn Thanks for your reply. This is from a webgisdr restore. I just tried once again. Here is the full error stack from datastore server log in case that help: <Msg time="2023-11-07T23:57:22,616" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Applying WebGIS DR snapshot for tile cache data store...</Msg>
<Msg time="2023-11-07T23:57:24,878" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Stopping nonsql database </Msg>
<Msg time="2023-11-07T23:57:24,880" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">NoSQL database was stopped </Msg>
<Msg time="2023-11-07T23:57:31,995" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">prepare for tile cache data store configuration...</Msg>
<Msg time="2023-11-07T23:57:31,995" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Configure vm.args...</Msg>
<Msg time="2023-11-07T23:57:31,999" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Prepare default.ini...</Msg>
<Msg time="2023-11-07T23:57:32,1" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Prepare SSL certificates...</Msg>
<Msg time="2023-11-07T23:57:32,160" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Configure C:\arcgisdatastore\nosqldata\etc\local.ini...</Msg>
<Msg time="2023-11-07T23:57:33,167" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">configuring tile cache data store...</Msg>
<Msg time="2023-11-07T23:57:35,653" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">create user usr_t9v56...</Msg>
<Msg time="2023-11-07T23:57:36,681" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">create tile cache site store if needed ...</Msg>
<Msg time="2023-11-07T23:57:36,791" type="WARNING" code="110326" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Backup location '{0}' is not owned by the current data store. Backup location 'C:\arcgisdatastore\backup\tilecache' is already owned by another data store 'tcs_ksvff8l8'.</Msg>
<Msg time="2023-11-07T23:57:36,791" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException: Backup location 'C:\arcgisdatastore\backup\tilecache' is already owned by another data store 'tcs_ksvff8l8'.
at com.esri.arcgis.datastore.model.backup.BackupSignature.signBackupFolder(BackupSignature.java:85)
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.configure(CouchDBManager.java:497)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.configCouchDB(DataStoreAdminClient.java:13915)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12721)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11789)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10924)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg>
<Msg time="2023-11-07T23:57:39,101" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Register new title cache data store...</Msg>
<Msg time="2023-11-07T23:57:47,820" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Register a default backup location for tile cache data store...</Msg>
<Msg time="2023-11-07T23:57:47,820" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">New Backup Location will be: E:/backup/tileCache/</Msg>
<Msg time="2023-11-07T23:57:47,820" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">creating backup store for tile cache data store....</Msg>
<Msg time="2023-11-07T23:57:47,833" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">prepare file based repository provider for tile cache data store...</Msg>
<Msg time="2023-11-07T23:57:47,834" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">prepare file based repository provider for tile cache data store on local machine...</Msg>
<Msg time="2023-11-07T23:57:47,868" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">configuring repository for the backup store...</Msg>
<Msg time="2023-11-07T23:57:47,893" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Digital sign the backup store...</Msg>
<Msg time="2023-11-07T23:57:48,253" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">prepare for tile cache data store configuration...</Msg>
<Msg time="2023-11-07T23:57:48,254" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Configure vm.args...</Msg>
<Msg time="2023-11-07T23:57:48,257" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Prepare default.ini...</Msg>
<Msg time="2023-11-07T23:57:48,259" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Prepare SSL certificates...</Msg>
<Msg time="2023-11-07T23:57:48,478" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Configure C:\arcgisdatastore\staging\tileCache\tcs_dyv65252\etc\local.ini...</Msg>
<Msg time="2023-11-07T23:58:05,243" type="DEBUG" code="110616" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Webhooks database for site 'd3e74a59-4154-43a2-a5a9-cc0f5dcfdf4b' is not created and registered.</Msg>
<Msg time="2023-11-07T23:58:50,951" type="SEVERE" code="111002" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Failed to import data to your replicated site. null</Msg>
<Msg time="2023-11-07T23:58:50,951" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.restore(CouchDBManager.java:8270)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12934)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11789)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10924)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg>
<Msg time="2023-11-07T23:58:50,952" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Stopping nonsql database </Msg>
<Msg time="2023-11-07T23:58:50,954" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">NoSQL database was stopped </Msg>
<Msg time="2023-11-07T23:58:53,161" type="WARNING" code="110804" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Failed to register tile cache data store. The specified GIS Server site already has a tile cache data store.</Msg>
<Msg time="2023-11-07T23:58:53,161" type="DEBUG" code="9999" source="Data Store" process="9940" thread="25" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException: The specified GIS Server site already has a tile cache data store.
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.registerDataStore(CouchDBManager.java:661)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.registerTileCacheDataStore(DataStoreAdminClient.java:13937)
at com.esri.arcgis.datastore.client.DataStoreAdminClientForServer.registerDataStore(DataStoreAdminClientForServer.java:2856)
at com.esri.arcgis.datastore.client.DataStoreAdminClientForServer.registerDataStore(DataStoreAdminClientForServer.java:2757)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:13044)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11789)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10924)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg> In couch log, no error though.
... View more
11-07-2023
03:05 PM
|
0
|
3
|
1898
|
POST
|
Thanks for your reply @ChristopherPawlyszyn. I modified the correct file (I was indeed using from the site-specific location), and tried 4 times: always the same error: {
"jobId": "fcfdaa47-d8fd-4993-b292-69cdd3386abc",
"errorMessage": "Failed to register tile cache data store.\nCaused by: The specified GIS Server site already has a tile cache data store.",
"description": "Deploy data store snapshot 20231101-210033-97-BACKUP from \\\\pathto\\WebGISSite1698922766136\\dataStore\\be7a1844-1f26-4faa-97b9-5b69dd2dec6f",
"lastModified": "2023-11-02 12:06",
"status": "failed"
} From a datastore server log: <Msg time="2023-11-01T22:01:19,873" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Successfully restored and registered Primary relational machine...</Msg>
<Msg time="2023-11-01T22:01:20,820" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Successfully applied WebGIS DR snapshot for relational data store...</Msg>
<Msg time="2023-11-01T22:01:29,226" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Deploying files from WebGIS DR snapshot for tile cache data store...</Msg>
<Msg time="2023-11-01T22:01:56,407" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Applying WebGIS DR snapshot for tile cache data store...</Msg>
<Msg time="2023-11-01T22:01:56,463" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Performing restore on a existing tile cache data store...</Msg>
<Msg time="2023-11-01T22:01:56,484" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Found backup set specified:DEFAULT_LOCAL</Msg>
<Msg time="2023-11-01T22:01:56,484" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Validate storage store for the source backup store...</Msg>
<Msg time="2023-11-01T22:01:56,484" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Validate source backup set...</Msg>
<Msg time="2023-11-01T22:01:56,546" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">prepare for tile cache data store configuration...</Msg>
<Msg time="2023-11-01T22:01:56,546" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Configure vm.args...</Msg>
<Msg time="2023-11-01T22:01:56,550" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Prepare default.ini...</Msg>
<Msg time="2023-11-01T22:01:56,552" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Prepare SSL certificates...</Msg>
<Msg time="2023-11-01T22:01:56,736" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Configure C:\arcgisdatastore\staging\tileCache\tcs_dyv65252\etc\local.ini...</Msg>
<Msg time="2023-11-01T22:02:32,159" type="WARNING" code="110379" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Failed to restore 'tile cache' data store. null</Msg>
<Msg time="2023-11-01T22:02:32,159" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException
at com.esri.arcgis.datastore.model.couchdb.CouchDBManager.restore(CouchDBManager.java:8270)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.b(DataStoreAdminClient.java:4875)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.restore(DataStoreAdminClient.java:3814)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12847)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11789)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10924)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg>
<Msg time="2023-11-01T22:02:32,159" type="SEVERE" code="111002" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">Failed to import data to your replicated site. Failed to restore 'tile cache' data store.
Caused by: null</Msg>
<Msg time="2023-11-01T22:02:32,160" type="DEBUG" code="9999" source="Data Store" process="24840" thread="19" methodName="" machine="MAPS11.COMPANY.COM" user="" elapsed="" requestID="">com.esri.arcgis.datastore.common.DataStoreException: Failed to restore 'tile cache' data store.
Caused by: null
at com.esri.arcgis.datastore.client.DataStoreAdminClient.restore(DataStoreAdminClient.java:3819)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.a(DataStoreAdminClient.java:12847)
at com.esri.arcgis.datastore.client.DataStoreAdminClient.deployWebGISSnapshot(DataStoreAdminClient.java:11789)
at com.esri.arcgis.datastore.client.DataStoreAdminClient$e.run(DataStoreAdminClient$e.java:10924)
at java.base/java.lang.Thread.run(Unknown Source)
</Msg> Any idea ? Thanks, Nicolas
... View more
11-02-2023
06:13 AM
|
0
|
1
|
1997
|
POST
|
Many thanks @ChristopherPawlyszyn for your reply. there is a defect in the new backup/restore logic implemented for the tile cache data store at 11.1 for scene services published at an earlier version In case that help, as mentionned in my first post, in my case, the problem also occurs for sceneLayers published directly at 11.1: Publishing a new scene layer on the production tile cache datastore and restoring it fails as well (it is not restriceted to all scene layers published from previous versions) I just tried your workaround on one of our ArcGIS Enterprise deployment, and the issue remains. I tried updating the datastore configuration on the standby environment as well , but it did not change the result. I tried inspecting files in the webgisdr backup, and tile cache datastores look pretty similar. How can I tell whether webgisdr was exported with "REPLICATION_BACKUP" or "DIRECT_FILE_BACKUP" ? Thanks
... View more
10-31-2023
08:14 AM
|
0
|
0
|
2052
|
POST
|
Hello @ChristopherPawlyszyn, I continue my investigations and wanted to report the following facts: - After authenticating on couchDB, I can see that all our nosql "databases" are empty (size 0 bytes) and made of 0 documents: thus the 404 couchDB error. - I activated couchDB debug log when doing the webgisdr restore and it turns out I have plenty of errors 409 conflict like the following: [debug] 2023-10-26T13:18:36.924000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 'PUT' /_dbs/ext_site_callout_0_d0d73bef0979452a9660097f2df37359 {1,1} from 'couchdb@MYHOST.COMPANY.COM'
Headers: [{'Accept-Encoding',"gzip,deflate"},{'Connection',"Keep-Alive"},{'Content-Length',"187"},{'Content-Type',"application/json"},{'Cookie',"AuthSession=ItsASecret"},{'Host',"MYHOST.COMPANY.COM:29080"},{'User-Agent',"Apache-HttpClient/4.5.13 (Java/11.0.18)"}]
[debug] 2023-10-26T13:18:36.925000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 timeout 600
[debug] 2023-10-26T13:18:36.925000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 Successful cookie auth as: "admin_u92a8"
[debug] 2023-10-26T13:18:36.926000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 Minor error in HTTP request: conflict
[debug] 2023-10-26T13:18:36.926000Z couchdb@MYHOST.COMPANY.COM <0.2262.0> 7e7d7f7d69 Stacktrace: [{couch_db,update_doc,4,[{file,"src/couch_db.erl"},{line,839}]},{couch_httpd_db,update_doc,6,[{file,"src/couch_httpd_db.erl"},{line,780}]},{couch_httpd_db,do_db_req,2,[{file,"src/couch_httpd_db.erl"},{line,261}]},{couch_httpd,handle_request_int,5,[{file,"src/couch_httpd.erl"},{line,339}]},{erpc,execute_call,3,[{file,"erpc.erl"},{line,434}]},{erpc,call,5,[{file,"erpc.erl"},{line,117}]},{rpc,call,5,[{file,"rpc.erl"},{line,410}]},{chttpd_node,call_node,4,[{file,"src/chttpd_node.erl"},{line,218}]}] Looking at couchDB documentation: https://docs.couchdb.org/en/stable/api/document/attachments.html#put--db-docid-attname 409 Conflict – Document’s revision wasn’t specified or it’s not the latest Any progress on your side ? Thanks, Nicolas
... View more
10-27-2023
04:42 AM
|
0
|
0
|
2101
|
POST
|
Yes, there is "ArcGIS Data Store 10.9.1 Durability Enhancement Patch": https://support.esri.com/en-us/patches-updates/2022/arcgis-data-store-10-9-1-durability-enhancement-patch-8057
... View more
10-16-2023
06:37 AM
|
0
|
1
|
1302
|
POST
|
Hello, I am facing an issue since we upgraded from 11.0 to 11.1: when restoring our tile cache datastore using webgisdr on standby environment, scene layers restored are corrupted and broken. Though the restore is said to be successful, when trying to visualize them, it fails. All requests querying for tiles description of the service fail: => Hosted/Buildings_3D/SceneServer/layers/0/nodes/root?f=json returns: {
"error": {
"code": 500,
"message": "Server error unable to process request",
"details": []
}
} But validation of the datastores from ArcGIS Server Manager or ArcGIS Server admin interface is successful. Webgisdr log say it successful as well. On ArcGIS Server Manager in debug mode, this 500 errors seems to be related to 404 from CouchDB: This issue occurs on both ArcGIS Enterprise deployments we are running. The procedure to restore on standby is implemented since several versions and we never faced any issue (except at 11.0 with restoring relational datastore cf. https://community.esri.com/t5/high-availability-and-disaster-recovery-questions/cannot-restore-arcgis-enterprise-webgisdr-backup/td-p/1160736 that was fixed later with a patch). I opened a case 6 months ago after the upgrade with support (case 03338742) and so far no progress... What we tried: - manually restoring the tile cache datastore from production tile cache backup: same results - manually restoring the tile cache datastore from webgisdr backup: same results - restoring on a datastore content folder stored on C:\ of the VM to exclude drive performance issue: same results Interesting facts: - It's not systematic - sometimes all the scene services are broken, sometimes only some of them but never all of them were successfully restored. But most of the time, they are all broken. - Procedure repeated tens of times with always the same result - Publishing a new scene layer on the standby datastore with broken restored services works: the tile cache datastore is functional - Publishing a new scene layer on the production tile cache datastore and restoring it fails as well (it is not restriceted to all scene layers published from previous versions) Worth to mention, that we could potentially loose all our work as there is currently no way to export scene layers as a backup solution because of "BUG-000143562 - Exporting a multipatch hosted feature layer as a file geodatabase from ArcGIS Online results in a corrupted geodatabase" so there is currently no way to retrieve tile cache datastore content... I would really appreciate your inputs @ChristopherPawlyszyn and @JonathanQuinn ... Thanks
... View more
10-11-2023
02:17 AM
|
1
|
18
|
3251
|
POST
|
Hello @MaxZeng , Thanks for your reply. I got it from the documentation of ESRI MAPS SDK: https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PointBarrier.html#barrierType You said it works with integer but if I write: // create new point barriers const pointBarriers = [ new PointBarrier({ barrierType: 1, geometry: { x: -117.30968, y: 34.06493 } }) ]; The following parameter is sent is sent so it is not taken into account: Thanks, Nicolas PS: I may have misplaced this post - it should probably goes to the Maps SDK one.
... View more
09-12-2023
05:30 AM
|
0
|
1
|
399
|
POST
|
Took a while to be logged but here it is: BUG-000160198- The ‘curbApproach’ property of PointBarrier object is not honored when used in RouteLayer class of the ArcGIS Maps SDK for JavaScript 4.27
... View more
07-27-2023
11:48 AM
|
0
|
0
|
336
|
IDEA
|
A functionality we kept being asked about, is the ability to visualize units occupancy across time in ArcGIS Indoors Space planner. We have lot of changes to manage and users coming for a defined period of time. It would be very nice if we could have "time-awareness" in the assignment (user will be in this unit from / to) and the ability then to visualize occupancy across time thanks to a slider. Hope that makes sense ! Thanks for listening
... View more
06-27-2023
11:26 PM
|
1
|
0
|
430
|
IDEA
|
Currently, ArcGIS Indoors floor display behaviour is inconsistent depending on the client used: - ArcGIS Indoors viewer / ArcGIS Space planner: display the current floor for the selected building (eg: floor 2 / VERTICAL_ORDER = 2) and all the others building floor displays floor R / VERTICAL_ORDER = 0 - ArcGIS Indoors nativ application: display the current floor for the selected building (eg: floor 2 / VERTICAL_ORDER = 2) and all the others building floor displays the very same floor 2 / VERTICAL_ORDER = 2 -ArcGIS Field Maps: display the current floor for the selected building (eg: floor 2 / VERTICAL_ORDER = 2) and hide all the others buildings floor For our campus, our favourite floor management display is the one of ArcGIS Indoors nativ application. It is the best way to understand the floor layout and the connexion between buildings. ArcGIS Indoors viewer / ArcGIS Space planner current floor management is prone to confusion: you may think there is connexion between 2 buildings at floor 2 while there is not because the corridor connecting the 2 buildings is at floor R (VERTICAL_ORDER = 0). So (to me) it would be nice to either have the floor picker behaviour of ArcGIS Indoors nativ application in all ESRI clients supporting Indoors. Or if not possible because is some situations you would prefer another one, to be able to customize it at the application level. But from a developer perspective, it would be very nice if this configuration could be backported to the "ArcGIS Maps SDK for JavaScript" FloorFilter widget. Thanks for listening !
... View more
06-27-2023
08:19 AM
|
4
|
5
|
687
|
Title | Kudos | Posted |
---|---|---|
1 | 07-27-2024 12:23 AM | |
1 | 06-14-2024 08:27 AM | |
1 | 06-14-2024 11:54 AM | |
1 | 06-07-2024 09:26 PM | |
1 | 03-04-2024 11:37 PM |