Re: Reinstall broken?

2020-07-22 Thread Andrew O. Dugas
I'm considering this closed. I couldn't get 7.7 working but 8.6 runs no
problem.


On Tue, Jul 21, 2020 at 2:13 PM Erick Erickson 
wrote:

> Whoa:
>
> Starting embedded zookeeper? Almost all production systems have an
> external Zookeeper ensemble. Did your old system connect to an external
> Zookeeper? You really need to solve that problem first. My guess is you’ve
> (perhaps inadvertently) changed how Solr is started. You have to straignten
> that out first.
>
> As to where the indexes are, they should be somewhere under SOLR_HOME,
> usually in a directory with some name like collection1_shard1_replica_n1,
> collection1_shard2_replica_n12 etc. There may be multiple ones of this.
>
> Best,
> Erick
>
> > On Jul 21, 2020, at 2:21 PM, Andrew O. Dugas 
> wrote:
> >
> > This was very helpful for diagnostics. It is choking on Zookeeper, can't
> > start it.
> >
> > Where are the index files written? I assume if they are artifacts from
> the
> > previous install, they must be outside the current solr directory, but I
> > can't find them.
> >
> > 2020-07-21 17:23:09.244 INFO  (main) [   ] o.a.s.c.SolrZkServerProps
> > Reading configuration from:
> >
> /Users/andrewdugas/Desktop/SOLR/solr-7.7.3/example/cloud/node1/solr/zoo.cfg
> > 2020-07-21 17:23:09.248 INFO  (main) [   ] o.a.s.c.SolrZkServer STARTING
> > EMBEDDED STANDALONE ZOOKEEPER SERVER at port 9983
> > 2020-07-21 17:23:09.749 INFO  (main) [   ] o.a.s.c.ZkContainer Zookeeper
> > client=localhost:9983
> > 2020-07-21 17:23:41.130 ERROR (main) [   ] o.a.s.s.SolrDispatchFilter
> Could
> > not start Solr. Check solr/home property and the logs
> > 2020-07-21 17:23:41.225 ERROR (main) [   ] o.a.s.c.SolrCore
> > null:org.apache.solr.common.SolrException:
> > java.util.concurrent.TimeoutException: Could not connect to ZooKeeper
> > localhost:9983 within 3 ms
> > at
> org.apache.solr.common.cloud.SolrZkClient.(SolrZkClient.java:201)
> > at org.apache.solr.cloud.ZkController.(ZkController.java:334)
> > at org.apache.solr.core.ZkContainer.initZooKeeper(ZkContainer.java:114)
> >
> >
> >
> > On Tue, Jul 21, 2020 at 6:03 AM Erick Erickson 
> > wrote:
> >
> >> If you indexed any data and did _not_ delete the indexes (the data
> >> directories)
> >> then you may well have index files written with 8x, which 7x is
> incapable
> >> of
> >> dealing with. That’s the error I’d look for first in the solr log files
> >> that
> >> Colvin suggested.
> >>
> >> Best,
> >> Erick
> >>
> >>> On Jul 21, 2020, at 4:14 AM, Colvin Cowie 
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> When you say you uninstalled 8.x what exactly does that mean? That you
> >>> deleted the directory of the binary *and* the solr home where the index
> >>> data was stored?
> >>>
> >>> Either way, check your logs (solr/server/logs in the location you
> >> extracted
> >>> the binary by default) and you will see the exception that actually
> >> caused
> >>> the Core Container to fail to start up, and that should give you a
> better
> >>> idea as to the problem.
> >>>
> >>> On Tue, 21 Jul 2020 at 01:43, Andrew O. Dugas <
> andrew.o.du...@gmail.com>
> >>> wrote:
> >>>
> >>>> I installed SOLR 8.x but then realized I needed 7.7.x for my
> purposes. I
> >>>> uninstall 8.x and installed 7.7.3 no problem.
> >>>>
> >>>> However, it seems to have issue with port 8983. This is what I get
> when
> >> I
> >>>> try to open the UI in a browser, which I assume is due to some not
> >>>> uninstall 8.x artifact:
> >>>>
> >>>> HTTP ERROR 404
> >>>>
> >>>> Problem accessing /solr/. Reason:
> >>>>
> >>>>   Not Found
> >>>>
> >>>> Caused by:
> >>>>
> >>>> javax.servlet.ServletException: javax.servlet.UnavailableException:
> >>>> Error processing the request. CoreContainer is either not initialized
> >>>> or shutting down.
> >>>>   at
> >>>>
> >>
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
> >>>>   at
> >>>>
> >>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> >>>>   at
> >>>>
> &g

Re: Reinstall broken?

2020-07-21 Thread Andrew O. Dugas
This was very helpful for diagnostics. It is choking on Zookeeper, can't
start it.

