First a couple of general points:
If you are installing AtoM 2.6, then you will run into issues using PHP 5.6 - AtoM 2.6 expects PHP v7.2. I would also make sure you check the other dependency versions, such as MySQL (2.6 requires v8.0), and of course the Elasticsearch version (should be 5.6). In general, for Windows installations we strongly recommend creating a Linux Ubuntu LTS virtual appliance (rather than a canned solution like AMPPS or WAMP, etc, so that you can follow the recommended installation instructions exactly inside the VM. We list the recommended depencencies on this page of the docs for each major version:
Note as well that AtoM is intended for installation on a server - if you are trying to install AtoM on a desktop or laptop for testing or development, please see our Vagrant instructions, as this provides a much easier way to set up a test instance on a local device:
With a non-standard installation, there may be a limit as to how much support we can provide, as we do all of our testing and development against Linux Ubuntu Long-term Support releases. That said, I will try to offer a few initial suggestions!
In most cases where I have seen this error, Elasticsearch simply needs to be started. I don't know what the command will be in your environment, but in Ubuntu you can check the status, start, or restart the service with commands such as:
- sudo systemctl status elasticsearch
- sudo systemctl start elasticsearch
- sudo systemctl restart elasticsearch
Try to figure out what the equivalent commands will be in your environment, and try restarting Elasticsearch.
There is a chance it could also be a permissions issue. In an Ubuntu installation, AtoM expects all files and directories below the root installation directory to be owned by the www-data user - which includes the ES vendor files and the AtoM elasticsearch configuration file. Again, I don't know how it will work in your installation environment, but in Ubuntu you can normally reset the permissions like so:
- sudo chown -R www-data:www-data /usr/share/nginx/atom