The test VM is now running ES 5.x with a basic database.
The Apache config appears OK, Javascript is able to invoke lua scripts OK.
However a couple of the queries fail:
api/pminfo.lua:169: Backend Database returned code 400!
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No
search type for
[scan]"}],"type":"illegal_argument_exception","reason":"No search type
for [scan]"},"status":400}
api/stats.lua:410: Backend Database returned code 400!
{"error":{"root_cause":[{"type":"parsing_exception","reason":"no
[query] registered for
[limit]","line":1,"col":405}],"type":"parsing_exception","reason":"no
[query] registered for [limit]","line":1,"col":405},"status":400}
I have tried the stats.lua query directly in curl and it fails with
the same error, so this is not a Lua issue.
It looks like the syntax for these particular queries has changed in 5.x.
However I was told that lists.a.o was running on 5.x.
If so, then I assume it must have had some fixes to the syntax which
have not been back-ported to the mainline code?
Anyone got any idea what needs fixing?