Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
300 stars 116 forks source link

Attempt to configure data store failed. 'graph' data store is not installed in the current configuration. #367

Closed sgavathe closed 1 year ago

sgavathe commented 1 year ago

I get this error when I run configuredatastore with graph as option. I am using Chef cookkbook for ArcGIS 11.0.

` /opt/esri/arcgis/datastore/tools/configuredatastore.sh https://site user pwd /opt/esri/arcgis/datastore --stores relational,graph

Configuring data store(s). Initial configuration may take a few minutes. When configuring an upgraded data store, this process may take several hours depending on the size of your data. Please wait...

The option "--mode" does not apply to the configuration of relational or spatiotemporal big data stores.

Configuring data store....

Error encountered: Machine 'https://localhost:2443/arcgis/datastoreadmin' returned an error. 'Attempt to configure data store failed. Caused by: 'graph' data store is not installed in the current configuration. On Windows use the Modify option to select additional features from Add Remove Programs. On Linux, modification of installed data store types is not supported. Consider installing on a separate machine. Consult documentation for more information on specific usage `

This is my data_store

    "data_store": {
      "install_dir": "/opt/esri",
      "data_dir": "/opt/esri/gisdata/arcgisdatastore",
      "configure_autostart": true,
      "preferredidentifier": "hostname", 
      "install_system_requirements": true,
      "setup_options": "-f Graph", 
      "types": "relational,graph",
      "relational": {
          "backup_type": "fs",
          "backup_location": "/net/FILESERVER/gisdata/arcgisbackup/relational"
      },
      "graph": {
          "backup_type": "fs",
          "backup_location": "/net/FILESERVER/gisdata/arcgisbackup/graph"
     }
    },
cameronkroeker commented 1 year ago

@sgavathe can you check to see which data store types are installed:

$ cat /opt/esri/arcgis/datastore/framework/etc/installed_datastores.properties
sgavathe commented 1 year ago

Thanks @cameronkroeker

It got the graph store installed finally. But with below option it only installs Graphstore. Is it possible to send both Graph and Relational database under setup_otions ?

"setup_options": "-f Graph",

` cat /opt/esri/arcgis/datastore/framework/etc/installed_datastores.properties

Set the installed storeType property

Syntax: relational.installed=true|false

relational.installed=false tilecache.installed=false spatiotemporal.installed=false graph.installed=true object.installed=false

`

Thanks.

sgavathe commented 1 year ago

Got this one resolved by passing
"setup_options": "-f Graph,Relational",

Thanks @cameronkroeker.

closing the issue.