fulltextsearch_elasticsearch
fulltextsearch_elasticsearch copied to clipboard
Error: Specifying types in urls has been deprecated
Not sure how I've triggered this error, but it's filling up my logs.
Nextcloud version 21.0.0
Error: Specifying types in urls has been deprecated at /var/www/nextcloud/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Delete.php#48
<<closure>>
OC\Log\ErrorHandler::onError()
/var/www/nextcloud/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Delete.php - line 48:
trigger_error()
/var/www/nextcloud/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php - line 1634:
Elasticsearch\Endpoints\Delete->getURI()
/var/www/nextcloud/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php - line 435:
Elasticsearch\Client->performRequest()
/var/www/nextcloud/apps/fulltextsearch_elasticsearch/lib/Service/IndexMappingService.php - line 139:
Elasticsearch\Client->delete()
/var/www/nextcloud/apps/fulltextsearch_elasticsearch/lib/Service/IndexService.php - line 172:
OCA\FullTextSearch_Elasticsearch\Service\IndexMappingService->indexDocumentRemove()
/var/www/nextcloud/apps/fulltextsearch_elasticsearch/lib/Platform/ElasticSearchPlatform.php - line 324:
OCA\FullTextSearch_Elasticsearch\Service\IndexService->deleteIndexes()
/var/www/nextcloud/apps/fulltextsearch/lib/Service/IndexService.php - line 417:
OCA\FullTextSearch_Elasticsearch\Platform\ElasticSearchPlatform->deleteIndexes()
/var/www/nextcloud/apps/fulltextsearch/lib/Cron/Index.php - line 134:
OCA\FullTextSearch\Service\IndexService->updateDocument("*** sensiti ... *")
/var/www/nextcloud/apps/fulltextsearch/lib/Cron/Index.php - line 102:
OCA\FullTextSearch\Cron\Index->liveCycle()
/var/www/nextcloud/lib/private/BackgroundJob/Job.php - line 52:
OCA\FullTextSearch\Cron\Index->run()
/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php - line 59:
OC\BackgroundJob\Job->execute()
/var/www/nextcloud/cron.php - line 128:
OC\BackgroundJob\TimedJob->execute()
ES version
{
"name": "es-node-1",
"cluster_name": "es-cluster",
"cluster_uuid": "cmPi2HrmQNuExv90I55jPQ",
"version": {
"number": "7.11.1",
"build_flavor": "default",
"build_type": "deb",
"build_hash": "ff17057114c2199c9c1bbecc727003a907c0db7a",
"build_date": "2021-02-15T13:44:09.394032Z",
"build_snapshot": false,
"lucene_version": "8.7.0",
"minimum_wire_compatibility_version": "6.8.0",
"minimum_index_compatibility_version": "6.0.0-beta1"
},
"tagline": "You Know, for Search"
}
Hello, have the same issue with Elasticsearch and readonlyrest 7.12.0
[2021-03-25T12:34:04,222][INFO ][t.b.r.a.l.AccessControlLoggingDecorator] [server.domain.tld] ALLOWED by { name: 'Accept requests from cloud1 on my_index', policy: ALLOW, rules: [groups,indices] req={ ID:2124103283-1840914050#133, TYP:GetIndexRequest, CGR:N/A, USR:cloudIndex, BRS:true, KDX:null, ACT:indices:admin/get, OA:127.0.0.1/32, XFF:null, DA:127.0.0.1/32, IDX:cloud_index, MET:HEAD, PTH:/cloud_index, CNT:<N/A>, HDR:Accept=application/json, Authorization=<OMITTED>, Content-Type=application/json, Host=127.0.0.1, User-Agent=elasticsearch-php/7.10.0 (Linux 4.19.0-14-amd64; PHP 8.0.3), content-length=0, HIS:[Accept requests from cloud1 on my_index-> RULES:[groups->true, indices->true] RESOLVED:[user=cloudIndex;group=cloud;av_groups=cloud;indices=cloud_index]], }
Version:
`Full text search 21.0.0
-
Search Platform: Elasticsearch 21.0.0 (Selected) { "elastic_host": [ "http://cloudIndex:********@127.0.0.1:9200" ], "elastic_index": "cloud_index", "fields_limit": "10000", "es_ver_below66": "0", "analyzer_tokenizer": "standard" }
-
Content Providers: Files 21.0.0 { "files_local": "1", "files_external": "0", "files_group_folders": "0", "files_encrypted": "0", "files_federated": "0", "files_size": "10", "files_pdf": "1", "files_office": "1", "files_image": "0", "files_audio": "0", "files_fulltextsearch_tesseract": { "version": "20.0.1", "enabled": "1", "psm": "4", "lang": "de", "pdf": "1", "pdf_limit": "0" } }`
but not FTS
`Error: Specifying types in urls has been deprecated at /home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/DeleteByQuery.php#42
<<closure>>
OC\Log\ErrorHandler::onError()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/DeleteByQuery.php - line 42:
trigger_error()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php - line 1634:
Elasticsearch\Endpoints\DeleteByQuery->getURI()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch_elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php - line 492:
Elasticsearch\Client->performRequest()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch_elasticsearch/lib/Service/IndexService.php - line 130:
Elasticsearch\Client->deleteByQuery()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch_elasticsearch/lib/Platform/ElasticSearchPlatform.php - line 207:
OCA\FullTextSearch_Elasticsearch\Service\IndexService->resetIndex()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch/lib/Service/IndexService.php - line 636:
OCA\FullTextSearch_Elasticsearch\Platform\ElasticSearchPlatform->resetIndex()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch/lib/Command/Test.php - line 343:
OCA\FullTextSearch\Service\IndexService->resetIndex()
/home/domain.tld/domains/cloud.domain.tld/public_html/apps/fulltextsearch/lib/Command/Test.php - line 178:
OCA\FullTextSearch\Command\Test->testResetTest()
/home/domain.tld/domains/cloud.domain.tld/public_html/3rdparty/symfony/console/Command/Command.php - line 255:
OCA\FullTextSearch\Command\Test->execute()
/home/domain.tld/domains/cloud.domain.tld/public_html/core/Command/Base.php - line 169:
Symfony\Component\Console\Command\Command->run()
/home/domain.tld/domains/cloud.domain.tld/public_html/3rdparty/symfony/console/Application.php - line 1009:
OC\Core\Command\Base->run()
/home/domain.tld/domains/cloud.domain.tld/public_html/3rdparty/symfony/console/Application.php - line 273:
Symfony\Component\Console\Application->doRunCommand()
/home/domain.tld/domains/cloud.domain.tld/public_html/3rdparty/symfony/console/Application.php - line 149:
Symfony\Component\Console\Application->doRun()
/home/domain.tld/domains/cloud.domain.tld/public_html/lib/private/Console/Application.php - line 215:
Symfony\Component\Console\Application->run()
/home/domain.tld/domains/cloud.domain.tld/public_html/console.php - line 100:
OC\Console\Application->run()
/home/domain.tld/domains/cloud.domain.tld/public_html/occ - line 11:
require_once("/home/dasne ... p")`