Is there a way to avoid a requirement to re-indexing when following the "Quick Install for Multiple Computers"?

Page 1 of 1 (12 items)
This post has 11 Replies | 0 Followers

Posts 98
Tim Lord | Forum Activity | Posted: Mon, Jan 4 2010 3:31 PM

I understand from http://wiki.logos.com/Quick_Installation_onto_multiple_computers that there is a way to avoid downloading all the resources when setting up Logos 4 on a second computer.  However, is it also posible to avoid the "Indexing" process?  I followed Dave Hooton's "Method 1" in the above procedure, thinking I would not have to re-index.  But that seems not to be the case as the resources do not open up although they are in the Library listing.  Dave's procedures seem to imply that only "Method 3" requires re-indexing.  If so, then I did something wrong.  Can anyone elaborate, please?  Might there be a specific procedure to follow that avoids having to re-index on the second computer, or some particular pitfall I need to avoid with "Method 1" to prevent needing to re-index?  The reason I want to avoid re-indexing, if I can, is that my second computer is essential for my day-to-day work, but is quite old and the hard drive might not last much longer after such an intensive indexing process and I need to postpone upgrading this PC a little longer if at all possible...thank you.

Posts 132
LogosEmployee
Peter Venable | Forum Activity | Replied: Mon, Jan 4 2010 4:02 PM

I would expect Method 1 to avoid indexing since you are copying a complete index.  Did you have logging turned on?  If you post your Logos4Indexer.log file I could probably tell you why it was indexing.

Posts 2212
Damian McGrath | Forum Activity | Replied: Mon, Jan 4 2010 6:54 PM

Tim, I have had mixed success with copying full installs, but have never had to do a full re-index. What I have had to do is delete the resourcemanager.db file and that has had to be rebuilt. It takes a while but is not too onerous...

Posts 98
Tim Lord | Forum Activity | Replied: Mon, Jan 4 2010 7:45 PM

Peter, I see part of the problem now when looking through the attached log file.  For example, the error: "ResourceManager Resource of type ClauseVisualizer could not be found at location C:\Documents and Settings\Owner\Local Settings\Application Data\Logos4\Data\...." (in the Logos4Indexer.log file) thinks my local computer ID is "Owner", which it is on the other (first) PC, but should instead be "tlord" on my second PC that I want to get working.  If that is the main problem, you may have a solution.  Otherwise, I could go to my primary PC and create a new computer ID "tlord" (then reinstall and re-index everything on the primary PC) so that the two PCs then match.  However, they will still have diffferent "{random}" directory names.  Maybe you have some advice.  Also, Damian seems to be indicating that it was not a full re-index that needed to be done, but just a rebuilding of the resourcemanger.db file.  If that is a much faster process to go through than a full index, then I could go that route as an alternative.  But it sure would be nice if there was a way to get the second PC going without long hours of either indexing or rebuilding files.  Thanks much for your suggestions. 

Posts 2212
Damian McGrath | Forum Activity | Replied: Mon, Jan 4 2010 9:11 PM

Tim,

 

Did you see in the wiki, under method 1 where it says:

   * if you get a message that resources cannot be found delete ResourceManager.db from Logos4\Data\{random}\ResourceManager folder and restart L4.

 

Rebuilding the resource manager database takes a while but nothing like indexing... it depends on the size of your setup.

Posts 132
LogosEmployee
Peter Venable | Forum Activity | Replied: Tue, Jan 5 2010 9:10 AM

Every user on every machine has a different "random" directory name... you just copy its contents into the corresponding directory.

Posts 98
Tim Lord | Forum Activity | Replied: Tue, Jan 5 2010 7:41 PM

Damian McGrath:

Did you see in the wiki, under method 1 where it says:

   * if you get a message that resources cannot be found delete ResourceManager.db from Logos4\Data\{random}\ResourceManager folder and restart L4.

Rebuilding the resource manager database takes a while but nothing like indexing... it depends on the size of your setup.

