Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2025 02:17:20 +0000
From:      Richard Childers <childers@redwoodhodling.com>
To:        freebsd-ports@FreeBSD.org
Subject:   FreeBSD 14.2; Thunderbird 128.6; Chromium, Iridium, etc
Message-ID:  <9d21e261-e943-44df-8f84-8c2cb3ca81f8@redwoodhodling.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------kpXYsOEw8blsyFFrKYIoFxci
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Dear folks,


I just upgraded from 13.3 to 14.2. Maybe I missed the memo; but moving 
home directories from /usr/home back to /home broke Thunderbird, it 
couldn't find my folders.


(When I say 'upgrade', I mean 'install an up-to-date version of FreeBSD 
on a different laptop, install up-to-date applications, rsync my home 
directory to the new install, then make the jump'. Not freebsd-update(8).)


The fix is to edit these two text files:


/home/LOGIN/.thunderbird/????????.default/folderCache.json

/home/LOGIN/.thunderbird/????????.default/prefs.js


... where '????????' represents 8 
Thunderbird-assigned-at-the-time-of-account-creation random ASCII 
characters that seem to represent a unique ID.


If you've done this a few times your files may be quite old and contain 
references to accounts that you no longer use but a global 
search-and-replace should not damage these definitions either as if they 
still exist their paths will need to be updated as well, and if the 
folders no longer exist then you may safely engage in some housekeeping 
and delete those other lines.


Here's hoping it helps those of us with not much hair to spare to avoid 
ripping out what is left, in frustration, after an upgrade.


The output from 'pkg add -y thunderbird' is pretty sparse - less then 
ten lines. Not complaining but that might be a good place to put hints 
for administrators overseeing the upgrade - it's not done until the 
users can read and write email.


'thunderbird --help' refers to something called a "Migration Manager" 
but I could find no documentation on this from the command line; 
Thunderbird has no online UNIX manual page, alas.


You may also find Chromium to be uncooperative; if it was running when 
you did your rsync, then you will have to remove the following file 
before it will start on the new machine:


% rm -f .config/chromium/SingletonLock


You may as well remove them all:


% rm -f .config/chromium/Singleton*


You might even want to do this:


% rm -f .config/*/Singleton*


... that will fix Iridium and ungoogled-chromium, too.


Regards,


~richard


=====


More info: https://www.redwoodhodling.com/Exhibits/

See, also: https://www.redwoodlinux.com/RaspiLab/

See, also: 
https://www.gofundme.com/f/support-innovative-raspberry-pi-classroom-project 




--------------kpXYsOEw8blsyFFrKYIoFxci
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>
    </p>
    <div class="moz-text-flowed"
      style="font-family: -moz-fixed; font-size: 12px;" lang="x-unicode">Dear
      folks,
      <br>
      <br>
      <br>
      I just upgraded from 13.3 to 14.2. Maybe I missed the memo; but
      moving home directories from /usr/home back to /home broke
      Thunderbird, it couldn't find my folders.
      <br>
      <br>
      <br>
      (When I say 'upgrade', I mean 'install an up-to-date version of
      FreeBSD on a different laptop, install up-to-date applications,
      rsync my home directory to the new install, then make the jump'.
      Not freebsd-update(8).)
      <br>
      <br>
      <br>
      The fix is to edit these two text files:
      <br>
      <br>
      <br>
      <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/LOGIN<span
          class="moz-txt-tag">/</span></i>.thunderbird/????????.default/folderCache.json
      <br>
      <br>
      <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/LOGIN<span
          class="moz-txt-tag">/</span></i>.thunderbird/????????.default/prefs.js
      <br>
      <br>
      <br>
      ... where '????????' represents 8
      Thunderbird-assigned-at-the-time-of-account-creation random ASCII
      characters that seem to represent a unique ID.
      <br>
      <br>
      <br>
      If you've done this a few times your files may be quite old and
      contain references to accounts that you no longer use but a global
      search-and-replace should not damage these definitions either as
      if they still exist their paths will need to be updated as well,
      and if the folders no longer exist then you may safely engage in
      some housekeeping and delete those other lines.
      <br>
      <br>
      <br>
      Here's hoping it helps those of us with not much hair to spare to
      avoid ripping out what is left, in frustration, after an upgrade.
      <br>
      <br>
      <br>
      The output from 'pkg add -y thunderbird' is pretty sparse - less
      then ten lines. Not complaining but that might be a good place to
      put hints for administrators overseeing the upgrade - it's not
      done until the users can read and write email.
      <br>
      <br>
      <br>
      'thunderbird --help' refers to something called a "Migration
      Manager" but I could find no documentation on this from the
      command line; Thunderbird has no online UNIX manual page, alas.
      <br>
      <br>
      <br>
      You may also find Chromium to be uncooperative; if it was running
      when you did your rsync, then you will have to remove the
      following file before it will start on the new machine:
      <br>
      <br>
      <br>
      % rm -f .config/chromium/SingletonLock
      <br>
      <br>
      <br>
      You may as well remove them all:
      <br>
      <br>
      <br>
      % rm -f .config/chromium/Singleton*
      <br>
      <br>
      <br>
      You might even want to do this:
      <br>
      <br>
      <br>
      % rm -f .config/*/Singleton*
      <br>
      <br>
      <br>
      ... that will fix Iridium and ungoogled-chromium, too.
      <br>
      <br>
      <br>
      Regards,
      <br>
      <br>
      <br>
      ~richard
      <br>
      <br>
      <br>
      =====
      <br>
      <br>
      <br>
      More info: <a class="moz-txt-link-freetext"
        href="https://www.redwoodhodling.com/Exhibits/">https://www.redwoodhodling.com/Exhibits/</a>;
      <br>
      <br>
      See, also: <a class="moz-txt-link-freetext"
        href="https://www.redwoodlinux.com/RaspiLab/">https://www.redwoodlinux.com/RaspiLab/</a>;
      <br>
      <br>
      See, also: <a class="moz-txt-link-freetext"
href="https://www.gofundme.com/f/support-innovative-raspberry-pi-classroom-project">https://www.gofundme.com/f/support-innovative-raspberry-pi-classroom-project</a>;
      <br>
      <br>
      <br>
      <br>
    </div>
  </body>
</html>

--------------kpXYsOEw8blsyFFrKYIoFxci--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d21e261-e943-44df-8f84-8c2cb3ca81f8>