Hello. Thank you for your reply.
I was able to upgrade to 2.15.1 using the method you gave me.
ubuntu@ip-172-31-17-56:~$ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
119bc205bf7d openvidu/openvidu-server-pro:2.15.1 "/bin/bash -c 'expor…" 10 minutes ago Up 10 minutes openvidu_openvidu-server_1
bdb4d168e4ac docker.elastic.co/elasticsearch/elasticsearch:7.8.0 "/tini -- /usr/local…" 10 minutes ago Up 10 minutes 0.0.0.0:9200->9200/tcp, 9300/tcp openvidu_elasticsearch_1
3ac61e905a16 openvidu/openvidu-coturn:1.0.0 "/bin/sh -c /usr/loc…" 10 minutes ago Up 10 minutes openvidu_coturn_1
24b1848a5610 docker.elastic.co/beats/filebeat:7.8.0 "/usr/local/bin/dock…" 10 minutes ago Up 10 minutes openvidu_filebeat_1
233175df08b4 openvidu/openvidu-proxy:3.0.0 "/bin/sh -c 'htpassw…" 10 minutes ago Up 10 minutes openvidu_nginx_1
1d2a6cf03eb1 docker.elastic.co/kibana/kibana:7.8.0 "/usr/local/bin/dumb…" 10 minutes ago Up 10 minutes 0.0.0.0:5601->5601/tcp openvidu_kibana_1
0ac3ab1225fb openvidu/openvidu-redis:1.0.0 "docker-entrypoint.s…" 10 minutes ago Up 10 minutes openvidu_redis_1
After restarting the OpenVidu server, I went to Kibana’s OpenVidu Sessions’ I looked at the dashboard. However, the same error as yesterday was occurring.
I checked the network tab of the developer tools in chrome and found that the error occurred with the following request.
request:
POST /kibana/internal/search/es
{"params":{"ignoreThrottled":true,"preference":1594687260739,"index":"openvidu","body":{"aggs":{"1":{"avg":{"field":"msSinceEndpointCreation"}}},"size":0,"stored_fields":["*"],"script_fields":{"sizeFormatted":{"script":{"source":"if (doc.containsKey('size')) {\n if (doc['size'].size()==0) {\n return '';\n } else {\n return doc['size'].value;\n }\n} else {\n return '';\n}","lang":"painless"}}},"docvalue_fields":[{"field":"createdAt","format":"date_time"},{"field":"destroyedAt","format":"date_time"},{"field":"startTime","format":"date_time"},{"field":"timestamp","format":"date_time"}],"_source":{"excludes":[]},"query":{"bool":{"must":[{"match_all":{}}],"filter":[{"match_phrase":{"elastic_type.keyword":{"query":"kms"}}},{"match_phrase":{"type.keyword":{"query":"MediaFlowOutStateChange"}}},{"match_phrase":{"state.keyword":{"query":"FLOWING"}}},{"range":{"timestamp":{"gte":"2020-07-13T15:00:00.000Z","lte":"2020-07-14T14:59:59.999Z","format":"strict_date_optional_time"}}}],"should":[],"must_not":[]}}},"rest_total_hits_as_int":true,"ignore_unavailable":true,"ignore_throttled":true,"timeout":"30000ms"},"serverStrategy":"es"}
response:
{
"statusCode": 400,
"error": "Bad Request",
"message": "[query_shard_exception] failed to create query: For input string: \"2020-07-13T15:00:00.000Z\"",
"attributes": {
"error": {
"type": "query_shard_exception",
"reason": "failed to create query: For input string: \"2020-07-13T15:00:00.000Z\"",
"index_uuid": "rKlk1m8tSIKEuIdw0pO1PQ",
"index": "openvidu",
"caused_by": {
"type": "number_format_exception",
"reason": "For input string: \"2020-07-13T15:00:00.000Z\""
}
}
}
}
This error response is the same as yesterday.