Damian, I think you are right, I did see that. At the time I thought my second PC was indexing, but apparently it was only rebuilding the resource manager database.  And perhaps only because the user ID on my second PC is different from the user ID on my first PC, (and maybe because the "{RANDOM}" directory name is different between the two PCs, too).  I'm going to go ahead and let it run and see how long it takes.

Posts 98
Tim Lord | Forum Activity | Replied: Tue, Jan 5 2010 7:54 PM

Peter Venable:

Every user on every machine has a different "random" directory name... you just copy its contents into the corresponding directory.

Peter, thank you, I figured that.  As to my Logos4Indexer.log file, I did upload my earlier log file via this forum, but couldn't tell whether you were able to access it or not.  Back to my original concern, apparently what I thought was "re-indexing" was only the rebuilding the Resource Manager DB.  What misled me was that I saw "Logos4Indexer.exe" appear in the Task Manager, and assumed that the indexing process launched.  Maybe the program always launches just to check to see if indexing is needed at all and then shuts down if it decides no indexing is needed, and I didn't realize that.  Meanwhile, I am wondering if the process of rebuilding the Resource Manager DB could be sped up by doing anything more, such as making the Windows account user IDs the same on both PCs.  But maybe not, since the "{RANDOM}" directory names have to be different on each PC.  No problem, I can repeat David Hooton's Method 1 procedure again from scratch (since my resources have now changed) and let the rebuild run...

Posts 26029
Forum MVP
Dave Hooton | Forum Activity | Replied: Tue, Jan 5 2010 8:37 PM

Tim Lord:
Back to my original concern, apparently what I thought was "re-indexing" was only the rebuilding the Resource Manager DB.  What misled me was that I saw "Logos4Indexer.exe" appear in the Task Manager, and assumed that the indexing process launched.  Maybe the program always launches just to check to see if indexing is needed at all and then shuts down if it decides no indexing is needed, and I didn't realize that. 

Tim, the secret to Method 1 is

  • delete all folders beneath ...\Logos4\Data\{random}\

so that you preserve the random folder name of your new installation and you have only 1 {random} folder within \Data (or \Documents). If you do that there will be no indexing when you start L4 as I suspect you copied your working {random} folder instead of ALL the folders beneath it! ResourceManager.db causes a Preparation phase of Indexing only when it has been removed for the reasons given in Method 1. It takes about 15-30 minutes to complete.

Dave
===

Windows 10 & Android 8

Posts 98
Tim Lord | Forum Activity | Replied: Wed, Jan 6 2010 12:34 PM

Dave, thanks for your reply.  I did carefully follow the procedure to avoid deleting the random folder name.  Below is my updated/enhanced version of the "Method1" procedure from what is currently on the Wiki (http://wiki.logos.com/Quick_Installation_onto_multiple_computers), to more clearly outline the necessary steps, and give a few more helpful explanations along the way based on what I encountered.  I'm going to run through this procedure myself once more to make sure it is accurate and truly works.

NOTE: Though a bit complicated, the following "Method 1" retains the installation of what you have on your "primary" PC (referred to as "primary1" below) of its {RANDOM1} folder path (explained below) for consistency with the registry data.

The following procedure assumes you first installed Logos 4 on your "primary1" PC (and everything is working and running at the latest Logos 4 version), and now you want to set up your "secondary2" PC, but without having to download all your Logos resources, and also without having to Index all those resources either (to avoid both high download bandwidth usage and save much time).

1) For your version of Windows, locate and verify the standard Logos 4 installation path on your "primary1" PC:
     XP - C:\Documents and Settings\<user>\Local Settings\Application Data\Logos4
     Win7/Vista - C:\Users\<user>\AppData\Local\Logos4

2) From your "primary1" PC, copy/backup to an external drive, (e.g., X:\Logos4) a copy of the following two sets of Logos 4 folders (with all subfolders/files):
"...\Logos4\Data\{RANDOM1}\"   [including all subfolders]
and
"...\Logos4\Documents\{RANDOM1}\"   [including all subfolders]

3) Install Logos 4 on your "secondary2" PC by running this URL: http://downloads.logos.com/LBS4/LDLS4Installer/Logos4Setup.exe

