Open qabulin opened 6 years ago
I second this, no matter how many setting options I try (localhost, ip, named server) I keep getting this same error.
I've managed to solve this error message problem. It's because you should use logstore_xapi version 2.0. Somewhere after 2.0, they changed the structure of the plugin, and no longer included the 'lib' folder which logexpander controller was found in. I've successfully enabled the plugin and the cron log says that it successfully communicated with elasticsearch. In case anybody else runs into this issue!
Moodle course activity is not pushing to Elasticsearch and I'm getting this undefined method error in the Apache error logs.
I have moodle-logstore_xapi installed and disabled, and moodle-logstore-elasticsearch installed and enabled. The FQDN for the Elasticsearch endpoint has been entered in the config. I confirmed that I can access and push records to Elasticsearch manually with cURL, but Moodle activity does not. There is no authentication required to simplify testing.
Here is the complete error log entry I'm getting which I'm having difficulties deciphering (pretty-print for easier viewing): https://gist.github.com/qabulin/145e59fed98caf596e7f59b1d0d5986c
Any pointers or suggestions would be appreciated, thanks!
Debian 9 PHP 7.0.27-0+deb9u1 Moodle 34 elasticsearch/elasticsearch v6.0.1