dealing with the recent big download

Randy Starkey
Randy Starkey Member Posts: 37 ✭✭
edited November 2024 in English Forum

Hi,

In dealing with the latest 2 gig download, I synched my resource directory on my desktop to my laptop. After the download it was about 2 gig of files that needed to be synched.

When I started logos 4 on my laptop after that,  it still showed about 1.5 gig to download. Anyone know why this would be? After synching with my desktop resources, it would seem my laptop should have minimal left to download - maybe a few odds and ends. Ideas?

Thanks,

--Randy Starkey

Comments

  • Kevin Becker
    Kevin Becker Member Posts: 5,604 ✭✭✭

    What do you mean by synced?

    Did you copy the files from one resource directory into there other computers? You can't do that with Logos 4. You need to place the files in a folder and run the scan command (i.e. Scan D:\copied Logos files ) and restart Logos.

  • Clinton Thomas
    Clinton Thomas Member Posts: 465 ✭✭

    Hi,

    Try 

    Scan {Resource Path}

    It should then find the resources.

    Regards,

    Clinton

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    It doesn't work like that, I'm afraid. Unlike Logos 3, you can't just copy resources into your Library folder - Logos doesn't recognise them. Instead, you'll need to type SCAN path\to\desktopfolder in your command bar. Then restart Logos.

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Ok. Thanks all. So to be sure i have this right - the fact that I copied
    them into the resource directory on my laptop is OK (saved me lots of
    download time) but I just need to now run the scan command? If i leave
    the path blank in the scan command will it default to the resource
    directory or do I have to type in the path? Does the path need to be enclosed in some sort of brackets?

    I just did this and there is no apparent action from Logos4 - does it indicate in some way that the scan is taking place?


    Thanks!

    --Randy Starkey

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    Not quite right. You'll need to copy them into a temporary folder, then scan the temporary folder. When you restart Logos it will then copy the resources from the temporary folder into the proper folder. You'll need to specify the full path of the folder, without brackets. Once you have your resources installed, you can then delete the temporary folder.

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Mark - OK. scanning the resources folder just won't work? I've copied the newly downloaded resources to the resources folder, as with my file compare program it was easy to do. Just update the old files. The 2 gig download wasn't new resources, just updates. So since new files are in my laptop resources directory and Logos4 doesn't really know this yet, what will happen is i just scan the resource directory?

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Mark - Well, I tried it just to see what would happen. It appears to have worked. L4 is now indexing and is not saying it needs to download files anymore. I will keep you posted in case some bad things happen <g>.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,293

    I don't expect there will be any happenings. But next time use scan to copy the resources.

    Dave
    ===

    Windows 11 & Android 13

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Dave - so I guess what I could do is issue the scan command and point  the path to the network path of my desktop resource directory. Then it would scan that - see 2 gigs of updated files, and begin to copy them to my laptop's resource directory. That makes sense.

    So, what indication of progress does Logos give while it is doing this?

    The scan of my resource directory seemed to be almost immediate, as no indicator appeared anywhere. There were no resources to copy as it simply scanned updated resources I had copied to my laptop resource directory. It worked, as it no longer wanted to download anything and it immediately began indexing.

    So, bottom line is it appears to work either way. When I talked to support about this they said it was OK to copy resources to the resources directory from one machine to another. So it would be nice if they would publish a definitive best practice on this and explain why, or, if indeed either method is OK, just let us know that.

    I am most interested right now though in are there any indicators in Logos 4 of scan progress or resource copy progress while these processes might be taking place?? I see none.

    Thanks! --Randy Starkey

  • Rosie Perera
    Rosie Perera Member Posts: 26,194 ✭✭✭✭✭

    Randy, the scan command requires that you shut down Logos and start it back up again. It just sets some flag that says, effectively, next time you start up, scan for resources in such-and-such folder. So that's probably what you mean by an apparent immediate scan. Even when it is doing something, there is no indication of progress on the scan, which I think there should be.

    I'm not familiar with the differences between simply copying the resources or doing a scan, but you will get some sort of progress report from Windows while a huge file copy is in place, though there is not (at present) any progress report for a scan in Logos. So if indeed it works equally well for you, I might go with the file copy method. I thought the officially sanctioned method is to use scan. However if someone in support told you otherwise, then listen to them.

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Rosie,

    Ah - that makes more sense. I think I will just copy to my resource directory because I can see that progress with Logos closed using my compare proggram. Then open Logos and scan that directory and restart. That seems like the simplest method. Then Logos doesn't have to do all the copying with no progress indicator.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,293

    Dave - so I guess what I could do is issue the scan command and point  the path to the network path of my desktop resource directory. Then it would scan that - see 2 gigs of updated files, and begin to copy them to my laptop's resource directory. That makes sense.

    So, what indication of progress does Logos give while it is doing this?

    When L4 is restarted (to initiate the scan) you will observe that the Indexer is also started and you can see its icon and the usual notifications. If you want more information then look at the Logos4Indexer.log (in real time) as this details which files have been copied, which are being indexed, etc & gives you a decent progress indicator (as opposed to time remaining).

    I backup resources to a USB flash drive & scan that on the other computer. When its light stops flashing I know that indexing is underway!

    Your question, however, is driven by the need to know when your copy has, or will, complete so that you can initiate the second command (scan). This is not necessary if you allow scan to perform the copy. I also prefer this method because it is supplied by Logos and I have not performed an action that could potentially disqualify me from receiving Technical Support if problems arise (the advice you received has not been promoted by Logos in the forums).

    Dave
    ===

    Windows 11 & Android 13

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    Personally, I wouldn't copy the files into the resources folder (regardless of what support say). Logos won't automatically SCAN this folder unless you request it. What if you forget? What if it doesn't complete properly? What if some files are in use? You'll potentially end up with invalid files in this folder.

    The best method in your case would be to SCAN your network share, or, if your network is slow, follow Dave's suggestion and copy onto a flash drive and scan that.

     

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Mark - interesting points. I copy files when logos is closed. When I open Logos no resource is open. Then I scan. Seems pretty safe.

    If a file were to go invalid, what does Logos do?

    Thanks.

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Dave,

    That makes sense. I am trying to avoid an extra copy step is really all I'm after saving. I can see where it could be safer on the resource directory to not be scanning it, I guess in case something happened (not sure what it would be). Anyway, you guys have given me lots of ways to do it! <g>. It really only becomes an issue for me when the download gets large. Thanks.

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    Seems pretty safe.

    It is pretty safe. But if you managed to somehow copy an older file into your resources folder Logos would never know it was the wrong file. It would mess up any searches in that resource, and it might be hard to figure out the cause - particularly if you didn't notice for some time. This is unlikely to happen, but it's possible - the 'latest' version of the Theological Journal Libraries currently exist in two different forms, because Logos had to switch off TLJ downloads due to a bug. If you happened to have the older files in one version, and the newer ones in the other, then your method would cause problems.

    Ultimately the risk is low, but it doesn't seem worth taking at all when you can just scan the folder directly.

    If a file were to go invalid, what does Logos do?

    It would almost certainly return invalid results when searching (highlighting completely the wrong words, for example), and possibly crash.

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Mark,

    Very interesting. So you're saying in the case of TJL that if I copied the NEWER file to another resource directory it could create issues? What would happen if for instance I had that newer file on a flash drive, and did a scan of it? Is Logos intelligent enough to know NOT to copy that newer file due to problems? Or, IOW, is there some sort of intelligence built into scan? Thanks! (As an FYI on my compare program, I'm pretty confident I wouldn't ever copy an OLDER file in, but nevertheless it is still me manually doing it, so the possibility DOES exist hehe.)

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    There is a LOT of intelligence built into the scanning. Logos uses internal version information stored in every file to determine which is newest. This is therefore different criteria to that which you are using (presumably the file datestamp), so you may not necessarily know which files are newest from Logos' point of view.

    I'm not suggesting the world is going to end if you follow your existing method. If you stick exactly to the method I don't expect you'll have any problems. But should you deviate from the method you could find yourself in trouble. What if you had a slight typo in your folder name, for example, so the wrong folder was scanned. You might never know - and copying resources into your folder and NOT scanning it will definitely cause problems.

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Randy Starkey
    Randy Starkey Member Posts: 37 ✭✭

    Mark - OK. I might try simply updating my desktop, then scanning that resource directory over my network from my laptop and netbook. I wish Logos had a bit more progress indication, but i usually do these things when I leave the office, and just let it run anyway, so it's not a big deal.

    i also always have multiple backup copies of my resource directory from our network backup system so that if anything got trashed I'd have quite a few copies to choose from. the backup grooms to the size of the backup drive and i usually get a couple months of backups out of that.

    Thanks.

  • Dave Hooton
    Dave Hooton MVP Posts: 36,293

    Is Logos intelligent enough to know NOT to copy that newer file due to problems? Or, IOW, is there some sort of intelligence built into scan?

    Randy, scan is a Logos command which facilitates copying the resources AND other necessary tasks but the Logos4 Indexer performs the work ie. it copies the resources and integrates them into Logos4, which includes indexing. We know that the Indexer incorrectly handles certain files like TJL but the issue here is manually copying files to the Resource folder as a regular practice and I believe that the Support person gave you wrong advice because the Indexer copies files to a temporary folder before moving them into the Resources folder. Do you know what will happen to the 20 *.lbxlls files after you copied the replacement *.logos4 files across?

    Dave
    ===

    Windows 11 & Android 13