Closed duylong closed 5 years ago
By default Statusengine UI does not depends on Elasticsearch, because the Elastic-Client required PHP => 5.6.6 or >= 7.x and I don't want to lock out users, that don't plan to use Elasticsearch at all.
If you are on PHP 5.6 and ES 5.x, this should solve the issue:
apt-get install php-curl php-json php-mbstring
cd /opt/statusengine/worker
composer require elasticsearch/elasticsearch:~5.0
Docs: https://statusengine.org/tutorials/Elasticsearch-Perfdata-Backend/
For PHP 7.x and ES 6.x:
apt-get install php-curl php-json php-mbstring
cd /opt/statusengine/worker
composer require elasticsearch/elasticsearch:~6.0
Docs: https://statusengine.org/tutorials/Elasticsearch6-Perfdata-Backend/
Hope this solves your issue
I thought the dependencies were also depending on the configuration. Thanks !
Hi,
I wanted to update the web interface (git pull and composer update) but unfortunately I have a class error not found, is this normal?