08-25-2021 11:29 PM
I'm having serious troubles trying to migrate my data from alfresco 5.2 to 6.2.
Everything works but when the reindex is happening, all sort of errors happen, the one that are blocking me this time is:
solr6_1 | 2021-08-26 03:15:01.896 WARN (qtp868964689-12) [ ] o.a.s.h.a.LukeRequestHandler Error getting file length for [segments_1x] solr6_1 | java.nio.file.NoSuchFileException: /opt/alfresco-search-services/data/archive/index/segments_1x solr6_1 | at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) solr6_1 | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) solr6_1 | at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) solr6_1 | at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) solr6_1 | at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149) solr6_1 | at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99) solr6_1 | at java.base/java.nio.file.Files.readAttributes(Files.java:1764) solr6_1 | at java.base/java.nio.file.Files.size(Files.java:2381) solr6_1 | at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:243) solr6_1 | at org.apache.lucene.store.NRTCachingDirectory.fileLength(NRTCachingDirectory.java:128) solr6_1 | at org.apache.solr.handler.admin.LukeRequestHandler.getFileLength(LukeRequestHandler.java:615) solr6_1 | at org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(LukeRequestHandler.java:588) solr6_1 | at org.apache.solr.handler.admin.CoreAdminOperation.getCoreStatus(CoreAdminOperation.java:348) solr6_1 | at org.apache.solr.handler.admin.StatusOp.execute(StatusOp.java:48) solr6_1 | at org.apache.solr.handler.admin.CoreAdminOperation.execute(CoreAdminOperation.java:384) solr6_1 | at org.apache.solr.handler.admin.CoreAdminHandler$CallInfo.call(CoreAdminHandler.java:388) solr6_1 | at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:174) solr6_1 | at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173) solr6_1 | at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:748) solr6_1 | at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:729) solr6_1 | at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:510) solr6_1 | at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361) solr6_1 | at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:305) solr6_1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) solr6_1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583) solr6_1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) solr6_1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) solr6_1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) solr6_1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) solr6_1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:513) solr6_1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) solr6_1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) solr6_1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) solr6_1 | at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) solr6_1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) solr6_1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) solr6_1 | at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335) solr6_1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) solr6_1 | at org.eclipse.jetty.server.Server.handle(Server.java:539) solr6_1 | at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) solr6_1 | at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) solr6_1 | at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) solr6_1 | at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) solr6_1 | at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) solr6_1 | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) solr6_1 | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) solr6_1 | at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) solr6_1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) solr6_1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) solr6_1 | at java.base/java.lang.Thread.run(Thread.java:829)
After that error the reindex seems to stop.
Thats a strange error to happen since I didn't brought the index from the old version since it's not compatible.
I'm using the alfresco community docker installer:
11-29-2021 09:39 AM
Hi Johann,
We are having the same problems, so I read you post. But I cannot figure out what exactly you did to solve your problems.
Can you explain??
Best regards,
Wybrand.
12-07-2021 08:33 AM
Hi Wybrand,
Basically I allocated a bunch of ram to Solr service, if I recall I put 6144mb on mem_limit. I also changed Xmx and Xms to 4608mb. I intentionally left some wiggle room because otherwise the docker container kept crashing with error 137.
tlog when not comitted seems to also eat alot of HDD, so mind that also.
After reinxed completed I changed back the configurations. I'm no expert, but that's what worked for me.
04-07-2024 11:38 AM
Hello,
I encountered this issue. Where did adjust the solr memory it is in sorl GUI?
Thank you.
Explore our Alfresco products with the links below. Use labels to filter content by product module.