Indexing never ends.

Nielsen Tomazini
Nielsen Tomazini Member Posts: 247
edited November 20 in English Forum

Hi everyone.

After trying to install Logos in a different driver I got problems with my installation. So, I decided to do a clean install of Logos7. However it did not solve the problem because Indexing would always start from 0% every time I open Logos. So I tried to rebuild the Index but it did not solve the problem. So then I decided to format my laptop. I formatted it and began a clean install of Logos 7. Installation ran without a problem, but then Index had the same behavior, it never ends.

I waited for the "second time" index to go through but it did not change. When I start Logos, Index starts again from 0%, every time.

Please see attached my Log files.

3678.Logos Log Files.zip

www.aprendalogos.com 
Youtube: AprendaLogos

«1

Comments

  • After trying to install Logos in a different driver I got problems with my installation.

    Please elaborate a bit about different drive and problems. Curious about drive hardware ?

    Please enable diagnostic logging => https://www.logos.com/support/windows/report-problem since the zip file did not have Logos.log nor LogosIndexer.log file for crash context (and other diagnostic messages).

    When I start Logos, Index starts again from 0%, every time.

    If indexing did not complete previously, then it starts over at 0 %

    Keep Smiling [:)]

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Thanks for you help Keep Smiling.
    Concerning moving Logos 7 to another drive, I gave it up, I need Logos running asap so, I kept myself in the traditional installation - like being converted to an Orthodox Logos Theology.

    I thought the logging was enable, but anyway it is enabled now. However, Indexing was running when I enabled it. I shut down Logos, paused index, then opened Logos again and index is running again.
    Should I wait for this indexing to finish and run it again to register what happens in the logging?

    Concerning your point "If indexing did not complete previously..."
    I understand that and it seems that index is over, it goes about 60% and then it disappears like when it reaches 100%. But when I open Logos the next time, index starts again.



    www.aprendalogos.com 
    Youtube: AprendaLogos

  • However, Indexing was running when I enabled it. I shut down Logos, paused index, then opened Logos again and index is running again.

    Please check LogosIndexer.log file for diagnostic messages. Indexer running after being paused may not be logging (may need to stop Indexer process and restart Indexer for logging messages to be written).

    Concerning your point "If indexing did not complete previously..."
    I understand that and it seems that index is over, it goes about 60% and then it disappears like when it reaches 100%. But when I open Logos the next time, index starts again.

    Previous zip file showed Indexer crashing (so did not complete previously), but lacked diagnostic context about what crashed (so humanly not know crash cause, which could be a corrupt resource OR ran out of space OR something else).

    Keep Smiling [:)]

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    After enabling logging I decided to rebuild index just to be sure the whole process gets logged. However indexing is in only 15% after more than 1 hour indexing (my machine: Surface Pro 3, i5, 4Gb RAM, 125Gb SSD [showing 53Gb of free space at this moment]). I believe I will have to pause indexing because I will need to go home. If the logging does not get the error until there, I will ask Logos to rebuild index again and leave the computer to index overnight.

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Hi everyone,

    Here comes my Logos Log files. Still Indexing start from 0% when I open Logos.

    Thanks for any help.

    Blessings,

    58752.Logos Log Files.zip

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Dave Hooton
    Dave Hooton MVP Posts: 35,772

    Stop the indexing if necessary (kill LogosIndexer.exe in Task Manager) and exit Logos.

    Permanently delete the folder C:\Users\niels\AppData\Local\Logos\Data\42g5wja0.3n4\LibraryIndex and restart Logos. Indexing should start.

    Dave
    ===

    Windows 11 & Android 13

  • Here comes my Logos Log files. Still Indexing start from 0% when I open Logos.

    LogosIndexer.log file has message (after 577 out of 4,252 resources were indexed):

    Info LibraryIndex Library indexing canceled, failed, or ran out of storage space; deleting temporary files.

    LogosIndexerError.log has a variety of errors, which includes two Indexer crashes and io stream errors with different resources.

    The crash in LogosIndexerCrash.txt had contextual information in LogosIndexer.log until the Indexer was started again.

    When Indexer crashes, please check modified dates of LogosIndexer.log and LogosIndexerCrash.txt => when they are the same, please zip up log files and attach them.

    Because of io stream errors, you may want to check your SSD => https://www.lovemysurface.net/surface-pro-3-ssd-speed-problems/

    Blog mentions Bitlocker as a potential performance issue so curious if Bitlocker is enabled ?

    Keep Smiling [:)]

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Thanks a lot for your feedback Keep Smiling.
    I will check my SSD health.
    Bitlocker is enabled. I will turn this off but I have had this Surface for 3 years always with Bitlocker on and never had a problem, but anyway, if this solves the problem, that is fine for me.
    Thanks again.

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Please see attached the Log files of my last attempt to make it work.

    Now I have Bitlocker Off and on a health check of my SSD no problems were found.

    I will do through another Indexing turning of  all that I can (anti-virus, not so important Windows processes).

    Thanks again

    5700.Logos Log Files.zip

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • One item to check is your LibraryIndex folder permissions => https://www.logos.com/support/windows/error-writing-to-file (since writing postings for Library Indexing goes into LibraryIndex folder - personally would not use temporary work around for indexing since that changes AppData location). 

    LogosIndexer.log file shows crash happening shortly after beginning to write postings into a new Library index. LogosIndexer.log snippets for crash context:

    2018-04-13 22:56:12.3841 9 Info LibraryIndex 4,252 resources need to be indexed, and will be merged into an index of 0 resources.
    2018-04-13 22:56:12.3841 9 Info LibraryIndex Re-indexing because the existing index is corrupt or missing.
    2018-04-13 22:56:12.3841 9 Info LibraryIndex Final count: 4,252 resources need to be indexed; no merge necessary.

    2018-04-13 22:56:12.5247 1 Info WindowsIndexerProgram Setting notification icon tool tip to: Software Bíblico Logos está indexando (0% completa)

    2018-04-13 22:56:12.7279 16 Warn SearchEngineImpl Using BlockRunManagerPostingsFileWriter due to 32-bit or insufficient RAM (4001MB).
    2018-04-13 22:56:12.7435 16 Info LibraryIndex Creating a new library index 'index-build' (type 0) in C:\Users\niels\AppData\Local\Logos\Data\42g5wja0.3n4\LibraryIndex

    2018-04-14 02:23:22.5608 16 Info WindowsIndexerProgress 4,252 of 4,252 resources indexed; current phase progress is 58.6%
    2018-04-14 02:23:22.6233 16 Info LibraryIndex (5m 47.1s) Indexing LLS:VULGATACLEM
    2018-04-14 02:23:22.6233 16 Info LibraryIndex Waiting for background threads to finish.
    2018-04-14 02:23:22.6233 16 Info LibraryIndex Finished indexing resources (in 3h 27m 8s); writing postings.
    2018-04-14 02:23:24.9514 16 Error IndexerProgram Unhandled exception: System.InvalidOperationException: Operation is not valid due to the current state of the object.
    at Libronix.SearchEngine.BlockRunManagerPostingsFileWriter.ExternalMergeSortFileBlocks(BlockRunManager mgrIn, BlockRunManager mgrOut, IWorkState state, Action`1 fnReportProgress)
    at Libronix.SearchEngine.BlockRunManagerPostingsFileWriter.WritePostings(IWorkState state, IIndexerProgress progress, Stream stream, Func`2 createPostingWriter)
    at Libronix.SearchEngine.PostingsFileCreator.WritePostings(IWorkState state, IIndexerProgress progress)
    at Libronix.SearchEngine.Indexer.WritePostings(IWorkState state)
    at Libronix.DigitalLibrary.LibraryIndex.DoBuildIndex(ILibraryIndexWorkState state, Int32 nResourceCount, String strIndexName, Int32 nAdditionalThreads, IndexFileFormat indexFileFormat)
    at Libronix.DigitalLibrary.LibraryIndex.BuildIndex(LibraryIndexWorkState state, String strIndexName, IndexFileFormat indexFileFormat)
    at Libronix.DigitalLibrary.LibraryIndex.IndexResources(IPausableWorkState threadOwnerWorkState, LibraryIndexWorkState state)
    at Libronix.Utility.Threading.WorkStateThreadOwner`1.ThreadProc(Object objData)
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart(Object obj)

    Apologies since this user does not know which object(s) to check for goofy status during DoBuildIndex for WritePostings with ExternalMergeSortFileBlocks (that could be temporary files so would check permissions for TEMP locations => https://www.askvg.com/where-does-windows-store-temporary-files-and-how-to-change-temp-folder-location/ especially within AppData\Local)

    Keep Smiling [:)]

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 11,969

    " rel="nofollow">Keep Smiling 4 Jesus :) said:

    One item to check is your LibraryIndex folder permissions => https://www.logos.com/support/windows/error-writing-to-file (since writing postings for Library Indexing goes into LibraryIndex folder - personally would not use temporary work around for indexing since that changes AppData location).

    That's unlikely to be the problem here, as temporary indexing data will already have been written (successfully) to that folder.

    I'm not yet sure what is causing the problem, though.

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 11,969

    2018-04-13 11:48:38.7714 14 Error ApplicationUtility Failure during indexing; will reindex. ~IndexingException: IndexingException for LLS:HISTORY2 2012-02-15T20:05:05Z: Attempted to read past the end of the stream.

    We're investigating this error.

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 11,969

    This looks like an indexing bug introduced in Logos 7.14; it will be fixed in the next release.

    There is a workaround that will let indexing complete correctly, but it will make indexing take a lot longer and you'll need to remember to undo the workaround when the fix ships.

  • Christie Smit
    Christie Smit Member Posts: 29 ✭✭

    Is this also the cause for the error message when try searching: "Some search results may be missing or incorrect while your library is being updated"?

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Keep Smiling, I cannot thank you enough for your willingness to help. I really appreciate that.

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Thanks a lot Bradley for your explanations.
    Do you have an idea how long should take for the fix be shipped? If it will take more than 2 weeks I would like to try the workaround. Can you explain here what I have to do?

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Is this also the cause for the error message when try searching: "Some search results may be missing or incorrect while your library is being updated"?

    Indexer crashing can be one cause. Also have seen this message when Library index is being updated: adding new resource(s) so search results in those new resource(s) do not appear until indexing has completed.

    Keep Smiling, I cannot thank you enough for your willingness to help. I really appreciate that.

    Thankful for many friendly forum and Faithlife discussions: have learned a lot plus have a lot to learn.

    +1 [Y] Thankful for Bradley's investigation and explanation.

    FYI: speculating 7.15 stable release on Mon 14 May, which could be preceded by a stable 7.14 service release (with indexer crash fix).

    Keep Smiling [:)]

  • Christie Smit
    Christie Smit Member Posts: 29 ✭✭

    Nielsen, is your indexing problem solved?

    I experience the same problem.

    Hope there is a solution!

    Regards

    Here are my Logos Log Files:

    7077.Logos Log Files.zip

  • Here are my Logos Log Files:

    LogosIndexer.log shows Logos 7.14.0.0024 on Windows 10 is currently indexing: 620 out of 861 resources indexed (with normal messages).

    LogosIndexerCrash.txt has date of Mon 16 Apr 2018 while LogosIndexer.log has yesterday's date. Logos Indexer was restarted after crash on Mon 16 Apr 2018 so context for that crash was overwritten.

    When Indexer crashes, please check modified dates of LogosIndexer.log and LogosIndexerCrash.txt => when they are the same, please zip up log files and attach them.

    Keep Smiling [:)]

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Hi Christie,

    No, my indexing problem is not solved yet. Hope a fix will come out soon.

    Sorry for that.

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Bradley,

    Can you give me instructions on how to do the workaround?
    Thanks.

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Christie Smit
    Christie Smit Member Posts: 29 ✭✭
  • Including my Logos Log Files (zip)

    Is LogosIndexer process still running ?

    LogosIndexer.log shows Indexing currently in progress: 608 out of 861 (with no crash).

    Logos.log shows application has been closed. If LogosIndexer is running, suggest leaving application closed until LogosIndexer completes OR crashes.

    Keep Smiling [:)]

  • Including my Logos Log Files (zip)

    Suggest contacting Faithlife Technical Support => https://www.logos.com/contact who has a tool to check for corrupt resources

    Half hour lag between last LogosIndexer.log message and application being closed is odd (unless Indexer was paused).

    Keep Smiling [:)]

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    Hi everyone.

    After trying to install Logos in a different driver I got problems with my installation. So, I decided to do a clean install of Logos7. However it did not solve the problem because Indexing would always start from 0% every time I open Logos. So I tried to rebuild the Index but it did not solve the problem. So then I decided to format my laptop. I formatted it and began a clean install of Logos 7. Installation ran without a problem, but then Index had the same behavior, it never ends.

    I waited for the "second time" index to go through but it did not change. When I start Logos, Index starts again from 0%, every time.

    Please see attached my Log files.

    3678.Logos Log Files.zip

    This bug has been fixed in 7.14 SR-1.

  • Christie Smit
    Christie Smit Member Posts: 29 ✭✭

    This bug has been fixed in 7.14 SR-1.

    Nót fixed for me. 7.14 SR-1 installed but Logos goes on indexing without end! After about 57% indexing, the indexer stops; but I can néver use the "search" function, for the message is: "Some search results may be missing or incorrect while your library is being updated".

    Every time when I start Logos, it begins to index, even áfter 7.14 SR-1. Hope for a solution!

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Christie, the installation of 7.14 SR-1 fixed the problem for me. My indexing is done.
    Have you become Beta Tester to install the SR-1? I mean, you have confirmed that you have the SR-1 installed.
    I am sorry if I am being too basic here I just want to double check that you really have the right version to fix the problem. For me, as soon as I became Beta Tester and SR-1 was installed, the indexing went though without a problem.

    Can you confirm that on the Software information you have the same version as in the image below?

    www.aprendalogos.com 
    Youtube: AprendaLogos

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    Christie, the installation of 7.14 SR-1 fixed the problem for me. My indexing is done.
    Have you become Beta Tester to install the SR-1? I mean, you have confirmed that you have the SR-1 installed.
    I am sorry if I am being too basic here I just want to double check that you really have the right version to fix the problem. For me, as soon as I became Beta Tester and SR-1 was installed, the indexing went though without a problem.

    Can you confirm that on the Software information you have the same version as in the image below?

    Nielsen,

    Logos 7.14 SR-1 is a service release not a beta version. Our beta version is 7.15. 7.14 SR-1 is what should download when you are on the stable channel.

  • Philana R. Crouch
    Philana R. Crouch Member, Logos Employee Posts: 4,597

    This bug has been fixed in 7.14 SR-1.

    Nót fixed for me. 7.14 SR-1 installed but Logos goes on indexing without end! After about 57% indexing, the indexer stops; but I can néver use the "search" function, for the message is: "Some search results may be missing or incorrect while your library is being updated".

    Every time when I start Logos, it begins to index, even áfter 7.14 SR-1. Hope for a solution!

    Christie,

    Can you please make sure that logging is enabled (the link in post's signature has instructions). Then reproduce the problem in Logos and gather the the logs. Once you have logs please create a new thread, describe your problem and upload the zip folder (this should be your entire logs folder).

  • Nielsen Tomazini
    Nielsen Tomazini Member Posts: 247

    Oops, my bad. 
    It was quite a coincidence then that just after trying to switch to beta channel the updade started downloading. When it happened I thought I was getting an beta update although the channel switch seemed not to have heppened (and indeed it didn't).
    Thanks for everything Philana, 

    www.aprendalogos.com 
    Youtube: AprendaLogos