Hello, we have just implemented version 11.3 of ArcGIS Enterprise on Ubuntu 22.04. Everything is working great except I cannot seem to get the webgisdr utility to run. The only command the utility will recognize is `./webgisdr.sh -h` and `./webgisdr.sh --help`. All other commands return:
ERROR: Unrecognized command specified. For help, type ''webgisdr -h''.
I have added a couple of echoes to the shell script there to see if JAVA_HOME and CLASSPATH are being successfully populated, and they are (I've read a few other threads where this problem has crept up), so I don't think that's the issue. I'm not a java expert, but I think this shell script is a wrapper for a java class that runs the operations, and it feels like that java class is not present or something.
Any help would be greatly welcome!
EDIT: I'd like to also note this a highly available system. Each component of the enterprise suite has two servers, exempting the webadaptor and portal services, which live together on the same two servers. Six total nodes, plus an ec2 acting as a fileserver for the arcgis server component (datastore and portal are using S3). I've mounted the fileserver to all 6 nodes to act as the shared location where the webgisdr utility will store information before moving to s3. I've also enabled point-in-time on the datastore.
Solved! Go to Solution.
I think I see your issue: you HAVE to add one of the -e, -i, or -c commands before the -f. You're missing them and only -h doesn't need it.
Oh wow, that's probably it then! I am in the middle of testing a few other things so I will accept this as a solution once I can test, but that makes a lot more sense. Thanks a lot!
Are you running it from the correct location? That's tripped me up plenty before!
" The WebGISDR utility is installed to <Portal for ArcGIS installation directory>/tools/webgisdr."
ArcGIS Enterprise backups—Portal for ArcGIS | Documentation for ArcGIS Enterprise
Hey, @EdwardBuckley , thanks for the response. I am def running it from the right location. I am logged into the primary portal ip and running it from cmdline there. Really not sure what's going on here, it's like it does not recognize the program at all, except the help command. Every command returns an error saying it's an unrecognized command, except --help, -h. That command is recognized and does not return an error.
@JVig, out of curiosity, what specific commands did you use when it failed?
Here is the screenshot of the help command working just fine.
Followed by trying the -f with the webgisdr.properties file:
And for fun, here is the current configuration command:
Kind of maddening right?!
I think I see your issue: you HAVE to add one of the -e, -i, or -c commands before the -f. You're missing them and only -h doesn't need it.
Oh wow, that's probably it then! I am in the middle of testing a few other things so I will accept this as a solution once I can test, but that makes a lot more sense. Thanks a lot!
Sure, enough, that was the issue. Many thanks my man!
You're so welcome!!