Thunderbird 91 forgets default calendar

Bug #1945368 reported by Alistair Cunningham
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mozilla Thunderbird
Invalid
Unknown
thunderbird (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Upon upgrading from Thunderbird 78 to 91, the default calendar for new events that I selected has been forgotten. I has Google set as the default, but Thunderbird 91 has changed the default to a local calendar that I rarely use.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: thunderbird 1:91.1.1+build2-0ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
Uname: Linux 5.13.0-16-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: alistair 2076 F.... pulseaudio
BuildID: 20210916142849
CasperMD5CheckResult: unknown
Channel: Unavailable
CurrentDesktop: Unity:Unity7:ubuntu
Date: Tue Sep 28 22:11:42 2021
ForcedLayersAccel: False
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 # Include files from /etc/network/interfaces.d:
 source-directory /etc/network/interfaces.d
IncompatibleExtensions:
 Lightning - {e2fda1a4-762b-4020-b5ad-a41df1933103}
 English (GB) Language Pack - <email address hidden>
 Thunderbird (default) - {972ce4c6-7e08-4474-a285-3208198ce6fd}
InstallationDate: Installed on 2020-07-14 (441 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
IpRoute:
 default via 172.30.3.254 dev wlp0s20f3 proto dhcp metric 600
 10.0.0.0/24 dev wg0 proto kernel scope link src 10.0.0.2
 169.254.0.0/16 dev wg0 scope link metric 1000
 172.30.0.0/22 dev wlp0s20f3 proto kernel scope link src 172.30.0.92 metric 600
PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/thunderbird/omni.ja:greprefs.js:359
PrefSources: prefs.js
Profiles: Profile0 (Default) - LastVersion=91.1.1/20210916142849 (In use)
RunningIncompatibleAddons: True
SourcePackage: thunderbird
UpgradeStatus: Upgraded to impish on 2021-09-24 (4 days ago)
dmi.bios.date: 06/21/2021
dmi.bios.release: 1.19
dmi.bios.vendor: LENOVO
dmi.bios.version: N2WET29W (1.19 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20U9CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0R32862 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.8
dmi.modalias: dmi:bvnLENOVO:bvrN2WET29W(1.19):bd06/21/2021:br1.19:efr1.8:svnLENOVO:pn20U9CTO1WW:pvrThinkPadX1CarbonGen8:skuLENOVO_MT_20U9_BU_Think_FM_ThinkPadX1CarbonGen8:rvnLENOVO:rn20U9CTO1WW:rvrSDK0R32862WIN:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad X1 Carbon Gen 8
dmi.product.name: 20U9CTO1WW
dmi.product.sku: LENOVO_MT_20U9_BU_Think_FM_ThinkPad X1 Carbon Gen 8
dmi.product.version: ThinkPad X1 Carbon Gen 8
dmi.sys.vendor: LENOVO

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

Many people in Support Forum are reporting problems with a 'blank' calendar.
This may be google or other imported calendars, but it may also be the default Home calendar.
Sample list:
https://support.mozilla.org/en-US/questions/1347913
https://support.mozilla.org/en-US/questions/1347467
https://support.mozilla.org/en-US/questions/1347710
https://support.mozilla.org/en-US/questions/1347772

Revision history for this message
In , Vseerror (vseerror) wrote :

There are indeed many reports of issues, even just in the last couple days. Perhaps these need mention in a version 91 FAQ?

https://www.reddit.com/r/Thunderbird/comments/p7y07r/gmail_calendar_and_contact_sync_in_thunderbird_91/
https://support.mozilla.org/en-US/questions/1347759

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

Seems to me, the problems are very likely about provider for google calendar, and potentially other add-ons being incompatible.

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

Seems provider for google calendar is falsely claiming compatibility with 91? Can we disable in that case?

Revision history for this message
In , R-john-w (r-john-w) wrote :

(In reply to Magnus Melin [:mkmelin] from comment #3)
> Seems provider for google calendar is falsely claiming compatibility with 91? Can we disable in that case?

Done.

Revision history for this message
In , R-john-w (r-john-w) wrote :

*** Bug 1726483 has been marked as a duplicate of this bug. ***

Revision history for this message
In , W-mm (w-mm) wrote :

So,
    Will the issue Google Calendar be 'fixed' in a subsequent release, and would someone be kind enough to notify me( and everyone else) :-) ?

and to repeat
a welcome addition to Bugzilla would be a check box to 'opt in to email notifications' when someone posts a new comment !

:-)

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

For the add-on, that's up to the add-on author. Thunderbird core can access google calendars just fine.

Isn't the default for bugzilla to send you emails on comments? If it's not sending, see your bugzilla account page and make sure you opt in for it.

Revision history for this message
In , W-mm (w-mm) wrote :

Howdy Magnus, John et al
                           As I reported in a another Bug, concurrently that John responded to:
                          When I downloaded and upgraded from V78 to V91 my Calendar and subs( 3 of them were all LISTED , but no data was displayed)
There were 'Enable' buttons next to each sub calendar and I clicked each to no avail......rebooted , retried multiple times.
I had to use W7 System Restore to bring me back to V78 and get my Data back

So.......when this is Fixed....please advise so I know I can update to V91 or?
Thank you

If I HAVE to renter my Calendar(s) manually....please let me know !

PS I see Email Preferences
Can you kindly instruct me on how to be included in any updates for ONLY this BUG !
I'm just a USER /reporter for this bug !
https://bugzilla.mozilla.org/userprefs.cgi?tab=email

thank you

Revision history for this message
In , Vseerror (vseerror) wrote :

(In reply to Matt Miller from comment #8)
> PS I see Email Preferences
> Can you kindly instruct me on how to be included in any updates for ONLY this BUG !

"ONLY" is not easily possible. (But you are only CC on two bugs so I fail to see the concern about getting mail for other bugs)
* Go to https://bugzilla.mozilla.org/userprefs.cgi?tab=email
* click "enable all bugmail"
* go to the bottom and click "submit changes"

> please advise so I know I can update to V91 or?

When you see an offer **FROM THUNDERBIRD* to automatically update. We can't predict when that will be.

But none of this helps you with https://github.com/kewisch/gdata-provider/issues/194 You'll just have to wait and check when the author makes the new version available.

Revision history for this message
In , W-mm (w-mm) wrote :

Thank you Magnus and Wayne.........
      I'm a little 'gun shy' and I'm happy with V78
so Maybe I'll stay put for awhile or until Gmail doesn't 'like' the Security in v78

PS the only Lightning addon I have that WAS needed for my Calendar is " Provider for Google Calendar"
Are you now saying that that add on is NOT needed anymore, and IS my problem?!

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

Provider is not needed for handling calendars anymore. If you use tasks, for those you need the provider since google doesn't expose them in a standard format.

Revision history for this message
In , Unicorn-consulting (unicorn-consulting) wrote :

(In reply to Matt Miller from comment #10)
> Thank you Magnus and Wayne.........
> I'm a little 'gun shy' and I'm happy with V78

91 does have a lot of things to like (once you find them)

> so Maybe I'll stay put for awhile or until Gmail doesn't 'like' the Security in v78

It is not the security in Google you need to worry about, it is yours. See https://www.mozilla.org/en-US/security/known-vulnerabilities/thunderbird/

> PS the only Lightning addon I have that WAS needed for my Calendar is " Provider for Google Calendar"
> Are you now saying that that add on is NOT needed anymore, and IS my problem?!

That would be the case. It has not been needed for some years really. I have been struggling since about 2012 to understand really what the provider offers that is not available using caldav other than the simplicity that the Thunderbird 91 inbuilt calendar detection now provides.

This blog post in 2013 is about Google caldav and Lightning and was written by the guy that maintains the gdata provider. https://blog.mozilla.org/calendar/2013/09/google-is-changing-the-location-url-of-their-caldav-calendars/ so it has not been needed since then at least.

Revision history for this message
In , W-mm (w-mm) wrote :

Thank you again Magnus
     I had no clue that TB was under attack........
but having said that................what I was referring to is to be able to use TB with Gmail

One has to set Gmail to ALLOW for a 'Less Secure App' !
And even with that...........if one doesn't keep up with the TB updates, then one can find themselves not being able to reach the gmail server
because gmail has 'changed' their Security Protocols!

Is there any consideration being made to make TB secure enough in Gmails terms, to make it 'work' without having to tell gmail its a 'less secure app' ?

Revision history for this message
In , Mkmelin+mozilla (mkmelin+mozilla) wrote :

I believe it mostly goes away if you move to OAuth2 authentication (which is the default).
They may still try to scare you into using their web services... but what can we do about such marketing ploys.

Revision history for this message
In , Thee-chicago-wolf (thee-chicago-wolf) wrote :

(In reply to Matt Miller from comment #13)
> Is there any consideration being made to make TB secure enough in Gmails terms, to make it 'work' without having to tell gmail its a 'less secure app' ?

This is a Google/GMail thing, not so much a TB thing. Google/GMail would LOVE for email to just die and / or have their customers move to Webmail through a browser. It's a control thing. IMHO, Google CONSTANTLY wants to undermine established standards and move users away from ANYTHING that takes control away from Google's product and puts full control in a user's hands.

The whole "less secure app" is a marketing scare tactic by Google to make users think something that is perfectly secure is not. It's the method of access they're trying to hamper. I mean, why else would you have to flip a switch in GMail "Settings" through the web UI in order to access your IMAP/POP3 with a 3rd party client yet the GMail Android app happily access your IMAP mail without needing to flip said switch? Totally sus! Just sayin'.

Revision history for this message
In , Thee-chicago-wolf (thee-chicago-wolf) wrote :

(In reply to Magnus Melin [:mkmelin] from comment #14)
> I believe it mostly goes away if you move to OAuth2 authentication (which is the default).
> They may still try to scare you into using their web services... but what can we do about such marketing ploys.

+1

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

This is issue is not just a gmail google issue.
The 'Home' calendar is also lost. People are needing to do all sorts of work arounds - assuming they still have a backup.
eg: https://support.mozilla.org/en-US/questions/1347913#answer-1437750

Revision history for this message
In , P-rich (p-rich) wrote :

Confirm, it occurred using TB internal calendar (formerly Lightning) not any external calendar.

Reinstalling TB 78, restoring profile, then exporting calendar and importing that into TB 91 recovered it.

It's an update problem.

Richard

Revision history for this message
In , R-john-w (r-john-w) wrote :

I have created a test profile in TB78 with
- gmail account
- google provider with 5 calenders
- local home calendar

I upgraded that profile to TB91 and home calendar was available, google calendar where disabled (as the provider is not compatible with TB91). I also tried to add entries to my home calendar and everything worked as expected.

@rich & @anje (regarding broken home calendar after upgrade):
- What other add-ons have you installed during upgrade?
- What OS are you on?
- Are you able to provide steps to reproduce this, starting with a fresh TB78 profile and prepare that in a way that an upgrade to TB91 breaks the home calendar?

Revision history for this message
In , P-rich (p-rich) wrote :

John,

Add-on's (Note, only using internal calendar, never used any ext calendar)

Signature Switch, Quote Colors, Remove Duplicate Messages

OS: Win 10 21H1 (up-to-date)

"Home" calendar is listed but all contents are blank after upgrade. Can't export calendar.

Tried the upgrade again (restored profile from backup/reinstalled TB 78). Same issue

Restored profile from TB 78, exported calendar.

In TB 91 deleted Home cal, imported calendar as new name (would not let me use Home)

I did not create a new profile or calendar and try to upgrade using that as the TB 78 profile and calendar were fully functional and I needed all the data

Richard

Revision history for this message
In , R-john-w (r-john-w) wrote :

I created a fresh 78 profile, installed the 3 add-ons, put some events in my home calendar, and upgraded to 91. Everything works.

Richard, could you do the following for me?
1. Create a fresh TB78 profile
2. Setup your imap account
3. Install the 3 add-ons
4. Import the calendar which you had extracted from your backup
5. Load the profile with TB91

What happens?

Revision history for this message
In , Unicorn-consulting (unicorn-consulting) wrote :

(In reply to Matt Miller from comment #13)

> One has to set Gmail to ALLOW for a 'Less Secure App' !

No one does not! Thunderbird has supported oAuth authentication for Google for some time now. IMAP/SMTP since Thunderbird 40 and POP since Thunderbird 74.

> And even with that...........if one doesn't keep up with the TB updates, then one can find themselves not being able to reach the gmail server
> because gmail has 'changed' their Security Protocols!

That is always going to be a possibility. But oAuth makes it less likely. There was an issue on the 68 release for instance, Bug 1592407

Revision history for this message
In , P-rich (p-rich) wrote :

(In reply to John Bieling (:TbSync) from comment #21)

John, I'm out-of-town until late Monday and don't have the exported calendar file with me.

Richard
========================================

> I created a fresh 78 profile, installed the 3 add-ons, put some events in my home calendar, and upgraded to 91. Everything works.
>
> Richard, could you do the following for me?
> 1. Create a fresh TB78 profile
> 2. Setup your imap account
> 3. Install the 3 add-ons
> 4. Import the calendar which you had extracted from your backup
> 5. Load the profile with TB91
>
> What happens?

Revision history for this message
In , W-mm (w-mm) wrote :

Dear et al
                re TB and Gmail and Goggle Calendar
I've been a Pro Guru and user for 26 years. When Netscape Browser and Mail came out 20+ years ago, I was one of the first users
I'm not a Programmer and I salute you for TB !!! !!!!!!!!!!!!!!!!!!!!!!
But, I'm not a slouch either.

I set up new machines and new users with TB all the time.
Even with OAuth in my experience, the ' Less Secure App ' BS is ALWAYS NEEDED !
With Outlook...its NOT !
With Iphone IOS Mail or Outlook IOS, there is NO Problem !

And, I disagree, that Google is trying to force users to use Webmail !
It just seems that Google doesn't like Mozilla !!!! ????

PS The auto config sometimes works and sometimes not ;-(
If not, I usually copy my TB settings using my oauth settings and my ports to get TB to handshake with Gmail

Be all that as it may........... If Outlook is 'excepted' by Gmail to work without the "less secure app' protocol
I'm just asking if its not to difficult, to make TB 'exceptable' to Gmail
If its too much of a hassle........Now that I know about the ' less secure app' HOOP, I can live with it!

And back to the Google Calendar
    I'm humbly suggesting, that why release a NEW TB version without a MESSAGE warning Lightning users to disable Google Provider if thats what is needed to make it work?!

Again....my HATS OFF to all you Programmers, as I've NO Programming Skills and I salute you, as I LOVE TB !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
THANK YOU :-) !!!!!!!!!!!!!!!

Revision history for this message
In , R-john-w (r-john-w) wrote :

> And back to the Google Calendar
I'm humbly suggesting, that why release a NEW TB version without a MESSAGE warning Lightning users to disable Google Provider if thats what is needed to make it work?!

An updated version of the provider is in the making and it is now marked by the compatibility check add-on [1], that it is currently not compatible with TB91. So if you install that compatibility check add-on in your TB78, it will check for you if it is safe to update to TB91 or not.

[1] https://addons.thunderbird.net/addon/addon-compatibility-check/

General information: We will not be able to manually "convert" calendars created/managed by the google provider add-on (which is using a proprietary google API to get all the data, including tasks) to CalDAV calendars managed by Thunderbird directly (which does not support tasks, because Google does not provide that info via CalDAV). If you want to switch from one method to the other, you will have to do that on your own:
* Remove old google calendars
* Remove provider add-on
* Add google calendars as CalDAV

This is not really related to the upgrade from TB78 to TB91.

> Even with OAuth in my experience, the ' Less Secure App ' BS is ALWAYS NEEDED !

That is really not true. See the attached image below.

Revision history for this message
In , R-john-w (r-john-w) wrote :

Created attachment 9238456
grafik.png

Access to Google from Thunderbird does not require a dedicated app password (a.k.a less secure app access).

Revision history for this message
In , W-mm (w-mm) wrote :

HI again John
         Forgive my stupidity, but you're not saying that my Google Calendar in Google online has to be deleted? and then recreated?
You're just saying to manually remove then in TB, and then re-import them into V91 as Caldav
Correct?

And BTW....WHY?! Why not leave it as it was.....working PERFECTLY ?!

Revision history for this message
In , W-mm (w-mm) wrote :

And John
     re 'Less Secure App' access or not to gmail via TB

Then I MUST be doing something wrong as I just set up TB on a W10 machine a month ago and GMAIL STILL required 'Less Secure App' setup
to make TB work !

I can't remember if I used auto config or I manually set it up?
I always use Auto config in TB or Outlook as of course thats easier!

So I don't remember if it was OAuth or not!
You were saying earlier that THAT is the issue?!

Revision history for this message
In , W-mm (w-mm) wrote :

PS Just found this on Github
https://github.com/kewisch/gdata-provider/files/7071662/gdata-provider-91.0.0pre1.zip

After installing "gdata-provider-91.0.0pre1" my calendar is working again.

Revision history for this message
In , R-john-w (r-john-w) wrote :

(In reply to Matt Miller from comment #29)
> PS Just found this on Github
> https://github.com/kewisch/gdata-provider/files/7071662/gdata-provider-91.0.0pre1.zip
>
> After installing "gdata-provider-91.0.0pre1" my calendar is working again.

That is not yet released and has a serious bug. Please remove it to. It has not even passed review!

I will get to your other questions later.

Revision history for this message
In , W-mm (w-mm) wrote :

Hi John
             Yikes.....Seems to be working !!!

Revision history for this message
In , R-john-w (r-john-w) wrote :

(In reply to Matt Miller from comment #31)
> Hi John
> Yikes.....Seems to be working !!!

It is your decision. I warned you. I cannot do more than that. I originally suggested staying on TB78 until an official version of the provider for TB91 has been released.

> Forgive my stupidity, but you're not saying that my Google Calendar in Google online has to be deleted? and then recreated?
You're just saying to manually remove then in TB, and then re-import them into V91 as Caldav
Correct?

Correct.

> And BTW....WHY?! Why not leave it as it was.....working PERFECTLY ?!

**If** you want to switch away from the provider to the built-in CalDAV support, you would have to do the listed steps. But I suggest to leave it as it was and just wait for the official version of the google provider for TB91.

Revision history for this message
In , P-rich (p-rich) wrote :

(In reply to rich from comment #23)
> (In reply to John Bieling (:TbSync) from comment #21)
>
> John, I'm out-of-town until late Monday and don't have the exported calendar file with me.

I'm back...

Did that. 91.0.3 opens the calendar imported into 78.13 (was prev using 78.12 but it auto-updated on me...)

(Reminder) I'm using local calendars not net...

Richard

Revision history for this message
In , R-john-w (r-john-w) wrote :

(In reply to rich from comment #33)
> (In reply to rich from comment #23)
> > (In reply to John Bieling (:TbSync) from comment #21)
> >
> > John, I'm out-of-town until late Monday and don't have the exported calendar file with me.
>
> I'm back...
>
> Did that. 91.0.3 opens the calendar imported into 78.13 (was prev using 78.12 but it auto-updated on me...)
>
> (Reminder) I'm using local calendars not net...
>
> Richard

Hm, so it is not something specifically IN that calendar that caused the upgrade to fail. I am running out of ideas.

Revision history for this message
In , R-john-w (r-john-w) wrote :

Regarding google calendars: The google calendar provider for TB91 has just been released:
https://addons.thunderbird.net/addon/provider-for-google-calendar/versions/

That should fix all the google calendar related issues mentioned in this bug.

Revision history for this message
In , P-rich (p-rich) wrote :

(In reply to John Bieling (:TbSync) from comment #34)
> (In reply to rich from comment #33)
> > (In reply to rich from comment #23)
> > > (In reply to John Bieling (:TbSync) from comment #21)

John,

> Hm, so it is not something specifically IN that calendar that caused the upgrade to fail. I am running out of ideas.

Maybe rephrase that...

Not something in the exported calendar but maybe...

Something in the references to the calendar (as opposed to the calendar data itself)

or

Export "cleaned it up" meaning there is something in the data, but it was skipped in the export...

Richard

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

Still getting reports relating to the Home calendar - loss of data upon update to 91 - not working:
https://support.mozilla.org/en-US/questions/1349601
User says:
> To start with, after the update my main Calendar has completely disappeared taking with it very important upcoming appointments. In addition to that if I create an event all the data entered does not appear in the relevant day in the calendar and it will also not allow me to import any future events from other calendars.

In addition to discovering Home calendar blank - people also reporting they cannot retain added events which is not the same as this bug but I'm offering that bug link: bug 1729664

Revision history for this message
In , Vseerror (vseerror) wrote :

(In reply to Anje from comment #37)
> Still getting reports relating to the Home calendar - loss of data upon update to 91 - not working:
> https://support.mozilla.org/en-US/questions/1349601

Has it been confirmed that the reporter is NOT using the provider add-on?

Revision history for this message
In , Richard Leger (richard-leger) wrote :
Revision history for this message
In , Richard Leger (richard-leger) wrote :

Could it be that upgrade from 78 to 91 causes a temporary export/import (via .ics file) of the local calendar and import failed due to Bug 1727938? Resulting in the calendar being empty after upgrade...

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

(In reply to Wayne Mery (:wsmwk) from comment #38)
> (In reply to Anje from comment #37)
> > Still getting reports relating to the Home calendar - loss of data upon update to 91 - not working:
> > https://support.mozilla.org/en-US/questions/1349601
>
> Has it been confirmed that the reporter is NOT using the provider add-on?

Confirm - Some Users only using the default 'Home' calendar and NOT the provider addon - actually not using any addons. They only have the one calendar. Some using both Home and other eg: Google. But 'Home' effected the same.
Update removed everything from calendar.
Then the blank Calendar unable to retain any entries in Home calendar - separate bug but seems related.

Workaround to get Calendar working:
if user has no backup then create a new Home calendar and then delete the original non functioning Home calendar. Unfortunately all previous calendar entries/events etc prior to version 91* update are lost.

If user had a 78* backup created:
Install Thunderbird 78* (whatever version they previously used) to another location, point to use backup profile then export the calendar.
In version 91*, import the calendar. Delete the original blank non functioning Home calendar.
Then remove the 78* version.
This workaround using backup is ok for those savvy enough to know how to install and run different TB versions. But may be beyond some people.

Those will google accounts seem to get fixed after removing the old 'Provider for google calender' addon and then downloading and installing latest version so can now recreate the calendar.

So the biggest problem seems to be for those using Home calendar who do not have a backup.

Revision history for this message
In , R-john-w (r-john-w) wrote :

@Anje: Like I asked in the other bug: Do those people get any errors on the console? I have a report from a somewhat related case, which looks like the data is there, but simply fails to display, due to some parsing errors.

The error that user reported is

```
console.error: Lightning:
  Parser Error. Could not find 'VCALENDAR' component.
```
It could be that a parsing routine has changed from TB78 to TB91 and now it cannot render events it formaly could. But we need error logs to do anything, or a broken profile to look at.

Revision history for this message
In , Worcester12345 (worcester12345) wrote :

I am also having problems with calendar. I see all calendars on the left hand side. My "Home" calendar is the only one that displays data. I am using the Provider For Google Calendar Add-on version 91.0.1 (just updated today).

This used to just work prior to this version of Thunderbird. If there is a means of using Google/GMail calendars WITHOUT using this Add-on, that is not clear or easy to find. If you can provide some simple steps to back out of that, and do it a different way, I am all ears, and would be glad to test the functionality for you. Just keep it all in here (this bug), so that others may benefit or help test.

Thank you.

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :
Download full text (3.7 KiB)

(In reply to Worcester12345 from comment #43)
> I am also having problems with calendar. I see all calendars on the left hand side. My "Home" calendar is the only one that displays data. I am using the Provider For Google Calendar Add-on version 91.0.1 (just updated today).
>

I'm running more than one version of Thunderbird.
I've just uninstalled one v 78.14.0 and installed v 91.1.0 and all updated ok. I was initially presented with a new profile, but easy to point to desired one. Both Home and Gmail ok. Using latest 'Provider for Google calendar v 91.0.1'.
Oddly, I was checking out 'Error Console' window when main UI seemed to close, but was running somewhere, so closed everything and opened again. I had been booted out of Google Calendar - bit odd as passwords are stored and needed to input password again, but all still ok.
I helped a user get his google calendars up and running again but that user needed to removed them first, restart TB and do a complete recreation.
New Calendar - Use Network - select gmail email address - select all gmail calendars and Tasks as required and create afresh.

I asked other user to check error console, but they had restarted Thunderbird after getting Home calendar fixed to check it retained info - so original error data was auto wiped out.

As my initial update went ok I did check error console.

Results: attached txt file for full text, but noted these lines:

> 15:24:19.227 [l10nregistry] Attempting to synchronously load file
> resource:///chrome/en-US/locale/en-US/calendar/messenger/otr/otrUI.ftl while it's being loaded asynchronously. L10nRegistry.jsm:597:19

> 15:24:19.726 Calendar: Storage: Upgrading to v23, a backup was written to: C:\Users\XXXX\AppData\Roaming\Thunderbird\Profiles\profilename\calendar-data\backup\local.v22.sqlite calStorageUpgrade.jsm:213

> 15:24:21.046 Calendar: Storage: Upgrading to v23, a backup was written to: C:\Users\XXXX\AppData\Roaming\Thunderbird\Profiles\profile name\calendar-data\backup\local.v22-1.sqlite calStorageUpgrade.jsm:213

Not sure why it performed this backup twice - but at least I've located where a backup should be found.

> 15:24:21.402 [l10nregistry] Attempting to synchronously load file
resource:///chrome/en-US/locale/en-US/calendar/toolkit/intl/languageNames.ftl while it's being loaded asynchronously. L10nRegistry.jsm:597:19

> 15:24:21.403 [l10nregistry] Attempting to synchronously load file
resource:///chrome/en-US/locale/en-US/calendar/toolkit/intl/regionNames.ftl while it's being loaded asynchronously. L10nRegistry.jsm:597:19

> 15:24:21.403 [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry.loadSync :: line 692" data: no] L10nRegistry.jsm:692:19
> 15:24:21.403 [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: L10nRegistry....

Read more...

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

Created attachment 9240326
error console.txt

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

Created attachment 9240327
errorconsole-91.1.0.jpg

Revision history for this message
In , R-john-w (r-john-w) wrote :

I am lost. We need to split this bug into "I am using google provider" and "I am not using google provider".

@Anje: The text log shows you are using google, removing all google calendars and the google provider and starting from scratch does not fix it for you?

The image log shows you are using at least one incompatible add-on (the error in implementations.js at the top), are you able to see which one? (click on the filename, it should open in an editor, if you cannot make anything out if it, please post that file here in full length).

Revision history for this message
In , R-john-w (r-john-w) wrote :

Sorry, post the full filepath (!), not the file.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

Created attachment 9240387
TB.x64.en-gb.78.14&91.1.0.console.logs.home.calendar.txt

FYI, about local Home calendar being empty after upgrade, I could **not** reproduce the issue, here are the steps followed...

- Install TB 78.14 en-gb on Windows 10 Pro x64 21H1 10.0.19043.1165
- Setup a new user profile
- Don't enable email - just close the email setup wizard
- Enable Home calendar in Calendar view
- Import .ics file (a known working calendar exported into .ics file via TB) into the Home local calendar.
- Exit and restart TB
- Gather console error logs - see attached part 1
- Exit TB
- Install TB 91.1.0 en-gb x64 ==> TB upgrade
- Open TB
- Home calendar is still enabled, and even items both vevent and vtodo available in TB 91.1.0 after upgrade -
-- I can also record new items into the calendar
- Gather console error logs - see attached part 2

Hope that help in some way...

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to Anje from comment #41)
> Install Thunderbird 78* (whatever version they previously used) to another location, point to use backup profile then export the calendar.
> In version 91*, import the calendar.

Be aware that import in 91.x may fail if VTODO (tasks) are present in the .ics file... as reported in Bug 1727938...

Revision history for this message
In , Richard Leger (richard-leger) wrote :

FYI,

I re-run test as per Comment 49 but this time in addition of Home local calendar, I also added, in TB 78.14 en-gb new user profile, one network Caldav calendar, and one network Google calendar (via the Provider for Google Calendar version 78.0.2 from 9 September 2021).

After manual upgrade to TB 91.1.0 en-gb all three calendars are fully visible and available. First time I added an item to the Google Calendar I was prompted to authenticate again... but all seems working after following the procedure (same as for first time setup)... I noticed that the Provider for Google Calendar add-on automatically updated to version 91.0.1 from 9 September 2021.

So again I am **not** in measure to reproduce the issue at my end, at least not with the calendar data I use or the way I test it... contrary to some people that seems to encounter it...

Either sorted or something else is causing the issue to some... at least not easily reproducible...

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

(In reply to John Bieling (:TbSync) from comment #47)
> I am lost. We need to split this bug into "I am using google provider" and "I am not using google provider".

I can see there is a valid point to that. But it seems likely the original problem for those using google was the addon could not update because it was not ready when version 91 was released. Getting the addon updated and recreating the calendar seems to work.

So the real issue is what happened to the 'Home' calendar when it appears to be blank.

>
> @Anje: The text log shows you are using google, removing all google calendars and the google provider and starting from scratch does not fix it for you?

Prior to intalling 91* - I made sure the 'Provider for Google Calendar' addon update option 'On' was selected because if default is selected then updates do not occur. All updates used to occur by default, but this seemed to all change in version 78 and those auto updates stopped. So user just needs to set it to On before updating. So google provider addon updated and all was ok - I just got a couple of prompts to logon by google and allow Thunderbird access. There was no need to do anything to my google calendar.
For those who did not get the auto update for the provider addon it caused a problem. Updating the addon and recreating the google calendar would sort out that problem.

I would suggest major new releases are not released if dependent on specific addons like Provider for Google Calendar are not compatible at that same point in time or come to some arrangement where it is incorporated like Lightning Calendar.

>
> The image log shows you are using at least one incompatible add-on (the error in implementations.js at the top), are you able to see which one? (click on the filename, it should open in an editor, if you cannot make anything out if it, please post that file here in full length).

The incompatible addon is mail merge which is not in my list of addons, so it is probably got some residual files.
I presented some error console data because it is just as useful to see what was reported even if all went ok.

I am reporting problems experienced by people in Support Forums.
I decided to install 91.1.0 and run to see if I could reproduce the error with the Home Calendar or Google or both. Then perhaps I would have error console data etc.
However, the google addon updated just fine and I just got presented with a new profile, so had to point it to the correct one - no worries. Then seemed to lose the session with Google and was prompted to send password again - all is saved, so no idea what happened.
REstarting next day all is still ok.

But the point is - in my case - no calendar data was lost. I could not reproduce the same error as reported in this bug.
So all info I'm relaying is being gleaned from the Support Forum.

Revision history for this message
In , R-john-w (r-john-w) wrote :

@Anje: Thank you for your work in support.

> But it seems likely the original problem for those using google was the addon could not update because it was not ready when version 91 was released. Getting the addon updated and recreating the calendar seems to work.

The real issue was, that the google provider installed in TB78 claimed compatibility with TB91 as well, which in fact was wrong and then it failed to load/view the events in TB91 after the upgrade. You did not miss the update for the provider, there simply was none. It should have disabled itself (with a big yellow "I am incompatible" warning in the add-on manager) and the google calendars should have been disabled as well with no option to enable them. I do not know, if the broken google provider had negative effects on the general calendar system and therefore could have caused the empty home calendars as well.

Once the real working version of the provider for TB91 was released, the google related issue was resolved. We made changes to the add-on system, that add-ons like the google provider can no longer claim compatibility with the next ESR per default, so something like this should not happen again next year.

FYI: We still have a few add-ons which falsely claim compatibility with TB91 and could cause issues popping up in support (see https://thundernest.github.io/add-on-reports/tb91-experiments-without-upper-limit.html)

Revision history for this message
In , Worcester12345 (worcester12345) wrote :

(In reply to John Bieling (:TbSync) from comment #53)
...
> Once the real working version of the provider for TB91 was released, the google related issue was resolved.

I have updated the google provider add-on, and am still unable to access calendars, so the issue is NOT completely resolved.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to Worcester12345 from comment #54)
> (In reply to John Bieling (:TbSync) from comment #53)
> ...
> > Once the real working version of the provider for TB91 was released, the google related issue was resolved.
>
> I have updated the google provider add-on, and am still unable to access calendars, so the issue is NOT completely resolved.

It seems indicated in some comments above that you have to remove the Google calendar(s), and re-add it(them) afterwards the add-on has been updated... have you tried that? I would suggest to restart TB after the add-on has been installed/updated.

Revision history for this message
In , Worcester12345 (worcester12345) wrote :

"And just like that, they are working again."

No version changes, no extension ("Addon"?) changes. It DID come up with a box that had Google ask for a user name and password.

I wonder if it is fully working. Even before it broke, it would not allow me to click on an invite in email and put it in the calendar. It used to do this maybe a year or two ago.

Anyone else have the calendar suddenly, inexplicably, start working again?

Revision history for this message
In , Dimas SC (dimas) wrote :

(In reply to Worcester12345 from comment #56)
> Anyone else have the calendar suddenly, inexplicably, start working again?

Not for me

Revision history for this message
In , Wls220spring (wls220spring) wrote :

(In reply to Worcester12345 from comment #56)

> Anyone else have the calendar suddenly, inexplicably, start working again?

Not for me after Fedora updated their 78.11.0 to 91.1.0 on Fedora 34.

I would start the application and my Google CalDAV calendar would be empty, with the "Enable" button next to it in the Calendar List.

I would click it and the items would appear, but be gone on the next restart.
Decided to unsubscribe from it, added it back again and that problem is solved.

I don't use the Provider for Google Calendar extension.

Revision history for this message
In , Worcester12345 (worcester12345) wrote :

Well, only partial success, it seems. It now displays the calendars, but I cannot dismiss the "reminders" or the popup window they show up in. It also froze up for a long time and crashed. I ended up turning off all extensions; but now can no longer see calendars/events again.

Revision history for this message
In , Thee-chicago-wolf (thee-chicago-wolf) wrote :

(In reply to Worcester12345 from comment #59)
> Well, only partial success, it seems. It now displays the calendars, but I cannot dismiss the "reminders" or the popup window they show up in. It also froze up for a long time and crashed. I ended up turning off all extensions; but now can no longer see calendars/events again.

If these un-dismissable popups are in a Google/GMail calendar, try this:

1. Log into the GMail WebUI account from the calendar that's having the issue (hopefully not a recurring event, but if yes, maybe just re-create it)
2. Find the calendar event and delete it through the Web GUI
3. TB should then pop up the Discard Changes and Reload message and the un-dismissable popup should stop

That's worked 100% for me.

Revision history for this message
Alistair Cunningham (acunningham) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

This appears to be a known upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1727062.

Changed in thunderbird:
status: Unknown → Confirmed
Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

The issue regarding Home default calendar has not been discussed very much.
Gmail calendars can be reconnected after sorting out the addon, removing and recreating.

BUT the Home default Thunderbird calendar is a big problem because it loses data and we are starting to get more complaints in the 'Support Forum.
People are losing all data in the default Thundrbird calendar called Home and any entries put into the blank calendar are never saved after exiting.

This is serious.

Revision history for this message
In , Dimas SC (dimas) wrote :

I don't know if it can help, but here's a screenshot of my calendar-data/ files right now (upgraded from 78 to 91 and I can't view local calendar events): https://i.imgur.com/DQ6153V.png

\calendar-data\local.sqlite
\calendar-data\local.sqlite-shm
\calendar-data\local.sqlite-wal
\calendar-data\backup\local.v22.sqlite

I thought that maybe my lost events was in the backup\local.v22.sqlite file but it looks like very similar to the actual \calendar-data\local.sqlite

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

Created attachment 9244364
calendar-data.jpg

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

Feedback:
Asking people to try using the calendar-data/backup 'local.v22.sqlite' file renamed as 'local.sqlite' to replace the 'local.sqlite' file stored in 'calendar-data' is not getting any of the calendar data to display.
https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f/local-calendar-events-lost

I also have a report from one person that they do not have the calendar-data/backup folder.
https://support.mozilla.org/en-US/questions/1352473

Additional New reports:
update to 91*, no Tasks/Events in calendar after update- data not displayed (and new events not saved)
https://support.mozilla.org/en-US/questions/1352939
https://support.mozilla.org/en-US/questions/1352945
https://support.mozilla.org/en-US/questions/1352877
https://support.mozilla.org/en-US/questions/1352638

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to Anje from comment #64)
> Feedback:
> Asking people to try using the calendar-data/backup 'local.v22.sqlite' file renamed as 'local.sqlite' to replace the 'local.sqlite' file stored in 'calendar-data' is not getting any of the calendar data to display.
> https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f/local-calendar-events-lost

Is the data missing from sqlite db?
Or present but not parsed correctly (linked/related to Bug 1727938)?

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to Anje from comment #61)
> The issue regarding Home default calendar has not been discussed very much.

FYI,

Some of the Home default calendar issues seems to have been discussed and addressed in Bug 1729664 which this bug may depends on... hard to tell if the fix there will fix this local home calendar bug as well. To be confirmed once published.

I have suggested some troubleshooting steps here... https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f-M8a0edcecc8ee0e80939c3f8b/local-calendar-events-lost in an attempt to isolate the problem with home calendar and get possible errors in the console. Dimas seems also to suggest that running TB with -console has helped him gather some error in the console as per his Bug 1729664 Comment 9. Maybe that can help someone else encountering the issue with local home calendar to check which error they get...

Someone mentioned (as per https://support.mozilla.org/en-US/questions/1352939) that issue has been occurring when upgrading from 78.14.0 to 91.1.2 but I still haven't been able to reproduce the issue at my end... but only tested with new profile created in TB 68.x with only one home calendar in it... imported .ics file in it with about 4000 items... and upgraded profile successfully to 78.14.0 and to 91.1.2... still no issue observed with local home calendar!

Revision history for this message
In , Richard Leger (richard-leger) wrote :

Some positive update towards a possible fix...

(In reply to Richard Leger from comment #66)
> (In reply to Anje from comment #61)
> > The issue regarding Home default calendar has not been discussed very much.
> I have suggested some troubleshooting steps here... https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f-M8a0edcecc8ee0e80939c3f8b/local-calendar-events-lost in an attempt to isolate the problem with home calendar and get possible errors in the console.

As per https://thunderbird.topicbox.com/groups/beta/T948a3b1f2f93c62f/local-calendar-events-lost, Dimas confirmed encountering the **home calendar event not showing** issue after upgraded from his latest 78 (78.9.1 64bits he thinks) to 91 stable (91.0 64bits). Installed manually over the 78 in Program Files TB folder. Locale *ca* for all version. On Windows 10 Pro 21H1 with the latest Windows Defender (no other antivirus).

Following my suggestions, Dimas seemed to have isolated the problem, after disabling/enabling again the local calendar while monitoring the error console, still no event shows but in the console the following error appears (same as reported in Bug 1729664 Comment 4):

````
TypeError: item.id is null (24 times)
CalStorageCalendar.jsm:2252:9
````
When trying to add an event, no additional error appears.

Using Firefox sqlite DB manager add-on (https://addons.mozilla.org/en-GB/firefox/addon/sqlite-manager-webext/), he managed to open a copy of the local.sqlite DB and run two SQL queries:

Searched for items with null id:
````SELECT * from cal_events WHERE id IS NULL LIMIT 100````
Found one and deleted it:
````DELETE FROM cal_events WHERE id IS NULL````

Saved the database, placed it back in TB profile.

He could then
- see the home calendar events again!
- sort his calendar event invites issue (https://thunderbird.topicbox.com/groups/beta/Tcee69c120cb7f65d)
- have new event created retained in new calendar (Bug 1729664 fix not yet applied)

While the above is a possible workaround, it may not be advised to fiddle directly and manually with the sqlite DB as it may cause loss of data and discrepancy in the DB.

@Geoff, put you in copy for your information as you may be the best placed to understand why some event are set without item.id perhaps... and possibly be able to **set a routine via a patch that could automatically re-assign an item.id to any event without item.id in the local.sqlite db cal_events table** (and elsewhere where applicable)? If that is possible... Unless event with item.id NULL are *ghost* events... maybe duplicate not (properly saved?) from other events with proper item.id?

Hope the above helps the dev team fix the issue and anyone encountering it.

Regards,

Changed in thunderbird (Ubuntu):
importance: Undecided → Low
Revision history for this message
In , Wls220spring (wls220spring) wrote :

*** Bug 1734677 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Wls220spring (wls220spring) wrote :

*** Bug 1735189 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Wls220spring (wls220spring) wrote :

Anybody with this problem have calendar extensions along with "Provider for Google Calendar" or without it installed?

Try disabling them and see if it helps.

Revision history for this message
In , Wls220spring (wls220spring) wrote :

*** Bug 1735438 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Wls220spring (wls220spring) wrote :

*** Bug 1735342 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

I've used the Home empty calendar sqlite manager fix in Support Forum and had positive result.
For those directed to this bug and need more info to fix go to this link:
https://support.mozilla.org/en-US/questions/1352939

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

I have tried the above presented by ToadHall and still no tasks appear but three out of so many. They do appear to be within the local.sqlite file when opened in notepad (see bug 175342 - mine, for all details and attachments), but are not appearing in the application no matter how I set the tasks filter. In bug 175342 I attached the actual full local.sqlite files from TB 78 newly installed and TB 91, so that you can see them in notepad also along with screenshots. I seem to have main calendar, but not tasks. Thank you and I look forward to hearing from you.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to <email address hidden> from comment #74)

Bug 175342 seems unrelated, no attachment and was last updated 13 years ago... were there a typo in bug number you refer to?

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

So sorry, yes, bug is 1735342. Thank you!

Revision history for this message
In , Spikeevans (spikeevans) wrote :

I have also tried ToadHall solution, with no luck; calendar is still empty.

Revision history for this message
In , Spikeevans (spikeevans) wrote :

(In reply to spikeevans from comment #77)
> I have also tried ToadHall solution, with no luck; calendar is still empty.

I had removed the storage.sdb file to be able to add new events to the empty calendar; when I restored storage.sdb; this worked for me. Thanks much

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

(In reply to spikeevans from comment #78)
> (In reply to spikeevans from comment #77)
> > I have also tried ToadHall solution, with no luck; calendar is still empty.
>
> I had removed the storage.sdb file to be able to add new events to the empty calendar; when I restored storage.sdb; this worked for me. Thanks much

Did you get tasks or do you not use tasks?

Revision history for this message
In , Spikeevans (spikeevans) wrote :

I didn't have any tasks.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Am going to try this again (comment 78) after I re-install TB 78.1. My separate installation of TB 78.1 auto-updated to TB 91.2.0 at some point without my knowledge (note there are *no addons installed at all*) and *home calendar and tasks lost again* in that installation now. I am sure they are in the local.sqlite file as before, but not showing for whatever reason. Other calendars appear unaffected, still seem to have all events in them. No add ons, I am not syncing with any other calendars or applications. Will repeat steps as I did before to install TB 78 and remember this time to tell it not to update, set up bare profile with no email, etc., just calendars.

Before I realized the update had occurred, did try pasting in storage.sdb from a 09/22/2021 backup file, TB version unknown, with no showing tasks changes. Confirmed by changing task filtering several ways.

Note 1: Have installed TB 78.13 and imported .ics calendar into home calendar. All events and tasks show up like a champ. (No email set up, no add ons, just bare.)

**Note 2: Also installed clean TB 91.2.0 and when I tried to import .ics calendar, it appeared to just stall on "loading items" - see screenshot. Only took seconds in 78.13. Should I wait longer? Why will it not import the .ics? (exported in this format from TB)**

Note 3: Part of the problem with the TB 91 update could be the advice to import csv calendar as I opened this file by itself and noticed that it has lost a ton of data - those tasks I showed in file uploads "Call Union..." are not in the .csv.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Just performed another previous step, removed Calendar-data and prefs.js files from new clean TB 91.2.0 and pasted in those files from working TB 78.13 and VOILA! Main calndar events and tasks appeared!
So, why will these not show with the same files in the updated version of TB 91.2.0. Must have had something to do with previous addons now disabled and removed?

So, how do I move on forward from here in the most successful fashion? Updated TB 91.2.0 version has all of my email folders, etc., but no tasks and clean TB 91.2.0 has all of my tasks, but no email folders. What's the best way to get both in one, please?

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Created attachment 9246025
TB 91-2-0 stalls on import of ics 2021-10-14 507pm.pdf

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

I have attached complete screenshots of all files in each version of TB 91.2.0, updated version and clean new version.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Created attachment 9246026
Clean TB 91-2-0 profile files screenshot 2021-10-14.pdf

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Created attachment 9246027
Updated TB 91-2-0 profile files screenshot 2021-10-14.pdf

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

TB 78.13 clean bare profile with calendar and tasks showing updated to 78.14, restarted successfully with no issues, data appears intact.
TB 78.14 clean bare profile with calendar and tasks showing updated to 91.2.0 (next update offered in help/about), restarted successfully with no issues, data appears intact.
Update without addons wonderful regarding calendar and tasks. Again, though, if I set up my email in this or the clean 91.2.0, my email folders will not be there, correct? So, how do I get them over here, ideas, please?

Revision history for this message
In , Spikeevans (spikeevans) wrote :

Although ToadHall 's solution brought back my calendar, I'm not getting any notifications of events. I have check that thunderbird preferences are all set to do notifications.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Hmmm, I am getting reminders for previous events so far. Just set a new test one to see and that worked as well. However, as this step alone did not work for me, after I did it, I also did that to a local.sqlite in a back up file, then took the entire Calendar-data folder with this local.sqlite file within it and the prefs.js file (following another recommendation) and pasted it into TB 91. That seemed to work wonderfully, though my tasks did not all appear.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

Odd, I am finding that neither the separate TB 78.13 updated to TB 91.2.0 bare profile nor the clean TB 91.2.0 want to import .ics calendars although they see that format for import and they will export to that format?! They just sit and spin.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to <email address hidden> from comment #81)
> **Note 2: Also installed clean TB 91.2.0 and when I tried to import .ics calendar, it appeared to just stall on "loading items" - see screenshot. Only took seconds in 78.13. Should I wait longer? Why will it not import the .ics? (exported in this format from TB)**

That is likely due to Bug 1727938 where calendar failed to import because it contains tasks.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

I have the main/ home calendar that had the associated tasks showing in these two new installations which appeared after pasting in back up calendar-data folder and prefs.js file. They however, will not import the other three calendars, at least one of which only has events, no tasks.

My original installation (a third) which is original installation at least 8 years old progressively updated, had incompatible addons now disabled and removed, has all calendars and events, but not the tasks. I will not use addons moving forward as this has been a bit of a disaster and also no longer seems needed. I really love Thunderbird email, calendar, and tasks. I am trying to get one version that has everything, all calendars, all tasks, all email folders.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

(In reply to Richard Leger from comment #91)
> (In reply to <email address hidden> from comment #81)
> > **Note 2: Also installed clean TB 91.2.0 and when I tried to import .ics calendar, it appeared to just stall on "loading items" - see screenshot. Only took seconds in 78.13. Should I wait longer? Why will it not import the .ics? (exported in this format from TB)**
>
> That is likely due to Bug 1727938 where calendar failed to import because it contains tasks.

Well if the calendar you are trying to import only contains events (no task) it should work in theory.
Also are you sure the the calendar contains no tasks? Have you open the .ics file in a text editor and make sure no VTODO appears listed?

Was the .ics file generated via a TB export?
Is it well formed (https://icalendar.org/validator.html)? Could it be incomplete due to something happening during export...
I suppose yes because they seems to import fine in 78.

You mention it says "loading items" have you tried to wait a long time, even half an hour or more and see if the calendar gets loaded?
Could TB be doing it but at a very very slow pace?

Moving manually Calendar-data and pref.js is not without risk especially if from a different profile because calendar are affected IDs and any mismatch may cause items to disappear(or not appear)... Maybe also try to disable the calendar and re-enable it, that may refresh local calendar... sometime artefact appears due to the offline support... mainly with network calendars...

Are all your calendars local calendars? If your calendars are network calendars, instead of using export/import, it would be better to re-set them up as network calendar in the new profile and re-sync them from the server...

What I would suggest is to re-test import in 92.2.0 (or which ever is the last ESR) with the .isc file you could import in 78... in a new empty profile with only one calendar in it. Disable the calendar. Open the error console (CTRL+SHIFT+J), clear it by clicking the trash icon. Enable the calendar. Then run the import. Do any error appears in the console?

Revision history for this message
In , Conft (conft) wrote :

I got my calendar entries to re-appear after upgrading from 78.14.0 (64-bit) to 91.2.0 (64-bit). Win 10 21H1. On 78.14, I deleted the few tasks I had as per the above remark, and exported the calendar to Home.ics. After the 91.2 upgrade, my Home calendar was empty. I then added a new local calendar Junk1, and then successfully imported the Home.ics file to Junk1. I have only ever used one local calendar (Home) for years now. And yes, I am one of those errant profile file replace folks as I replicate my email from machine to machine (and from Linux to Windows a while back).

I am also now able to add calendar entries to Junk1, and they do not disappear on a Thunderbird exit / reload (as they did before when my Home local calendar had no entries after the 91 upgrade). And add new tasks. Events and tasks added to the Home calendar (when Junk1 is hidden) still disappear on a reload.

If I try to import the same Home.ics file to the empty local Home calendar, the import dialog shows no progress what so ever (stalls) after selecting 'Import All'; and selecting an 'Import Event' also stalls. By stalling, I mean the 'Import All' button becomes washed out, and the progress bar shows no activity. Importing into the Junk1 calendar happened in like 3 seconds. So I don't think it's a performance thing. Also based on watching the memory and CPU activity of Thunderbird in the Task Manager over like 20 min, just in case.

So how do I move all the Junk1 calendar entries back to my local Home calendar please?

Revision history for this message
In , Conft (conft) wrote :

This issue is closed for me. I uninstalled 91.2.0, deleted the Roaming>Thunderbird directory, and re-installed 91.2.0. I was then able to import my 78.14.0 Home.ics file into the default Home calendar. Then I just had to re-add my few tasks. And also import my address book .csv files. And copy in all my years of saved Local Folders.

Rather a pain to re-create my email accounts and set all the preferences like I wanted them, but now I have all that documented. Thanks to Richard for the hint on deleting the VTODO entries. That .ics file did not import; it just completed this time with no entries in the Home calendar. My lesson learned was to back up my calendar and address books before an update (or a new install), empty my inbox to a Local Folder, and to stop overwriting the preference files, etc. Back on the normal update path now, and happy to be using Thunderbird.

Revision history for this message
In , Rimersburgboro (rimersburgboro) wrote :

I am afraid that if I enter manually all of my tasks, I will have issues going forward if I use the original installation of TB that has been gradually updated.
*How can I get my email folders and address book into the clean install of TB 91.2.0, please? My home/ main calendar and tasks are showing in this one and, most importantly, it has never had any addons installed within it.

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

(In reply to <email address hidden> from comment #96)
> *How can I get my email folders and address book into the clean install of TB 91.2.0, please? My home/ main calendar and tasks are showing in this one and, most importantly, it has never had any addons installed within it.

This forum is specifically for reporting bugs and providing information regarding that bug. It is not a Support Forum.
Please create a question regarding this request for Support in the Thunderbird Support forum and then post a link to it in this forum.
https://support.mozilla.org/en-US/questions/new/thunderbird/form

Revision history for this message
In , Vseerror (vseerror) wrote :

Apologies, but this bug report has become unmanageable - it is too difficult to distinguish what is add-on specific from what is not, and therefore progress is going to be impossible. So we are going to close this bug and start fresh in order to help move your individual issues forward.

If you have the provider add-on installed and you are still having trouble, please file an issue at https://github.com/kewisch/gdata-provider

If you do NOT have the provider add-on installed and you have a bug report that was duplicated to this bug, if you still have a problem then please reopen that original bug report.

Otherwise, if you have a problem and you do NOT have the provider add-on installed, please file a new bug report.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

Wayne please re-read comment 67, this bug is clearly about local home calendar being empty following upgrade due to:

````
TypeError: item.id is null (24 times)
CalStorageCalendar.jsm:2252:9
````

add-on issue was a separate one that was early repored fixed via remove/re-add the add-on.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

Both the following shall fix the issue a priori:

Bug 1729664 Comment 13
and
Bug 1727938 Comment 16

But it is hard to tell as the local home calendar empty issue upon upgrade is very hard to reproduce at will.
Only an affected user waiting for available update could confirm.

Also it remain unclear why the following error appeared in the first place nor if any of the patch would fix the issue other than a workaround/band-aid...

````jy
TypeError: item.id is null (24 times)
CalStorageCalendar.jsm:2252:9
````

Revision history for this message
In , Anjeyelf (anjeyelf) wrote :

(In reply to Wayne Mery (:wsmwk) from comment #98)
> Apologies, but this bug report has become unmanageable - it is too difficult to distinguish what is add-on specific from what is not, and therefore progress is going to be impossible. So we are going to close this bug and start fresh in order to help move your individual issues forward.
>
> If you have the provider add-on installed and you are still having trouble, please file an issue at https://github.com/kewisch/gdata-provider
>
> If you do NOT have the provider add-on installed and you have a bug report that was duplicated to this bug, if you still have a problem then please reopen that original bug report.
>
> Otherwise, if you have a problem and you do NOT have the provider add-on installed, please file a new bug report.

I did file a bug report purely regarding the Home Calendar
bug 1729664

The report was intially made because people found added events were deleted upon reopening. However, it was also discovered in these cases, that the Home calendar was empty. So in effect the problem was the update showed an empty Home calendar, so users tried to create an event and it would not stay if Thundervird was closed, so in effect a bug report already exists.

I suggest it is modified and used - if you feel a separate bug is required.

Some work was undertaken regarding the null entry - so it is possible the local.sqlite issue could have been resolved in bug 1729664 but I suppose time will tell if it works.

Changed in thunderbird:
status: Confirmed → Invalid
Revision history for this message
In , Worcester12345 (worcester12345) wrote :

(In reply to Anje from comment #101)
> (In reply to Wayne Mery (:wsmwk) from comment #98)
...
> I suggest it is modified and used - if you feel a separate bug is required.
>
> Some work was undertaken regarding the null entry - so it is possible the local.sqlite issue could have been resolved in bug 1729664 but I suppose time will tell if it works.

How much time? I'd say it should be pretty quick to know one way or the other.

"FIXED/WORKSFORME/REOPEN"?

Revision history for this message
In , Vseerror (vseerror) wrote :

Certainly the blank calendar needs a solution if it is not yet resolved. I leave it to Richard and Anje to decide whether the bug continues and how to most efficiently proceed - whether this bug report should be reopened, or deserves a new new bug report.

Revision history for this message
In , Richard Leger (richard-leger) wrote :

As some work was undertaken regarding the null entry, I would suggest FIXED. If someone still encounter the calendar empty issue upon upgrade with newer version of TB then opening a separate follow up bug may be best to further investigate, referencing this bug for info. Unless anyone has objections and further useful feedback to help fix what ever remaining issue may have been left behind.

Revision history for this message
Tero Gusto (tero-gusto) wrote :

Forgive me if this is not the bug in question here (I didn't read the whole thread) but I found this issue while searching for a resolution to a lost calendar, and I thought I would share my solution, in case anyone else encounters the same problem.

I have an old Thunderbird installation, in which I never used the Calendar before.

I couldn't find the Calendar anywhere, even though it should be part of Thunderbird. I finally managed to get Calendar working, but not sure which of these steps did it, so sharing them all:

WARNING: This will delete everything from your Calendar, so only do this for a fresh start.

- Removed a couple of old Calendar lines from prefs.js
- Deleted all folders and files inside the /calendar-data folder
- Set Offline to "On" (wasn't set) under Edit-Preferences
- Added Calendar icon at the top (Views-Toolbars-Customize) clicked and added a calendar

Now "Events and Tasks" are shown in the menu at the top (I am pretty sure it was missing) and I have a working Thunderbird Calendar.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.