Webgisdr restore failing: Cannot access the file

707
1
01-29-2021 02:36 AM
Labels (1)
RichardSuematsu
New Contributor II

I get the following output from webgisdr.  Notice the "r" at the end of the temp folder.  The folder that actually gets created is the same without the ending "r".  At the end is the stack trace from the log.  Again notice on most of the lines it references the file with the ending "r", but when deleting the temp file, there's no "r".  Backup was taken on a RHEL6 ArcGIS 10.8.1 system, but restoring on a RHEL7 ArcGIS 10.8.1 system.

 

Unzipping the backup file:
/opt/arcgis/backup2/20210128-040197-EST-FULL.webgissite

The backup file has been unzipped in 00hr:00min:21sec.

Starting the restore process with the WebGIS DR utility.

Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.

Exiting the WebGIS DR utility.

 

 

2021-01-29 10:21:41 ERROR [main] com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher - Exception: Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.
2021-01-29 10:21:41 DEBUG [main] com.esri.arcgis.webgis.service.impl.WebGISDRFrontController - Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.
com.esri.arcgis.webgis.WebGISException: Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:331)
at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.a(WebGISDRFrontController.java:247)
at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.service(WebGISDRFrontController.java:145)
at com.esri.arcgis.webgis.service.impl.WebGISDRManager.c(WebGISDRManager.java:187)
at com.esri.arcgis.webgis.service.impl.WebGISDRManager.importWebGIS(WebGISDRManager.java:170)
at com.esri.arcgis.webgis.client.WebGISDR.main(WebGISDR.java:103)
Caused by: com.esri.arcgis.webgis.WebGISException: Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.
at com.esri.arcgis.webgis.util.ValidationUtil.validateFile(ValidationUtil.java:89)
at com.esri.arcgis.webgis.util.ValidationUtil.validateFile(ValidationUtil.java:76)
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.a(WebGISDRDispatcher.java:798)
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.a(WebGISDRDispatcher.java:743)
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:200)
... 5 common frames omitted
2021-01-29 10:21:41 DEBUG [main] com.esri.arcgis.webgis.service.impl.WebGISDRFrontController - Deleting the temp directory /opt/arcgis/backup1/WebGISSite1611915412701.
2021-01-29 10:21:41 DEBUG [main] com.esri.arcgis.webgis.client.WebGISDR - Exiting the WebGIS DR utility.
com.esri.arcgis.webgis.WebGISException: Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:331)
at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.a(WebGISDRFrontController.java:247)
at com.esri.arcgis.webgis.service.impl.WebGISDRFrontController.service(WebGISDRFrontController.java:145)
at com.esri.arcgis.webgis.service.impl.WebGISDRManager.c(WebGISDRManager.java:187)
at com.esri.arcgis.webgis.service.impl.WebGISDRManager.importWebGIS(WebGISDRManager.java:170)
at com.esri.arcgis.webgis.client.WebGISDR.main(WebGISDR.java:103)
Caused by: com.esri.arcgis.webgis.WebGISException: Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.
at com.esri.arcgis.webgis.util.ValidationUtil.validateFile(ValidationUtil.java:89)
at com.esri.arcgis.webgis.util.ValidationUtil.validateFile(ValidationUtil.java:76)
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.a(WebGISDRDispatcher.java:798)
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.a(WebGISDRDispatcher.java:743)
at com.esri.arcgis.webgis.service.impl.WebGISDRDispatcher.dispatchWebGISDRRequest(WebGISDRDispatcher.java:200)
... 5 common frames omitted
2021-01-29 10:21:41 ERROR [main] com.esri.arcgis.webgis.client.WebGISDR - Cannot access the file /opt/arcgis/backup1/WebGISSite1611915412701r/h0bgscuobjn5j1gz/20210128-040117-EST.agssite.

0 Kudos
1 Reply
bharvey
New Contributor

Did you ever find a solution for this problem?    I am seeing the same results.

Thanks.

0 Kudos