Bug: Deleting catalog.db also deletes ResourceCollectionManager.db

Page 1 of 1 (7 items)
This post has 6 Replies | 0 Followers

Posts 13413
Mark Barnes | Forum Activity | Posted: Sun, Jan 29 2012 4:16 PM | Locked

From time to time it's necessary to rebuild our Library Catalog. When then happens there's no need for Logos to delete all our collections, too! Or at least if it is doing to delete all our collections it should re-sync them back. At the moment, it doesn't. This is a serious bug. Logos shouldn't delete stuff from the Documents folder without syncing it back.

(The problem is that the LibraryCatalogId gets changed in catalog.db, which then doesn't match the value in ResourceCollectionManager.db so Logos wipes the whole ResourceCollectionManager.db.)

Posts 9406
Forum MVP
Mark Smith | Forum Activity | Replied: Sun, Jan 29 2012 4:19 PM | Locked

Mark Barnes:
At the moment, it doesn't.

I agree with this completely having lost all my collections like this twice. I was fortunate to have another computer with Logos on it and could get the collections there to sync and finally show up on the computer that lost the collections. Time consuming since you have to alter each collection to get it to resync, but at least I didn't lose everything permanently.

 

Pastor, North Park Baptist Church

Bridgeport, CT USA

Posts 4625
RIP
Milford Charles Murray | Forum Activity | Replied: Sun, Jan 29 2012 4:21 PM | Locked

Peace, Mark!                   Happy Birthday and may our Gracious God bless you and your loved ones!            *smile*

                    That sounds horrible!  Lots of work to set up the collections.  Please report back on this ....

                                                                 Galatians 6:2

Philippians 4:  4 Rejoice in the Lord always; again I will say, Rejoice. 5 Let your reasonableness be known to everyone. The Lord is at hand..........

Posts 13413
Mark Barnes | Forum Activity | Replied: Sun, Jan 29 2012 4:23 PM | Locked

Mark Smith:
I agree with this completely having lost all my collections like this twice. I was fortunate to have another computer with Logos on it and could get the collections there to sync and finally show up on the computer that lost the collections. Time consuming since you have to alter each collection to get it to resync, but at least I didn't lose everything permanently.

I keep a backup of the files in Documents, but restoring ResourceCollectionManager.db on it's own doesn't work. You have to restore, then manually edit the value of LibraryCatalogId to match the new value in catalog.db (sorry I didn't work this out when you had the problem - I remember trying [and failing] to help!)

Posts 9406
Forum MVP
Mark Smith | Forum Activity | Replied: Sun, Jan 29 2012 5:09 PM | Locked

Mark Barnes:
(sorry I didn't work this out when you had the problem - I remember trying [and failing] to help!)

The first time I had the problem you fixed it for me. The next two times I used the method above.

We need a way to locally backup and restore data. It might be a nightmare to create but most of us have too much work put into a lot of different databases in L4 to afford to lose them by accident, glitch, or inadvertent error, and then have no recourse.

Pastor, North Park Baptist Church

Bridgeport, CT USA

Posts 26234
Forum MVP
Dave Hooton | Forum Activity | Replied: Sun, Jan 29 2012 7:50 PM | Locked

Mark Barnes:
From time to time it's necessary to rebuild our Library Catalog.

Why is it necessary for you to rebuild it?

Mark Barnes:
This is a serious bug. Logos shouldn't delete stuff from the Documents folder without syncing it back.

When re-installing Logos with the Documents folder in place** the Collections disappear from their db but the two db's end up with the same LibraryCatalogId.

When fresh installing on another computer Collections are the only document not restored.

This is a known, serious, problem and I'd like to know why it has not been fixed.

 

** when uninstalling, Logos does not remove the Documents folder.

Dave
===

Windows 10 & Android 8

Posts 13413
Mark Barnes | Forum Activity | Replied: Fri, Feb 3 2012 11:32 AM | Locked

Mark Barnes:
Or at least if it is going to delete all our collections it should re-sync them back.

This is reported as fixed in 4.5a beta 3.

Page 1 of 1 (7 items) | RSS