Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2022, 06:16 PM   #1
CaptainTivo
Junior Member
CaptainTivo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: iPad
[Solved] All book dates the same date after update to 6.6.1

Hello all,
I have been using Calibre since I got my first Kindle in 2010 and have been very happy with it.

I just updated calibre to version 6.6.1 on Windows 10 and suddenly all my books have the same "date". That is, the Date column (which is the "timestamp" in the database) has always shown the date of the original ebook file when I imported it into Calibre. Now all books show the same date, which is weirdly, September 27 2022, even though I updated today, September 30, 2022. I checked the files by doing "open containing folder" and the original files still have the acquired them onto the computer, so Calibre did not change the date on the windows file (by, for instance, writing to it).

Questions:
1. So what happened?
2. Is there any way to get back the old behavior?
3. Is it possible to "downgrade" back to an earlier version of Calibre? I never did that before because I never had any trouble with an update before.

Thanks for any help.
CaptainTivo is offline   Reply With Quote
Old 09-30-2022, 06:34 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
That's odd.

Just to double-check, you sure you're not looking at Modified (last_modified)? This one is far more easily changable and I've seen certain actions modify it for every book.

If not, have you done any bulk metadata editors recently (specifically on the 27th?). I've had one or two mishaps by accidentally checking a column I did not mean to.

Last edited by ownedbycats; 09-30-2022 at 06:39 PM.
ownedbycats is online now   Reply With Quote
Advert
Old 09-30-2022, 07:08 PM   #3
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Definitely odd. I loaded up 6.6.1 early this morning and all my dates look fine. I've got Date (date), Published (pubdate), Modified (last_modified) and various custom date fields. They all seem fine.
enuddleyarbl is offline   Reply With Quote
Old 09-30-2022, 07:38 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by CaptainTivo View Post
...

Questions:
1. So what happened?
No idea, I just added a couple of 'books' to a libray and all Dates intact

Click image for larger version

Name:	Screenshot 2022-10-01 090844.jpg
Views:	369
Size:	251.7 KB
ID:	196887

Perhaps you selected all books and did something like this:

Click image for larger version

Name:	Screenshot 2022-10-01 091153.jpg
Views:	158
Size:	171.6 KB
ID:	196888

Quote:
Originally Posted by CaptainTivo View Post
2. Is there any way to get back the old behavior?
Given how easy it is for the user to change the Date values in all books, I question your assumption that 'calibre' did it

Do you have a backup of the library prior to Sep 27?

Quote:
Originally Posted by CaptainTivo View Post
3. Is it possible to "downgrade" back to an earlier version of Calibre? I never did that before because I never had any trouble with an update before.
Yep, there's a "Previous releases of calibre are available here." link on the platform download pages. Remove the existing install, and install the old version - you won't lose any settings, plugins etc, and the library will remain as is.

But I don't see the point of doing that. Something happened on the 27th of September, not today. If you alter the display format for Date (there's Tweak to do that) to show the Time it might give you a clue as to what happened - e.g. that was about when the cat jumped on the keyboard

BR
BetterRed is offline   Reply With Quote
Old 09-30-2022, 08:03 PM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BetterRed View Post
Given how easy it is for the user to change the Date values in all books, I question your assumption that 'calibre' did it
If it was the upgrade triggering some sort of incredibly rare underlying db glitch, I'd expect it to change to today's date. So I'm inclined to think a user error.
ownedbycats is online now   Reply With Quote
Advert
Old 09-30-2022, 08:24 PM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ownedbycats View Post
If it was the upgrade triggering some sort of incredibly rare underlying db glitch, I'd expect it to change to today's date. So I'm inclined to think a user error.
Yeah, the calendar widget lands on the current date, I changed it to the Sep 29 before I took the screenshot.

BR
BetterRed is offline   Reply With Quote
Old 09-30-2022, 08:40 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,038
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
6.6.1 all my date (type) columns look normal.
FWIW I do not repurpose any standard columns. Did you do something else at the same time as the update? All I can figure is you had something incorrectly configured that stomped on {date}
theducks is offline   Reply With Quote
Old 10-01-2022, 10:38 AM   #8
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by BetterRed View Post
But I don't see the point of doing that. Something happened on the 27th of September, not today. If you alter the display format for Date (there's Tweak to do that) to show the Time it might give you a clue as to what happened - e.g. that was about when the cat jumped on the keyboard

BR
Hovering over the field in the book list will also display the full datetime in a tooltip. This also works for any datetime field.
Attached Thumbnails
Click image for larger version

Name:	2022-10-01 11_38_05-calibre.png
Views:	240
Size:	6.6 KB
ID:	196901  
ownedbycats is online now   Reply With Quote
Old 10-01-2022, 12:18 PM   #9
CaptainTivo
Junior Member
CaptainTivo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: iPad
Quote:
Originally Posted by ownedbycats View Post
That's odd.

Just to double-check, you sure you're not looking at Modified (last_modified)? This one is far more easily changable and I've seen certain actions modify it for every book.

If not, have you done any bulk metadata editors recently (specifically on the 27th?). I've had one or two mishaps by accidentally checking a column I did not mean to.
No. Modified date shows 30 Sept 2022. On that day (before I updated to 6.6.1) I selected all books and deleted a bunch of random, non-standard TAGS using the bulk Edit Metadata function. I guess I did not know that this would change the modified date, but I don't really care. It's the "Date" column that changed.
CaptainTivo is offline   Reply With Quote
Old 10-01-2022, 12:27 PM   #10
CaptainTivo
Junior Member
CaptainTivo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: iPad
Quote:
Originally Posted by BetterRed View Post
No idea, I just added a couple of 'books' to a libray and all Dates intact

