Skip to first unread message

Renato Antonio Bortolin

unread,
Nov 26, 2019, 3:16:37 PM11/26/19
to AtoM Users
Gentlemen, I thank you for your help and patience.
I migrated from version 1.3.1 to 2.5.2 but so far can't solve all issues, upgraded using documentation 
However I had several problems, at the moment I am getting an error from elasticsearch (version 5.6.16 as sent by the version installation documentation) when I try to access a page, follows the error below.
I executed the commands

php symfony digitalobject:regen-derivatives
php symfony search:populate
php symfony cc

but I did not succeed.

org.elasticsearch.transport.RemoteTransportException: [pfwIGF5][127.0.0.1:9300][indices:data/read/search[phase/query]]
Caused by: org.elasticsearch.index.query.QueryShardException: No mapping found for [i18n.pt.title.untouched] in order to sort on
       at org.elasticsearch.search.sort.FieldSortBuilder.build(FieldSortBuilder.java:262) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.search.sort.SortBuilder.buildSort(SortBuilder.java:156) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.search.SearchService.parseSource(SearchService.java:634) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.search.SearchService.createContext(SearchService.java:485) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:461) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:257) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.action.search.SearchTransportService$6.messageReceived(SearchTransportService.java:343) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.action.search.SearchTransportService$6.messageReceived(SearchTransportService.java:340) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) ~[elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:662) [elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) [elasticsearch-5.6.16.jar:5.6.16]
       at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.6.16.jar:5.6.16]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
       at java.lang.Thread.run(Thread.java:834) [?:?]


If anyone can help I appreciate it.
i am using nginx and php 7.2

tks


José Raddaoui

unread,
Nov 27, 2019, 1:22:34 PM11/27/19
to AtoM Users
Hello Renato,

All I can think of is a mismatch between the site languages and the Elasticsearch index mapping. Could you check if "pt" is enabled in the site settings ("/settings/language")? If it is enabled, is the "search:populate" task working properly?

Best regards.
Reply all
Reply to author
Forward
0 new messages