Select to view content in your preferred language

Cannot backup deployment after upgrade to 11.4

265
2
12-26-2024 01:38 AM
Yurii_P
Emerging Contributor

Hello! After updating our ArcGIS deployment from 11.3 to 11.4 we no longer can take backups using webgisdr tool. Upgrade was done using cloudformation template provided by Esri. To take backup I run:

opt/arcgis/portal/tools/webgisdr/webgisdr.sh --export --file /opt/arcgis/portal/tools/webgisdr/webgisdr.properties 

As a result I receive:

==================================================
Starting the WebGIS DR utility.
==================================================

Exception in thread "main" java.lang.NoClassDefFoundError: com/azure/storage/file/datalake/models/DataLakeStorageException
        at com.esri.arcgis.discovery.cache.AccessCredentials$Provider.fromStringIgnoreCase(AccessCredentials.java)
        at com.esri.arcgis.discovery.util.CloudEndpointLocator.b(CloudEndpointLocator.java:218)
        at com.esri.arcgis.discovery.util.CloudEndpointLocator.getProperty(CloudEndpointLocator.java:133)
        at com.esri.arcgis.discovery.util.CloudEndpointLocator.getS3EndPoint(CloudEndpointLocator.java:50)
        at com.esri.arcgis.webgis.storageservice.s3.S3StorageService.a(S3StorageService.java:215)
        at com.esri.arcgis.webgis.storageservice.s3.S3StorageService.<init>(S3StorageService.java:164)
        at com.esri.arcgis.webgis.storageservice.s3.S3StorageProvider.connect(S3StorageProvider.java:19)
        at com.esri.arcgis.webgis.storageservice.StorageManager.getConnection(StorageManager.java:63)
        at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.service(WebGISDRFrontController.java:132)
        at com.esri.arcgis.webgis.service.impl.WebGISDRManager.b(WebGISDRManager.java:193)
        at com.esri.arcgis.webgis.service.impl.WebGISDRManager.exportWebGIS(WebGISDRManager.java:177)
        at com.esri.arcgis.webgis.client.WebGISDR.main(WebGISDR.java:138)
Caused by: java.lang.ClassNotFoundException: com.azure.storage.file.datalake.models.DataLakeStorageException
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more

 

I guess I may be missing some properties from my webgisdr.properties file because I replaced original webgisdr.properties by the same file from 11.3. I tried to recreate it manually using properties from https://enterprise.arcgis.com/en/portal/latest/administer/linux/populate-webgisdr-tool-properties-fi... but no success, I still receive same error.

Tags (3)
2 Replies
Yurii_P
Emerging Contributor

This problem exists even on fresh install

SeanF
by Esri Contributor
Esri Contributor

Workaround
Copy the azure-storage-file-datalake.jar file from the Portal for ArcGIS framework\lib directory into the tools\webgisdr\lib directory.

Issue fixed on 11.5

https://support.esri.com/en-us/bug/the-web-gis-disaster-recovery-webgisdr-tool-fails-to-ru-bug-00017...

Sean F.
Esri Support Services
0 Kudos