Attachment 196887

Perhaps you selected all books and did something like this:

Attachment 196888


Given how easy it is for the user to change the Date values in all books, I question your assumption that 'calibre' did it

Do you have a backup of the library prior to Sep 27?


Yep, there's a "Previous releases of calibre are available here." link on the platform download pages. Remove the existing install, and install the old version - you won't lose any settings, plugins etc, and the library will remain as is.

But I don't see the point of doing that. Something happened on the 27th of September, not today. If you alter the display format for Date (there's Tweak to do that) to show the Time it might give you a clue as to what happened - e.g. that was about when the cat jumped on the keyboard

BR
OK. I DID not a massive "bulk Edit Metadata" to remove a huge number of non-standard Tags that came with some books I added. I IS possible that I inadvertently checked the "Apply date" box. The only thing wrong with this theory is that I did the bulk edit on the 30th. That would mean that not only did I check the "Apply date" box but also selected that date in the calendar. Still, this is the most likely cause given that this has not been reported as a bug by anyone else.

Now the question is: can it be reversed? Unfortunately, I don't do backups of the Calibre database (indeed, I did not even know about that function). I do have daily backups of my entire system, so I have access to any data on my machine for any date. Is it possible to manually find the database file in my backups and replace the current database with that?

BTW, thanks to all the people who replied. I did not know that the Calibre community was so wide and active.
CaptainTivo is offline   Reply With Quote
Old 10-01-2022, 01:04 PM   #11
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by CaptainTivo View Post
I do have daily backups of my entire system, so I have access to any data on my machine for any date. Is it possible to manually find the database file in my backups and replace the current database with that?
The best approach would be to restore the entire calibre library folder from your backup. Restoring only the database will probably lead to inconsistencies between what the database thinks is in the library and what files are really there. The database is inside the calibre library folder.

You could try restoring just the db and see what happens. The database is named "metadata.db" and located just inside your calibre library folder. If you do this then you should immediately run calibre's check library function (in Library maintenance) to see if the library is unacceptably out of sync.

Finally and depending on what you did, you might want to restore the calibre configuration folder as well. You can find where it is by running calibre, going to Preferences / Miscellaneous and choosing Open configuration folder.
chaley is offline   Reply With Quote
Old 10-01-2022, 06:10 PM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ownedbycats View Post
Hovering over the field in the book list will also display the full datetime in a tooltip. This also works for any datetime field.
@obc - Book list tooltips can be turned off, not sure what the default is, but I have it off.

To change the Date to Today in Bulk MDE all you have to do os tap Alt+P a couple of times followed by a space.

perhaps the fields that have been changed could be highlighted, viz:

Click image for larger version

Name:	Screenshot 2022-10-02 090410.jpg
Views:	434
Size:	114.8 KB
ID:	196912

BR
BetterRed is offline   Reply With Quote
Old 10-03-2022, 05:50 PM   #13
CaptainTivo
Junior Member
CaptainTivo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: iPad
Quote:
Originally Posted by chaley View Post
The best approach would be to restore the entire calibre library folder from your backup. Restoring only the database will probably lead to inconsistencies between what the database thinks is in the library and what files are really there. The database is inside the calibre library folder.

You could try restoring just the db and see what happens. The database is named "metadata.db" and located just inside your calibre library folder. If you do this then you should immediately run calibre's check library function (in Library maintenance) to see if the library is unacceptably out of sync.

Finally and depending on what you did, you might want to restore the calibre configuration folder as well. You can find where it is by running calibre, going to Preferences / Miscellaneous and choosing Open configuration folder.
So I restored the metadata.db file from the day before I did the bulk metadata edit and the "date" field is now back to what it was.
I conclude that I must have inadvertently set the date on all books when I was cleaning up the tags fields.

Thanks for all the help.
BTW, I don't see any way to edit the thread title to indicate a solved problem such as is done in other forums.
CaptainTivo is offline   Reply With Quote
Old 10-03-2022, 06:17 PM   #14
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,948
Karma: 74999999
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It's easy to do.

You can't edit a title after the thread's posted except in the first few minutes. You can use the '!' button in the user profile (next to Karma) to request a thread title change though.
ownedbycats is online now   Reply With Quote
Old 10-04-2022, 07:45 AM   #15
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,992
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Editing a tag case (and some other columns) on one book will put "now" as the date not just on that book but every book that uses that "global" data . It's because the tag is only stored once and a case change isn't regarded as a new tag/data.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery drain after firmware update [SOLVED] kyiv Onyx Boox 4 12-31-2021 10:44 PM
Kindle Firmware Update Gone Horribly Bad! - [SOLVED] Dr. Drib Amazon Kindle 32 07-22-2017 05:53 PM
[Solved] Downloading update problem - OSX El Capitan ConstantineG Devices 1 10-27-2015 08:00 AM
Searching by date does not consider System Locale when using ambiguous dates tempura Library Management 2 04-12-2014 06:31 AM
Help | Gui not starting after update to 0.6.16 [already solved] knightofni Calibre 2 10-08-2009 04:11 PM


All times are GMT -4. The time now is 04:39 PM.


MobileRead.com is a privately owned, operated and funded community.