4) When prompted, install and select "Typical" install rather than "Custom".

5) When prompted, sign-on.

6) ASAP after signing on, either disconnect (unplug) your Network cable, or disable your Network connection in Windows, in order to prevent any downloads...

7) When the Logos 4 program finally opens, go to Program Settings  in the menu and set "Automatically Download Updates = NO"

8) Launch Windows Task Manager and check for the Indexer process "Logos4Indexer.exe", and if running, End the Indexer process.

9) Close Logos 4.

10) On the "secondary2" PC, delete all the folders (just now created during install) under "...\Logos4\Data\{RANDOM2}"
[NOTE: Do NOT delete the {RANDOM2} folder itself, only its subfolders!]

11) Copy the corresponding Data folders under "...\Logos4\Data\{RANDOM1}\" from the external drive backup copy you made earlier of the "primary1" PC over to the "...\Logos4\Data\{RANDOM2}\" location on the "secondary2" PC.

12) Similarly, on the "secondary2" PC, delete all the folders/files under ...\Logos4\Documents\{RANDOM}
[NOTE: Again, do not delete the {RANDOM2} folder itself, only its subfolders!]

13) Copy the corresponding Documents folders under "...\Logos4\Documents\{RANDOM1}\" from the external drive backup copy you made earlier of the "primary1" PC over to the "...\Logos4\Documents\{RANDOM2}\" location on the "secondary2" PC.

14) Restart Logos 4 on the "secondary2" PC while holding down the CTRL key in order to enable creation of a logging file for troubleshooting purposes.
NOTE: If you get a message that "resources cannot be found", or if your resources do not open when clicked or all appear "empty" of any content, then delete the file "ResourceManager.db" located in the "...\Logos4\Data\{RANDOM2}\ResourceManager" folder and restart Logos 4.
NOTE: This will not re-index all your books, but actually builds a new resource listing associating your books so that they will now work.

15) Go online again, either by enabling your Network connection in Windows or plugging back in your Network cable, etc.

16) Go to Program Settings  in the menu and set "Automatically Download Updates = YES".  This way the resources on both your PCs can remain "synchronized", via Logos, as long as they are on-line and used from time-to-time.

Posts 26029
Forum MVP
Dave Hooton | Forum Activity | Replied: Thu, Jan 7 2010 3:27 AM

Tim,

When you said you had two user id's, did you mean that your L4 "Sign-in" is different between the two systems?

This may account for Steps 5 to 8 as we don't need to Sign-in online at this stage because that will initiate a download and we need to avoid killing Logos4Indexer.exe. The wiki could be clearer about the "Go offline" step as it should involve closing L4 at the Sign-in dialog.

Dave
===

Windows 10 & Android 8

Posts 98
Tim Lord | Forum Activity | Replied: Thu, Jan 7 2010 4:26 PM

Hi, Dave.  What I meant is that I have two differnt local Windows XP account IDs.  My Logos account is just one account, and is used for both PCs.  To give status, I am now in the "stage 2" of the 3-stage "preparing your library" process.  It took about 3.5 hours to complete stage 1, so I do hope that stages 2 and 3 complete fairly soon.  I checked and the large Index files have not been updated, so although this particular "ResourceManager" process uses the "Logos4Indexer" application, it is not touching my Index files yet.  This Logos 4 process of "discovering" resources sure does take much longer than in Logos 3.  I did further revise the "Method 1" procedure I updated.  I will test on one more PC tomorrow.  Here is my latest version:
HOW TO SAVE TIME DOING A LARGE LOGOS 4 INSTALL ON A SECOND PC
The following procedure assumes you first installed Logos 4 on your "primary1" PC (and everything is working and running at the latest Logos 4 version), and now you want to install Logos 4 on your "secondary2" PC, but without having to download all your numerous Logos resources, and also without having to Index all those resources (in order to save yourself both a lot of time and much download bandwidth consumption).

