Where are tags stored?

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

Posts 245
BriM | Forum Activity | Posted: Mon, Jun 2 2014 11:10 AM

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.

Posts 4763
David Paul | Forum Activity | Replied: Mon, Jun 2 2014 11:13 AM

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.

Posts 4763
David Paul | Forum Activity | Replied: Mon, Jun 2 2014 11:18 AM

BriM:

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

Posts 4763
David Paul | Forum Activity | Replied: Mon, Jun 2 2014 11:22 AM

Sorry, I'm realizing I didn't read your post thoroughly. Tongue Tied

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.

Posts 1049
William Gabriel | Forum Activity | Replied: Mon, Jun 2 2014 11:45 AM

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

...

Posts 24926
Forum MVP
Dave Hooton | Forum Activity | Replied: Tue, Jun 3 2014 10:01 PM

BriM:
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:
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 & Android

Posts 13359
Forum MVP
Mark Barnes | Forum Activity | Replied: Wed, Jun 4 2014 1:01 AM

BriM:
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:
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.

Posts 8893
fgh | Forum Activity | Replied: Wed, Jun 4 2014 7:59 AM

Mark Barnes:
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

"The Christian way of life isn't so much an assignment to be performed, as a gift to be received."  Wilfrid Stinissen

Mac Pro OS 10.9.

Posts 4763
David Paul | Forum Activity | Replied: Wed, Jun 4 2014 8:36 AM

fgh:

Mark Barnes:
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!

Posts 245
BriM | Forum Activity | Replied: Sat, Jun 7 2014 10:54 AM

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.

Mark Barnes:
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.

Mark Barnes:
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?

Posts 13359
Forum MVP
Mark Barnes | Forum Activity | Replied: Sat, Jun 7 2014 2:51 PM

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.

Posts 245
BriM | Forum Activity | Replied: Sun, Jun 8 2014 12:58 PM

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.

Page 1 of 1 (12 items) | RSS