Where are the index files written? I assume if they are artifacts from the
previous install, they must be outside the current solr directory, but I
can't find them.

2020-07-21 17:23:09.244 INFO  (main) [   ] o.a.s.c.SolrZkServerProps
Reading configuration from:
/Users/andrewdugas/Desktop/SOLR/solr-7.7.3/example/cloud/node1/solr/zoo.cfg
2020-07-21 17:23:09.248 INFO  (main) [   ] o.a.s.c.SolrZkServer STARTING
EMBEDDED STANDALONE ZOOKEEPER SERVER at port 9983
2020-07-21 17:23:09.749 INFO  (main) [   ] o.a.s.c.ZkContainer Zookeeper
client=localhost:9983
2020-07-21 17:23:41.130 ERROR (main) [   ] o.a.s.s.SolrDispatchFilter Could
not start Solr. Check solr/home property and the logs
2020-07-21 17:23:41.225 ERROR (main) [   ] o.a.s.c.SolrCore
null:org.apache.solr.common.SolrException:
java.util.concurrent.TimeoutException: Could not connect to ZooKeeper
localhost:9983 within 3 ms
at org.apache.solr.common.cloud.SolrZkClient.(SolrZkClient.java:201)
at org.apache.solr.cloud.ZkController.(ZkController.java:334)
at org.apache.solr.core.ZkContainer.initZooKeeper(ZkContainer.java:114)



On Tue, Jul 21, 2020 at 6:03 AM Erick Erickson 
wrote:

> If you indexed any data and did _not_ delete the indexes (the data
> directories)
> then you may well have index files written with 8x, which 7x is incapable
> of
> dealing with. That’s the error I’d look for first in the solr log files
> that
> Colvin suggested.
>
> Best,
> Erick
>
> > On Jul 21, 2020, at 4:14 AM, Colvin Cowie 
> wrote:
> >
> > Hi,
> >
> > When you say you uninstalled 8.x what exactly does that mean? That you
> > deleted the directory of the binary *and* the solr home where the index
> > data was stored?
> >
> > Either way, check your logs (solr/server/logs in the location you
> extracted
> > the binary by default) and you will see the exception that actually
> caused
> > the Core Container to fail to start up, and that should give you a better
> > idea as to the problem.
> >
> > On Tue, 21 Jul 2020 at 01:43, Andrew O. Dugas 
> > wrote:
> >
> >> I installed SOLR 8.x but then realized I needed 7.7.x for my purposes. I
> >> uninstall 8.x and installed 7.7.3 no problem.
> >>
> >> However, it seems to have issue with port 8983. This is what I get when
> I
> >> try to open the UI in a browser, which I assume is due to some not
> >> uninstall 8.x artifact:
> >>
> >> HTTP ERROR 404
> >>
> >> Problem accessing /solr/. Reason:
> >>
> >>Not Found
> >>
> >> Caused by:
> >>
> >> javax.servlet.ServletException: javax.servlet.UnavailableException:
> >> Error processing the request. CoreContainer is either not initialized
> >> or shutting down.
> >>at
> >>
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
> >>at
> >>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> >>at
> >>
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
> >>at
> >>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
> >>at org.eclipse.jetty.server.Server.handle(Server.java:502)
> >>at
> >> org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
> >>at
> >>
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
> >>at org.eclipse.jetty.io
> >> .AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
> >>at org.eclipse.jetty.io
> >> .FillInterest.fillable(FillInterest.java:103)
> >>at org.eclipse.jetty.io
> >> .ChannelEndPoint$2.run(ChannelEndPoint.java:118)
> >>at
> >>
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
> >>at
> >>
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
> >>at java.base/java.lang.Thread.run(Thread.java:832)
> >> Caused by: javax.servlet.UnavailableException: Error processing the
> >> request. CoreContainer is either not initialized or shutting down.
> >>at
> >>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:359)
> >>at
> >>
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:341)
> >>at
> >>
> org.eclipse.jetty.servlet.ServletHandler$Cache

Reinstall broken?

2020-07-20 Thread Andrew O. Dugas
I installed SOLR 8.x but then realized I needed 7.7.x for my purposes. I
uninstall 8.x and installed 7.7.3 no problem.

However, it seems to have issue with port 8983. This is what I get when I
try to open the UI in a browser, which I assume is due to some not
uninstall 8.x artifact:

HTTP ERROR 404

Problem accessing /solr/. Reason:

Not Found

Caused by:

javax.servlet.ServletException: javax.servlet.UnavailableException:
Error processing the request. CoreContainer is either not initialized
or shutting down.
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: javax.servlet.UnavailableException: Error processing the
request. CoreContainer is either not initialized or shutting down.
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:359)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:341)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
... 12 more

Caused by:

javax.servlet.UnavailableException: Error processing the request.
CoreContainer is either not initialized or shutting down.
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:359)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:341)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)