Open Bug 1067192 Opened 10 years ago Updated 2 years ago

Local calendar events lost, disappeared after computer turned off suddnely (battery died)

Categories

(Calendar :: General, defect)

Lightning 3.3
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: lopezibanez, Unassigned)

Details

(Keywords: dataloss)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:32.0) Gecko/20100101 Firefox/32.0
Build ID: 20140830210657

Steps to reproduce:

An event added a long time ago suddenly disappeared after the computer turned off uncleanly (battery died). Could this be because of corruption of the sqlite database. It is not the first time that happens but it is obviously not easy to reproduce.



Actual results:

An event with important information completely disappeared. No obvious way to recover it.


Expected results:

A warning saying that the database was broken/inconsistent and that it will be recovered from a backup version. The backup should be saved every 5-10 seconds and not at the same time as the main database is being updated.
What type of calendar do you use (local, caldav,...)? If you're using a network calendar, had you chaching enabled when experiencing the issue?
It is a local calendar on Ubuntu 12.04 using an ecryptfs file-system. I noticed the missing task after the laptop died because of running out of battery. However, I was not editing or interacting with this task at the moment the laptop died (or shortly before that).

Much has changed since your report - https://mzl.la/2Ge0DCQ - and we'd need a lot more detail, or a testcase for this to be actionable.

Have you seen this problem since your original report?

Flags: needinfo?(lopezibanez)
Keywords: dataloss
Summary: Events lost, disappeared → Events lost, disappeared after computer turned off suddnely (battery died)

I have not noticed it again, but now I have moved all my calendars to Google Calendar and I use Provider for Google Calendar as I don't trust thunderbird's implementation of local calendars.

Flags: needinfo?(lopezibanez)

Walt, can you test?

Flags: needinfo?(wls220spring)
Summary: Events lost, disappeared after computer turned off suddnely (battery died) → Local calendar events lost, disappeared after computer turned off suddnely (battery died)

My Linux is on a desktop computer so no battery.

We have had a couple of power outages recently and I don't recall seeing any loss of local calendar events.

I'm not sure how long my Windows laptop battery lasts, but I could unplug the power cord on it and see what happens if that would be any help.

Flags: needinfo?(wls220spring) → needinfo?(vseerror)

(In reply to WaltS48 [:walts48] from comment #6)

... I could unplug the power cord on it and see what happens if that would be any help.

That's all that's needed. Although the results could still be inconclusive - given timing and other issues.

Flags: needinfo?(vseerror) → needinfo?(wls220spring)

Okay, tested with TB 60.7.2 , Lightning 6.2.7.2 on Windows 10.

I let the battery drain all the way down and I could not reproduce the problem.

Flags: needinfo?(wls220spring)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.