Results 1 to 10 of 10

Thread: Thunderbird Profile During 20.04-22.04 Install, lost email

  1. #1
    Join Date
    Nov 2023
    Beans
    8

    Thunderbird Profile During 20.04-22.04 Install, lost email

    Been using Ubuntu for years. Recently installed UbuntuStudio 22.04 on 2nd OS Partition of external USB HD. /home resides on another partition specifically created to avoid data loss during upgrades/installs. I had recently backed up entire HD to another external HD, though not immediately prior to install. I think I've had a few weeks of email downloaded since backup. Don't recall the email details except that I was setup to download email from my ISP's email server to my local drive upon connection. Upon initial use of Thunderbird on newly installed 22.04, I was surprised to find my local email directory structure missing, along w/ it's content. The new Thunderbird is at 115.4.1. I don't recall reading anything about steps to preserve Thunderbird email in the installation notes I had read. I gather Thunderbird replaced my ~/.thunderbird directory structure. Wondering now how I go about merging the old and new email and directory structures, and what other gotcha's await as I begin using the other apps w/ data in /home.

    Did I select the wrong option when installing Ubuntu as to reusing /home? Should there have been a better description of the installation option?

    Appreciate any time and effort anyone may give me on the matter. After composing above I'm now thinking perhaps a Thunderbird forum would have been a better choice, though the heads-up to Ubuntu installers is also worthwhile.

    Thank you.
    Last edited by darklord-dr; November 21st, 2023 at 02:12 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    Before doing anything major, like replacing an OS, certainly you've seen people strongly suggest backing up anything you don't want to lose, right?

    Because we weren't there watching your install choices, we don't know what you may have done wrong, if anything. If everything else in your HOME was lost too, then I suspect it was a checkbox in the disk setup that say "Format Partition" or "format file system" - something like that.

    OTOH, if other things are still there, perhaps the Thunderbird files are too. In 22.04, didn't Thunderbird switch from being a .deb package to being a snap package? Snaps store data in a different place. I specifically switched off Ubuntu desktops to avoid the snap fiasco that has taken hold inside Canonical, so I don't know, but I'd be surprised if there wasn't a method to import all the old Thunderbird profile/data into a snap area for use. That would be the line of questions I'd trace. https://forum.snapcraft.io/t/thunder...l-folder/31976 has the same question, but no answer I see.
    https://discourse.ubuntu.com/t/thund...-snap/19156/13 is another.

  3. #3
    Join Date
    Nov 2023
    Beans
    8

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    I definitely would not have checked anything that suggested reformatting the /home partition or file system. Thunderbird appears to have been sourced from .deb, and would have been part of UbuntuStudio distribution. I don't recall the exact verbiage, but I do recall a check box referring to "/home", I think it referred to "reusing /home", which I interpreted to mean that the install would not create a fresh /home tree. I did back up the drive weeks ago, believing the point of a separate /home partition was to protect it from OS installs/upgrades, and protect '/' from being filled by "user" activity. This is a one-user home system. However, lesson learned as to the immediacy and scope of backup. At this point, I believe the Ubuntu install blitzed my /home directory, and I have to believe that in so doing if it was due to a user selectable option, that that option was unaccompanied by adequate clarity as to the function about to be performed. I thank you for your input. I encourage the packagers/coders of the install package to revisit any such option presentation and/or related processing. This install was from the UbuntuStudio 22.04 Live USB. I suspect the "Studio" portion has nothing to do with it.

    apt policy thunderbird
    thunderbird:
    Installed: 1:115.4.1+build1-0ubuntu0.22.04.1
    Candidate: 1:115.4.1+build1-0ubuntu0.22.04.1
    Version table:
    *** 1:115.4.1+build1-0ubuntu0.22.04.1 500
    500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
    500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
    100 /var/lib/dpkg/status
    1:91.8.0+build2-0ubuntu1 500
    500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
    Last edited by darklord-dr; November 21st, 2023 at 05:05 AM.

  4. #4
    Join Date
    Nov 2023
    Beans
    8

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    Clarification, my /home directory structure was NOT entirely blitzed. So far, normal "user" files appear to be intact, with only the "."-hidden portion of the tree having been affected. I think I'll restore the other elements of that tree from my backup before re-installing their related packages and see what happens upon each initial instantiation.

    I think my email is the only portion of the /home path that would have suffered significant loss in this event.
    Last edited by darklord-dr; November 21st, 2023 at 05:10 AM.

  5. #5
    Join Date
    Nov 2023
    Beans
    8

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    Update: I've since discovered the following new directory in my /home directory: "dotfiles_backup_2023-11-12_11-35-04". I did not create this. I'm thinking this was created during Ubuntu install. I've seen no reference to this in the install doc I've reviewed to now. Maybe God does look out for little children and fools.

  6. #6
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    See what is in the hidden .thunderbird folder in your home and you may find there are more than one profile folders, ie, those named <alphanumeric>.default or similar name.

    You can start thunderbird using command
    Code:
    thunderbird -p
    which will offer profiles that still exist.
    Try them one by one and you may find the old one is there with all you emails that you want.

  7. #7
    Join Date
    Nov 2023
    Beans
    8

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    I only briefly reviewed that "dotfiles_backup_2023-11-12_11-35-04" folder prior to my last post. I was falling asleep on myself and opted for bed, but I am pretty confident that it holds all my email history for which I was concerned, from its sheer size. I'll be researching the process to merge that history w/ my new "profile". I'm certainly thankful that the Ubuntu team saved me from my shortcomings, but I do believe this mechanism should have been documented in related installation documentation including the "merge" process or at least pointing to it. Again, thank you for your input. I intend to document what I learn and post it here for posterity.

  8. #8
    Join Date
    May 2010
    Beans
    3,498

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    Check ownership of your $HOME is all assigned to your user. If the files are not owned by your user then they can't be read and will show no email. You can check the files in
    Code:
    $HOME/.mozilla
    and below. make sure they are owned by your username

  9. #9
    Join Date
    Nov 2023
    Beans
    8

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    Thank you for your input.

    I've resolved my Thunderbird (115.4.1) issue by (while Thunderbird as down), backing up my "new" .thunderbird directory and then replacing it in its entirety with the backup apparently taken during my UbuntuStudio 22.04 installation named "dotfiles_backup_2023-11-12_11-35-04" (only the .thunderbird portion). I then appended that new "Inbox" (from that new backup having newly downloaded email), to my older "Inbox" now restored to my .thunderbird directory structure using "cat ~/Documents/Temp/pop.cox.net.2311231235/Inbox >> Inbox" (while in the "~/.thunderbird/p5gkks63.default-release/Mail/pop.cox.net" folder.

    However, I had done a significant amount of pre-upgrade research and had never read anything relating to the US2204 installation process backing up and recreating my /home directory "." files (hidden). I consider this a significant oversight in such installation documentation. It's possible that I missed it out of my pure ignorance, but if so, being a Sr. Systems Programmer in the mainframe arena for decades, I've gotta believe a huge number of Ubuntu users will also "miss" it. I believe a close examination of the installation package addressing that issue would benefit a significant number of users.

    I still have the balance or my hidden directory structure to deal with, but will probably wind up restoring most, if not all, of it to it's original path before reinstalling related packages.

    Thank you again for your time and input. I hope sharing my experience will benefit others surprised by this behavior, or otherwise simply dealing with merging of Thunderbird mailboxes.

  10. #10
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Thunderbird Profile During 20.04-22.04 Install, lost email

    Great news!
    Please mark as SOLVED from Thread Tools top right of the page.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •