Closed Bug 1908299 Opened 4 months ago Closed 3 months ago

[flatpak]got downgraded from esr128.0 to 115.13.0

Categories

(Thunderbird :: Build Config, defect)

defect

Tracking

(thunderbird_esr115 fixed, thunderbird_esr128 unaffected)

RESOLVED FIXED
130 Branch
Tracking Status
thunderbird_esr115 --- fixed
thunderbird_esr128 --- unaffected

People

(Reporter: michael, Assigned: dandarnell)

References

Details

Attachments

(6 files)

Steps to reproduce:

a few days ago, Thunderbird update to 128esr was available via flatpak and was installed by me.

Actual results:

today it was downgraded to 115.13.0 and I can not open thunderbird, because of the profiles version mismatch (profiles where modified by a thunderbird version newer than the running one)

Expected results:

actually I think - no downgrade.

As a workaround, you can revert to the 123esr commit :
Run from commandline:

flatpak update --commit=2151b1e101f1266d135040c142f4c36a7e3373dc772e75a509a38efc39ded993 org.mozilla.Thunderbird

perhaps related: https://bugzilla.mozilla.org/show_bug.cgi?id=1907354

Right, profile downgrade is generally not supported.
(Though no biggies this time IIRC, so starting with `--allow-downgrade' will let you through.)

Of course, you shouldn't have got downgraded in the first place.

Component: Untriaged → Build Config
Summary: [flatpak] profiles not accessible after got downgraded from esr128.0 to 115.13.0 → [flatpak]got downgraded from esr128.0 to 115.13.0

When "reverting" to the 128esr commit, one probably also wants to revert the Locale with

flatpak update --commit=cbb56c7054d2893acf77b5cdfd0adc0588adc090edb49a92d79ac6e8f7983ad4 org.mozilla.Thunderbird.Locale

?!

Seeing this on my workstation also - tried tracking this down in Mercurial, but not too sure how this hangs together. Some breadcrumbs to help troubleshooting.

$ flatpak history --since 2024-07-01 | grep org.mozilla.Thunderbird
Jul 12 06:12:24	pull	org.mozilla.Thunderbird.Locale	stable	user	flathub
Jul 12 06:12:24	deploy update	org.mozilla.Thunderbird.Locale	stable	user	flathub
Jul 12 06:12:38	pull	org.mozilla.Thunderbird	stable	user	flathub
Jul 12 06:12:38	deploy update	org.mozilla.Thunderbird	stable	user	flathub
Jul 17 21:24:42	pull	org.mozilla.Thunderbird.Locale	stable	user	flathub
Jul 17 21:24:42	deploy update	org.mozilla.Thunderbird.Locale	stable	user	flathub
Jul 17 21:25:31	pull	org.mozilla.Thunderbird	stable	user	flathub
Jul 17 21:25:31	deploy update	org.mozilla.Thunderbird	stable	user	flathub
$ flatpak info org.mozilla.Thunderbird

Thunderbird - Thunderbird is a free and open source email, newsfeed, chat, and
calendaring client

          ID: org.mozilla.Thunderbird
         Ref: app/org.mozilla.Thunderbird/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 115.13.0
     License: MPL-2.0
      Origin: flathub
  Collection: org.flathub.Stable
Installation: user
   Installed: 269.9 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: c2e09fc595198cf5c467ddad1fab56c0be512758584e16c3b933f2410968306a
      Parent: 2151b1e101f1266d135040c142f4c36a7e3373dc772e75a509a38efc39ded993
     Subject: Export org.mozilla.Thunderbird
        Date: 2024-07-16 18:58:52 +0000

Flathub is listing the manifest for the current version as being located at this commit:
https://hg.mozilla.org/releases/comm-esr115/file/85c8ebd131c55b840be099821f0db29c3fd10943/taskcluster/docker/tb-flatpak/runme.sh

This is fixed now?

Flags: needinfo?(daniel)

(In reply to Jakob Meng from comment #3)

When "reverting" to the 128esr commit, one probably also wants to revert the Locale with

flatpak update --commit=cbb56c7054d2893acf77b5cdfd0adc0588adc090edb49a92d79ac6e8f7983ad4 org.mozilla.Thunderbird.Locale

?!

I don't think this is needed. I did not do this and it seems fine. Looks to me that updating org.mozilla.Thunderbird updated org.mozilla.Thunderbird.Locale too.

-Chris

Assignee: nobody → daniel
Flags: needinfo?(daniel)
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

The flatpak on Flathub has been fixed. The patch is to prevent the 115 release channel from getting pushed to Flathub in the future.

Comment on attachment 9413403 [details]
Bug 1908299 - Disable flatpak pushing for comm-esr115. r=#thunderbird-build-system-reviewers

[Approval Request Comment]
User impact if declined: The wrong release channel will be pushed to Flathub
Risk to taking this patch (and alternatives if risky): Very low

Attachment #9413403 - Flags: approval-comm-esr115?
Duplicate of this bug: 1908307
Duplicate of this bug: 1908450
Duplicate of this bug: 1908390
Attached image Profiles.png

So how do I fix it please. I now seem to have 2 Profiles - image attached

Attached image jbcm9d5z.default.png

I now appear to be running :
128.0esr (64-bit)
Release notes
Mozilla Thunderbird Flatpak en-USthunderbird-flatpak - 1.0

Size of 2 Profiles attached.
Both appear to be being updated!!
One has 1,044 items
One has 482 items

Is this totally messed up?

Start with thunderbird -p to select the profile you want. Also available from Help | Troubleshooting Information | about:profiles

thunderbird -p Did nothing at all:

dave@dave-ThinkCentre-M92p:$ thunderbird -p
Command 'thunderbird' not found, but can be installed with:
sudo apt install thunderbird
dave@dave-ThinkCentre-M92p:
$

Attached image Updates 17th July.png

I appear to have received 2 updates yesterday (Image attached).
Is this why I now have 2 profiles?

(In reply to Dave from comment #19)

thunderbird -p Did nothing at all:

dave@dave-ThinkCentre-M92p:$ thunderbird -p
Command 'thunderbird' not found, but can be installed with:
sudo apt install thunderbird
dave@dave-ThinkCentre-M92p:
$

As this is a flatpak, you need to do it as this
flatpak run org.mozilla.Thunderbird -p

Sorry I don't fully understand this.
I now have 2 profiles:
24w23mdc.default-esr : 508 items, updated Thu 18 Jul 2024 14:14:33 BST
jbcm9d5z.default : 1,044 items, updated Wed 17 Jul 2024 10:19:23 BST

And I installed updated 2 updates both on 17th July.

  • Which is which (I assume jbcm9d5z.default was my existing profile)
  • how do I remove one and re-install my contacts/calendar?
  • will I lose some of my emails?
  • which one should I be updating ?

I'm by no means a Linux expert, so would appreciate some simple guidance about what I should do?
All I did was install the 2 updates they were sent to me. I then got the message that I needed to create a new profile as the old one was not compatible.
What happened please? Was this an error in you releasing the wring update?
I assume this would/could have happened to many users?

You'd have to start with one to see which is which.
Contacts/calendars should be there once you start with the right profile.
If imap, no mails lost. If pop3, and you have it set to immediately delete from server, you'll have to manually copy over messages from the extra profile
I'd imagine you want to use the profile you've been using longer.

So how do I "Start with the right profile"?
jbcm9d5z.default : 1,044 items, updated Wed 17 Jul 2024 10:19:23 BST was my old profile
24w23mdc.default-esr : 508 items, updated Thu 18 Jul 2024 14:14:33 BST is being updated when any new email arrives.

What EXACTLY do I need to do please?

First, make a backup of your .thunderbird folder (copy or zip it)
regarding the item count and dates from your comment (25), I asume jbcm9d5z was your origin profile.

Start thunderbird via: flatpak run org.mozilla.Thunderbird -p --allow-downgrade
In the upcoming window, mark the default (without esr) profile, and check the "Use selected profile ... " and click "Start Thunderbird"

If my assumptions are correct, your fine now.
If you configured a POP3 E-Mail-Account in your profile and fetched some mail since this profile mess, you have to copy these messages over to your correct profile, as Magnus mentioned.

Attached image profile selection

Micheal - Thank you so much , it worked a treat and all Calendar entries and Contacts have been restored.

You're welcome :-)

flatpak offering 128esr again. Is it save to upgrade now?

(In reply to michael from comment #30)

flatpak offering 128esr again. Is it save to upgrade now?

It is

Thank you very much!

Comment on attachment 9413403 [details]
Bug 1908299 - Disable flatpak pushing for comm-esr115. r=#thunderbird-build-system-reviewers

[Triage Comment]
Approved for esr115

Attachment #9413403 - Flags: approval-comm-esr115? → approval-comm-esr115+

While this issue is being explored, I would like to downgrade to 115.13 and restore a backup that will have all my Sent emails. What is the correct procedure to downgrade from 128.0.1esr to 115.13 and have 115.13 use my existing profile?

BTW, I tried installing 115.13 thinking that alone would downgrade the 128 version, but the install created a new profile instead so that I had both versions installed. I did not want that so I uninstalled the 115.13 and am back to only 128.0.1esr.

Please disregard my above post. I posted it in the wrong bug report and can't see how to delete it.

This bug is done, no?

Flags: needinfo?(daniel)
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Flags: needinfo?(daniel)
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: