Select to view content in your preferred language

WebGIS DR Backup Operation Failed

1973
5
Jump to solution
03-12-2020 03:14 AM
by Anonymous User
Not applicable

Hello everybody,

I was trying to use the WebGIS DR Backup Tool to create a backup of a Base Deployment for a ArcGIS Enterprise Installation. I used the Enterprise Builder to install the deployment on a Ubuntu 18.04 Server running in the Microsoft Azure Cloud. Both the Portal and the ArcGIS Server are running behind a Web Adaptor.

When starting the WebGIS DR utility,  the ArcGIS Data Strore is sucessfully backed up, but for the ArcGIS Server I get the error message:

Failed to back up the ArcGIS Server:
Url: https://xxx.westeurope.cloudapp.azure.com/server.
{"code":500,"messages":["Export operation failed. null"],"status":"error"}

I did change the log level of the ArcGIS Server to Debug but did not get any helpful information. The severe error only says:

SEVERE Export operation failed. null

There is also a DEBUG message that says:

java.lang.NullPointerException

I tried some stuff, like changing the portal url in the configuration from the webadaptor url to the internal url and specifying the port but no success.

Does anyone have any ideas? If you need any more information just ask.

Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
JonathanQuinn
Esri Notable Contributor

Looks like you may be running into BUG-000113339 - The ArcGIS Server 10.6 (or 10.7.1) export site operation returns the error message, "Export operation failed. null" within Amazon Web Services (AWS) on Microsoft Windows and Linux (or Azure). The only workaround is to remove the cloud based data store prior to running exportSite.

View solution in original post

5 Replies
JonathanQuinn
Esri Notable Contributor

Did you register any cloud stores? Can you post the full stack trace? There's an issue with creating a backup if you have registered a cloud store.

0 Kudos
by Anonymous User
Not applicable

Hello Jonathan,

yes, a Azure Blob Storage is registered as a data store. ArcGIS Server Manager says its valid.

Here is the full stack trace:

java.lang.NullPointerException
at com.esri.arcgis.discovery.admin.SiteManager.exportSite(SiteManager.java:5714)
at com.esri.arcgis.discovery.admin.rest.site.SiteServlet.operationExportSite(SiteServlet.java:430)
at com.esri.arcgis.discovery.admin.rest.site.SiteServlet.service(SiteServlet.java:301)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at com.esri.arcgis.discovery.admin.rest.DispatcherServlet.service(DispatcherServlet.java:191)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.esri.arcgis.discovery.admin.rest.filters.CSRFFilter.doFilter(CSRFFilter.java:113)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.esri.arcgis.discovery.admin.rest.filters.OutputFormatterFilter.doFilter(OutputFormatterFilter.java:87)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
at com.esri.arcgis.discovery.admin.rest.filters.ErrorFilter.doFilter(ErrorFilter.java:81) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
at com.esri.arcgis.discovery.admin.rest.filters.AdminFilter.doFilter(AdminFilter.java:68) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) 
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) 
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) 
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) 
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834) 
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) 
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) 
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 
at java.base/java.lang.Thread.run(Unknown Source) ‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

I also tried to use a Azure Blob as the Backup location if that's relevant.

0 Kudos
JonathanQuinn
Esri Notable Contributor

Looks like you may be running into BUG-000113339 - The ArcGIS Server 10.6 (or 10.7.1) export site operation returns the error message, "Export operation failed. null" within Amazon Web Services (AWS) on Microsoft Windows and Linux (or Azure). The only workaround is to remove the cloud based data store prior to running exportSite.

by Anonymous User
Not applicable

Thank you! Do you know if the bug is resolved in version 10.8?

0 Kudos
JonathanQuinn
Esri Notable Contributor

It's fixed at 10.8.1.

0 Kudos