Bug 277247 - Critical loss of data - Loss of Tags for pictures since Jan 2011
Summary: Critical loss of data - Loss of Tags for pictures since Jan 2011
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 1.4.0
Platform: Ubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 22:57 UTC by Thomas
Modified: 2022-01-23 15:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2011-07-06 22:57:59 UTC
Version:           1.4.0 (using KDE 4.5.5) 
OS:                Linux

In early June 2011 I noticed that most pictures taken in 2011 have lost the tags that I had set including i) old tag categories and ii) newly created tag categories. Also, some newly created tag categories have disappeared, i.e. are no longer available in the tag hierarchy.

The concerned picture set was worked on over many sessions during several months. In other words, a single crash with loss of unsaved data does not explain the issue I am reporting.

I have appx 20k images in my archive, of which appx 2k are taken in 2011. I have an extensive tag hierarchy including responses to "who", "what" and "where". I use digikam successfully since 2006, and have never before encountered this sort of meta data loss. 

Please advise on what elements would be of help; logs? sqlite db? 

Reproducible: Couldn't Reproduce

Steps to Reproduce:
(re)Created some tags that were lost. (re) Tagged some of the pictures that lost their tags, with both old and new tags. 

Actual Results:  
Closing DK, and restarting DK does not show any anomalies. The tagged pictures still have their tags, old and new.

Expected Results:  
Digikam should not lose (meta)data.

Hard to reproduce, for sure, but (meta) data loss is critical as countless hours of work tagging and categorizing my pictures has simply vanished. I will restore a backup, but my confidence in the otherwise excellent and trustworthy sw digikam has suffered.
Comment 1 caulier.gilles 2011-07-07 05:15:44 UTC
If you have incremental backup of database, it could help to investigate.

Note : I manage picture on a production computer (more than 250000 items), and i never see this issue. I use SQlite DB.

Gilles Caulier
Comment 2 Marcel Wiesweg 2011-07-11 16:10:19 UTC
If you use SQLite, you can open the database file digikam4.db with the sqlite3 and do an integrity check:
PRAGMA integrity_check; 
to rule out any problems here.
Comment 3 caulier.gilles 2011-12-15 08:12:34 UTC
Thomas,

Do you see comment #2 from Marcel ?

Gilles Caulier
Comment 4 caulier.gilles 2012-06-22 08:50:57 UTC
Official digiKam 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 5 caulier.gilles 2013-10-31 08:02:17 UTC
digiKam 3.5.0 is out.

Can you give a fresh feedback about your report ? Problem still reproducible ?

Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2015-06-30 08:05:23 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 7 swatilodha27 2016-07-02 16:08:27 UTC
The problem is not reproducible under 5.0.0.

Please reopen the bug if you face an issue.