<div><div>Environment: Debian 9 at kamatera hosting</div><div><pre style="background:whitesmoke;word-break:break-all"><span lang="EN-US" style="color:#333333;font-family:'consolas'">CPU: 2 </span></pre><pre style="background:whitesmoke;word-break:break-all"><span lang="EN-US" style="color:#333333;font-family:'consolas'">RAM: 2048MB</span></pre><pre style="background:whitesmoke;word-break:break-all"><span lang="EN-US" style="color:#333333;font-family:'consolas'">Image Name: debian_9.4_64-bit</span></pre><pre style="background:whitesmoke;word-break:break-all"><span lang="EN-US" style="color:#333333;font-family:'consolas'">Disk #1: 80GB</span></pre></div><div> </div><div><span style="font-family:'book antiqua' , 'palatino'">$ java -version</span></div><div><span style="font-family:'book antiqua' , 'palatino'">openjdk version "11.0.4" 2019-07-16 LTS</span></div><div><span style="font-family:'book antiqua' , 'palatino'">OpenJDK Runtime Environment Zulu11.33+15-CA (build 11.0.4+11-LTS)</span></div><div><span style="font-family:'book antiqua' , 'palatino'">OpenJDK 64-Bit Server VM Zulu11.33+15-CA (build 11.0.4+11-LTS, mixed mode)</span></div><div> </div><div><div>Test nominatim db password-type connection:</div><div><span style="font-family:'andale mono' , 'times'">$ psql "host=localhost port=5432 dbname=nominatim user=nominatim password=****" -c 'select country_code from country_name limit 10'</span></div><div><span style="font-family:'andale mono' , 'times'"> country_code</span></div><div><span style="font-family:'andale mono' , 'times'">--------------</span></div><div><span style="font-family:'andale mono' , 'times'"> gb</span></div><div><span style="font-family:'andale mono' , 'times'"> us</span></div><div><span style="font-family:'andale mono' , 'times'"> de</span></div><div><span style="font-family:'andale mono' , 'times'"> fr</span></div><div><span style="font-family:'andale mono' , 'times'"> ch</span></div><div><span style="font-family:'andale mono' , 'times'"> ba</span></div><div><span style="font-family:'andale mono' , 'times'"> fi</span></div><div><span style="font-family:'andale mono' , 'times'"> by</span></div><div><span style="font-family:'andale mono' , 'times'"> ck</span></div><div><span style="font-family:'andale mono' , 'times'"> kr</span></div><div><span style="font-family:'andale mono' , 'times'">(10 rows)</span></div><div> </div><div>I also checked that i can search my nominatim site via web Chromium browser (Apache2 configs still are not set properly, it shows no map and no images but returns correct text result).</div></div><div> </div><div><span style="font-family:'andale mono' , 'times'">$ rm -rf photon_data</span></div><div> </div><div><span style="font-family:'andale mono' , 'times'">$ java -jar photon-0.3.1.jar -host localhost -port 5432 -database nominatim -user nominatim -password ***</span></div><div><span style="font-family:'andale mono' , 'times'">2019-09-21 09:05:19,825 [main] WARN  org.elasticsearch.node.Node - version [5.5.0-SNAPSHOT] is a pre-release version of Elasticsearch and is not suitable for production</span></div><div><span style="font-family:'andale mono' , 'times'">WARNING: An illegal reflective access operation has occurred</span></div><div><span style="font-family:'andale mono' , 'times'">WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/serg/photon-0.3.1.jar) to constructor java.nio.DirectByteBuffer(long,int)</span></div><div><span style="font-family:'andale mono' , 'times'">WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil</span></div><div><span style="font-family:'andale mono' , 'times'">WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations</span></div><div><span style="font-family:'andale mono' , 'times'">WARNING: All illegal access operations will be denied in a future release</span></div><div><span style="font-family:'andale mono' , 'times'">2019-09-21 09:05:25,032 [main] INFO  de.komoot.photon.elasticsearch.Server - started elastic search node</span></div><div><span style="font-family:'andale mono' , 'times'">2019-09-21 09:05:25,124 [Thread-0] WARN  org.eclipse.jetty.server.AbstractConnector - Ignoring deprecated socket close linger time</span></div><div> </div><div> </div><div>In the other Debian terminal, some 8 minutes later:</div><div> </div><div><span style="font-family:'andale mono' , 'times'">$ curl http://localhost:2322/api?q=vaduz</span></div><div><span style="font-family:'andale mono' , 'times'"><html><body><h2>500 Internal Server Error</h2></body></html>serg@geoSrv:~$</span></div><div> </div><div>Errors :</div><div><span style="font-family:'andale mono' , 'times'">2019-09-21 09:13:26,214 [qtp303964528-46] ERROR spark.http.matching.GeneralError -</span></div><div><span style="font-family:'andale mono' , 'times'">org.elasticsearch.index.IndexNotFoundException: no such index</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.infe(IndexNameExpressionResolver.java:676) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.innerResolve(IndexNameExpressionResolver.java:630) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:578) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:168) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:140) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.search.TransportSearchAction.executeSearch(TransportSearchAction.java:263) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:186) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.search.TransportSearchAction.doExecute(TransportSearchAction.java:65) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:142) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:84) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:83) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:72) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:408) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:80) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:54) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at de.komoot.photon.searcher.BaseElasticsearchSearcher.search(BaseElasticsearchSearcher.java:28) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at de.komoot.photon.searcher.AbstractPhotonRequestHandler.handle(AbstractPhotonRequestHandler.java:28) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at de.komoot.photon.SearchRequestHandler.handle(SearchRequestHandler.java:50) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at de.komoot.photon.SearchRequestHandler.handle(SearchRequestHandler.java:26) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at spark.RouteImpl$1.handle(RouteImpl.java:72) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at spark.http.matching.Routes.execute(Routes.java:61) ~[photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:134) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1568) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.server.Server.handle(Server.java:503) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) [photon-0.3.1.jar:?]</span></div><div><span style="font-family:'andale mono' , 'times'">        at java.lang.Thread.run(Thread.java:834) [?:?]</span></div></div><div> </div><div>Please advice what can be a problem?<br /> </div><div>sergn-n@yandex.ru</div><div> </div>