1) For your version of Windows, locate and verify the standard Logos 4 installation path on your "primary1" PC:
     XP - C:\Documents and Settings\<user>\Local Settings\Application Data\Logos4
     Win7/Vista - C:\Users\<user>\AppData\Local\Logos4

2) From your "primary1" PC, copy/backup to an external drive, (e.g., X:\Logos4) a copy of the following two sets of Logos 4 folders (with all subfolders/files):
"...\Logos4\Data\{RANDOM1}\"   [including all subfolders]
and
"...\Logos4\Documents\{RANDOM1}\"   [including all subfolders]

3) Install Logos 4 on your "secondary2" PC by running this URL: http://downloads.logos.com/LBS4/LDLS4Installer/Logos4Setup.exe

4) When prompted, install and select "Typical" install rather than "Custom".

5) When prompted, sign-on.

6) ASAP after signing on, (at about the moment you see the "Preparing your library" message), either disconnect (unplug) your Network cable, or disable your Network connection in Windows, in order to prevent any downloads...

7) When the Logos 4 program finally opens, click on Tools in the menu and navigate as follows: Tools --> Settings --> Program Settings and set "Automatically Download Updates = NO".

8) Launch Windows Task Manager (in Windows XP press CTRL-ALT-DEL), and check for the Indexer process "Logos4Indexer.exe", and if running, select the "Logos4Indexer" process and click "End Process".

9) Close Logos 4.

10) Go online again, either by enabling your Network connection in Windows or plugging back in your Network cable (reversing however you disabled your network earlier).

11) On the "secondary2" PC, delete all the folders (just now created during the Logos 4 install) under "...\Logos4\Data\{RANDOM2}"
NOTE: Do NOT delete the {RANDOM2} folder itself, only its subfolders!

12) Copy the corresponding Data folders under "...\Logos4\Data\{RANDOM1}\" from the external drive backup copy you made earlier of the "primary1" PC over to the "...\Logos4\Data\{RANDOM2}\" location on the "secondary2" PC.

13) Similarly, on the "secondary2" PC, delete all the folders/files under ...\Logos4\Documents\{RANDOM}
NOTE: Again, do not delete the {RANDOM2} folder itself, only its subfolders!

14) Copy the corresponding Documents folders under "...\Logos4\Documents\{RANDOM1}\" from the external drive backup copy you made earlier of the "primary1" PC over to the "...\Logos4\Documents\{RANDOM2}\" location on the "secondary2" PC.

15) Press and hold down the CTRL key while restarting Logos 4 on the "secondary2" PC (in order to enable creation of a logging file for troubleshooting purposes).
You can release the CTRL key once the Logos 4 splash screen appears.  You should automatically login as long as your network Internet connection is working.

16) If you get a message that "resources cannot be found", then you will need to:
a) Shutdown Logos 4.
b) Delete the file "ResourceManager.db" located in the "...\Logos4\Data\{RANDOM2}\ResourceManager" folder.
c) Restart Logos 4 and wait for the resource association rebuild process to complete ("Preparing your library") while it "discovers" all your resources.
NOTE: This will not re-index all your books, but actually builds a new resource listing associating your books so that they will now open.

17) Otherwise, after Logos 4 has finished starting, click on your Library icon in the upper left and then double click on one of the resources to see if it opens correctly.
If the resource does not open when clicked (with the message "Resource Missing"), then you will need to:
a) Shutdown Logos 4.
b) Delete the file "ResourceManager.db" located in the "...\Logos4\Data\{RANDOM2}\ResourceManager" folder.
c) Restart Logos 4 and wait for the resource association rebuild process to complete ("Preparing your library") while it "discovers" all your resources.
NOTE: As noted above, this will not re-index all your books, but builds a new resource listing of all your resources.  As the message states, "This may take a while..."

18) Once Logos 4 has started, click on Tools in the menu and navigate as follows: Tools --> Settings --> Program Settings and set "Automatically Download Updates = YES"
This way the resources on both your "primary" and "secondary" PCs can remain "synchronized", via Logos, as long as they are on-line and used from time-to-time.

Page 1 of 1 (12 items) | RSS