Where are tags stored?

BriM
BriM Member Posts: 287 ✭✭
edited November 2024 in English Forum

I had a power outage a few days ago whilst using Logos so I decided to revert to an image of a couple of months ago in case something had got corrupted.

After switching to the old image I decided not to download the updates offered (i.e. those released since the image had been made) because the Logos 5 forum says the current release is dodgy and I wanted to avoid that.

Now, since that image had been made, I'd done some reorganisation - adding new tags to resources and changing some of my collections to use those tags. The strange thing is that my collection showed the latest changes I'd made - i.e. they must have synced even without downloading anything wherease my resources did not have the most recent tags on them.

So my question is: are my tags safely stored in the cloud and, if so, will they reappear when I next allow Logos to update? Or are they stored in a local file that I could move between the images?

A sort-of-related question is: can I update my resources without also having to take the latest Logos version - these should surely be separate options.

Comments

  • David Paul
    David Paul Member Posts: 6,121 ✭✭✭

    I'm pretty sure Logos can send you a "backup" so to speak of your tags (and other program details) if you contact them asap after your issue manifests. Call CS for help.

    ASUS  ProArt x570s Creator, AMD R9 5950x, HyperX 64gb 3600 RAM, ASUS Strix RTX 2080 ti

    "The Unbelievable Work...believe it or not."  Little children...Biblical prophecy is not Christianity's friend.

  • David Paul
    David Paul Member Posts: 6,121 ✭✭✭

    BriM said:

    A sort-of-related question is: can I update my resources without also having to take the latest Logos version - these should surely be separate options.

    Actually, if I correctly understood what was being said on another thread, I think that some of the recently sent out resources will only work with the latest update to the software. It may have just been certain data set features, but only someone with the most recent update is able to enjoy the whole enchilada

    ASUS  ProArt x570s Creator, AMD R9 5950x, HyperX 64gb 3600 RAM, ASUS Strix RTX 2080 ti

    "The Unbelievable Work...believe it or not."  Little children...Biblical prophecy is not Christianity's friend.

  • David Paul
    David Paul Member Posts: 6,121 ✭✭✭

    Sorry, I'm realizing I didn't read your post thoroughly. [:S]

    If you are connected to the internet, then syncing can happen almost anytime, that is, if the swirly sync whirlpool in the top right corner is to be trusted. I see mine swish around with no prompting at all.

    ASUS  ProArt x570s Creator, AMD R9 5950x, HyperX 64gb 3600 RAM, ASUS Strix RTX 2080 ti

    "The Unbelievable Work...believe it or not."  Little children...Biblical prophecy is not Christianity's friend.

  • William Gabriel
    William Gabriel Member Posts: 1,091 ✭✭

    Hi BriM,

    I have not tried to figure out how Logos determines its sync. The tags definitely stay in both the cloud and locally in a database, but when you load an old profile, I do not know if it will think that you've changed your tags and sync the old database as the new values, or if it will figure out that you're working from an old data set and repopulate your actual tags from the cloud.

    But they are all stored in your catalog.db file. If you need help finding that, let me know. If you're able to access that file and run sqlite on it, then you can at least see what tags you had on what resources.

    > sqlite3 catalog.db

    sqlite> select UserTagId,Name from UserTags where UserTagId in (30,33,44);
    30|BooksToRead
    33|Prioritized
    44|CCCB

    sqlite> select r.title, t.name from Records r join RecordUserTags m on r.RecordId=m.RecordId join UserTags t on m.UserTagId=t.UserTagId where isavailable>0;
    131 Christians Everyone Should Know|BooksToRead
    Gospel-Centered Ministry|BooksToRead
    A Holy Ambition: To Preach Where Christ Has Not Been Named|BooksToRead
    Alone with God|BooksToRead
    Among the Gospels and the Acts|CCCB

    ...

  • Dave Hooton
    Dave Hooton MVP Posts: 36,339

    BriM said:

    I had a power outage a few days ago whilst using Logos so I decided to revert to an image of a couple of months ago in case something had got corrupted.

    If it is a complete image of Logos you will at least avoid incompatibilities between the software and your data + documents (old Windows restore points are suspect in this regard), but the cloud now contains the latest versions of your data/documents and it will attempt to update your local databases; which could produce incompatibilites (crashes) if your image is an older software version i.e cloud data from v5.2a could cause issues with a restored v5.2.

    BriM said:

    The strange thing is that my collection showed the latest changes I'd made - i.e. they must have synced even without downloading anything wherease my resources did not have the most recent tags on them.

    Collections are stored in their own database, so that the rules (including new mytag values) appear to have sync'd. The Library Catalog stores all your resource data (like mytags, myratings), Logos metadata (author, publisher, etc) and community ratings, communiy tags. Why this appears not to have sync'd I can only speculate. It just illustrates the issue of using an old image!

    In your situation I would have trusted the robustness of the file system (NTFS) and just run a chkdsk. If any database was corrupted Logos 5.2a will still crash but automatically fix the database when you restart Logos! At worst you would run a more complete HDD check for errors.

    To get around your present dilemma you could save your resource folder, completely uninstall Logos and then reinstall via Method 3.

    Dave
    ===

    Windows 11 & Android 13

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

    BriM said:

    So my question is: are my tags safely stored in the cloud and, if so, will they reappear when I next allow Logos to update? Or are they stored in a local file that I could move between the images?

    You can't (or at least shouldn't) move tags between installs, because doing so might break the syncing. It's possible that reverting to an earlier image has done the same - but that rather depends on what you mean by "revert to an image".

    Before you take any of the other advice on this thread, I recommend you do two things. (1) If you have access to the Logos app on another device, check to see whether the tags appear there. It's possible the new tags had never uploaded to the server. (2) Type sync repair into the command box. That will take some time and do a thorough check of everything, and should fix up anything that's missing.

    BriM said:

    A sort-of-related question is: can I update my resources without also having to take the latest Logos version - these should surely be separate options.

    Yes, you can do this, either by declining prompts to update the software, or by using the command bar to set the update channel to something that doesn't exist - i.e. set update channel to adshjiu should do it. I wouldn't recommend that though, because if your copy of Logos gets too far behind the times, then brand new resources (or the latest updates to older resources) may not be compatible, and therefore may not download.

    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!

  • fgh
    fgh Member Posts: 8,948 ✭✭✭

    or by using the command bar to set the update channel to something that doesn't exist - i.e. set update channel to adshjiu should do it

    The things you learn on these forums...[:)]

    Mac Pro (late 2013) OS 12.6.2

  • David Paul
    David Paul Member Posts: 6,121 ✭✭✭

    fgh said:

    or by using the command bar to set the update channel to something that doesn't exist - i.e. set update channel to adshjiu should do it

    The things you learn on these forums...Smile

    That's purty qwerty!

    ASUS  ProArt x570s Creator, AMD R9 5950x, HyperX 64gb 3600 RAM, ASUS Strix RTX 2080 ti

    "The Unbelievable Work...believe it or not."  Little children...Biblical prophecy is not Christianity's friend.

  • BriM
    BriM Member Posts: 287 ✭✭

    Thanks for everyone who's tried to help on this.

    I've allowed the update to the latest version and an update of resources but still don't have my tags so Im going to try the Mark Barnes' approach.

    It's possible that reverting to an earlier image has done the same - but that rather depends on what you mean by "revert to an image".

    What I meant was: I run logos in a virtual machine so that the entire windows installation is simply a file on my host. I copy the file periodically for an image backup and simply reverted to an old file in this case so I had exactly the same state as of a couple of months ago.

    Before you take any of the other advice on this thread, I recommend you do two things. (1) If you have access to the Logos app on another device, check to see whether the tags appear there. It's possible the new tags had never uploaded to the server. (2) Type sync repair into the command box. That will take some time and do a thorough check of everything, and should fix up anything that's missing.

    The tags are visible on Logos on another device so they must have transferred to the cloud.

    I also have the original image that suffered the power outage that will have the tags in it.

    I wasn't sure whether you meant to run the update sync command on the image with the tags or the one that I want to have the tags transferred to it? What does the command actually do?

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

    Normally when you sync, your copy of Logos sends a command to the server that says something like "Send me all the tag updates since update #12532". That's fine until something goes wrong, for example one set of updates is lost, in which case you could end up in a situation very similar to the one you're in. The sync repair command asks the server for ALL tags, and compares each one to what you have. If you know the cloud is correct, then you should  only need to run it on the VM with the 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!

  • BriM
    BriM Member Posts: 287 ✭✭

    Thanks Mark.

    As luck would have it, I took advantage of the Daily Deal yesterday and, when tagging that resource, it got my other tags back without having to issue the sync manually.