[Desktop-packages] [Bug 2062133] Re: Migration to the snap issues

2024-04-30 Thread Pablo Angulo
As mentioned in
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2056434/comments/15
, if there is not enough free space for copying the .thunderbird folder
to its new snap location, then the migration will not be done,
thunderbird will open as new, and the user will not be notified at all.
Creating a soft link will not do. Moving the folder from ~/.thunberdird
to ~/snap/thunderbird/common/ did work.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/2062133

Title:
  Migration to the snap issues

Status in thunderbird package in Ubuntu:
  In Progress

Bug description:
  After migrating to the snap, I noticed the following:
  - the launcher icon disappeared (I guess it’s because the .desktop file is 
now "thunderbird_thunderbird.desktop"
  - the snap migration took a good 5 minutes on my machine (I guess it’s the 
copy of the email folder), without any feedbacks that something is happening if 
you don’t look at ps output. You don’t have any visual feedback about the 
migration and we should have a progress window (maybe zenity?) to reassure on 
this one time transition
  - all unread emails triggered notification (I guess it’s because the state is 
considered "New") on any folders.
  - I know have 2 15G folders now: ~/snap/thunderbird/common/ and 
~/.thunderbird. I think the latter was the old one which is unused right now 
and it should be cleaned up after the migration to the snap?

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: thunderbird 2:1snap1-0ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
  Uname: Linux 6.8.0-11-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia zfs
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Apr 18 09:28:35 2024
  InstallationDate: Installed on 2020-04-24 (1455 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SnapChanges:
   Identifiant  État  DescendancePrêt   
Résumé
   700  Done  2024-04-18T09:06:12+02:00  2024-04-18T09:07:34+02:00  
Installer le paquet Snap "thunderbird"
  SourcePackage: thunderbird
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2062133/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2056434] Re: Thunderbird profile not migrated to snap

2024-04-28 Thread Pablo Angulo
Thanks for your answer, Sebastien. I think you nailed it.
There was not enough free space to copy the profile and the profile was not 
copied.
I had tried to softlink my old profile from .thunderbird info 
snap/thunderbird/common/.thunderbird but that did not work, as I described, and 
it still doesn't.

However, moving the thunderbird profile instead of softlinking did solve
the problem.

The maybe a problem, though, since some people like myself have massive
profiles with years of emails, and users are warned about the root space
they need for the upgrade, but not the space in the home directory.
Specially if several users share the computer.

Regards

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/2056434

Title:
  Thunderbird profile not migrated to snap

Status in thunderbird package in Ubuntu:
  Fix Released

Bug description:
  Today's update installed the thunderbird snap and removed the
  thunderbird binary but it did not migrate my thunderbird profile.

  Now I don't have access to any old mails anymore.

  Looking at ~/.thunderbird:

  $ cat profiles.ini 
  [Profile1]
  Name=default
  IsRelative=1
  Path=ao6t0qef.default
  Default=1

  [InstallFDC34C9F024745EB]
  Default=ji04wv64.default-release
  Locked=1

  [Profile0]
  Name=default-release
  IsRelative=1
  Path=ji04wv64.default-release

  [General]
  StartWithLastProfile=1
  Version=2

  
  ji04wv64.default-release is the folder that should have been migrated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2056434/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2056434] Re: Thunderbird profile not migrated to snap

2024-04-24 Thread Pablo Angulo
Hello:
Thunderbird still does not migrate my profile. My system works fine after
```
apt remove thunderbird
snap remove thunderbird
dpkg -i ~/software/thunderbird_115.9.0+build1-0ubuntu0.22.04.1_amd64.deb
```
but thunderbird gets updated every day (unattended-upgrades?, snap refresh?) 
and starts fresh, ignoring my profile. I have tried to delete the 
~/snap/thunderbird folder, but it still does not migrate the profile correctly.
Any ideas?
Regards!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/2056434

Title:
  Thunderbird profile not migrated to snap

Status in thunderbird package in Ubuntu:
  Fix Released

Bug description:
  Today's update installed the thunderbird snap and removed the
  thunderbird binary but it did not migrate my thunderbird profile.

  Now I don't have access to any old mails anymore.

  Looking at ~/.thunderbird:

  $ cat profiles.ini 
  [Profile1]
  Name=default
  IsRelative=1
  Path=ao6t0qef.default
  Default=1

  [InstallFDC34C9F024745EB]
  Default=ji04wv64.default-release
  Locked=1

  [Profile0]
  Name=default-release
  IsRelative=1
  Path=ji04wv64.default-release

  [General]
  StartWithLastProfile=1
  Version=2

  
  ji04wv64.default-release is the folder that should have been migrated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/2056434/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2056668] Re: Thunderbird Snap migration loses user profile

2024-03-30 Thread Pablo Angulo
*** This bug is a duplicate of bug 2056434 ***
https://bugs.launchpad.net/bugs/2056434

Hello:

I started with the same proble.

By following that advice:

`ln -s /home/pang/.thunderbird /home/pang/snap/thunderbird/common/`

my profile does appear in the list when I run `thunderbird -P`, but then

 1. I get the following output
```
[GFX1-]: glxtest: libpci missing
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
console.error: (new UnknownError("IndexedDB: 
thunderbird/url-classifier-skip-urls getLastModified() IndexedDB:   The 
operation failed for reasons unrelated to the database itself and not covered 
by any other error code.", "resource://services-settings/IDBHelpers.jsm", 18))
[GFX1-]: glxtest: libpci missing
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
JavaScript error: resource://gre/modules/XULStore.sys.mjs, line 60: Error: 
Can't find profile directory.
```
 2. then a popup window appear with the text
```Thunderbird is already running, but is not responding. To use Thunderbird, 
you must first close the existing Thunderbird process, restart your device, or 
use a different profile.```, and an "ok" button

 3. When I click the ok button, the window closes, and thunderbird does
not raise.

Is this the same bug?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/2056668

Title:
  Thunderbird Snap migration loses user profile

Status in thunderbird package in Ubuntu:
  Confirmed

Bug description:
  TL;DR: Snap implementation is FUBAR, how do I get back to a non-SNAP
  version?

  I consider this bug to be Grave since it not only affects thunderbid,
  but also a huge number of depending other services, bug-reporting
  amongst it.

  Thunderbird Snap migration loses user profile

  With the migration from normal deb to snap all and any settings, addons, 
accounts, etc got lost.
  This is a big no-no.


  Architecture: amd64
  Version: 1:115.8.1+build1+snap2

  No LSB modules are available.
  Description:  Ubuntu Noble Numbat (development branch)
  Release:  24.04

  root@kyle:/opt/DATA/media/incoming/tmp# apt-cache policy thunderbird
  thunderbird:
Installed: 1:115.8.1+build1+snap2
Candidate: 1:115.8.1+build1+snap2
Version table:
   *** 1:115.8.1+build1+snap2 500
  500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
  100 /var/lib/dpkg/status
   1:115.8.1+build1-0ubuntu0.23.10.1 500
  500 http://archive.ubuntu.com/ubuntu mantic-updates/main amd64 
Packages
  500 http://security.ubuntu.com/ubuntu mantic-security/main amd64 
Packages
   1:115.3.1+build1-0ubuntu1 500
  500 http://archive.ubuntu.com/ubuntu mantic/main amd64 Packages

  neuffer@kyle:~$ ls -la ~/.thunderbird/
  total 28
  drwx--  5 neuffer neuffer 4096 Okt  7  2019  .
  drwxr-x--- 26 neuffer neuffer 4096 Mär 10 11:09  ..
  drwx-- 17 neuffer neuffer 4096 Mär  5 17:50  8ru3o2xn.default
  drwx--  4 neuffer neuffer 4096 Mär  5 15:58 'Crash Reports'
  -rw-rw-r--  1 neuffer neuffer   45 Okt  7  2019  installs.ini
  drwx--  2 neuffer neuffer 4096 Apr  2  2019 'Pending Pings'
  -rw-rw-r--  1 neuffer neuffer  166 Okt  7  2019  profiles.ini
  neuffer@kyle:~$ 


  neuffer@kyle:~$ thunderbird --ProfileManager
  _IceTransSocketINETConnect() no usable address for kyle:44955
  [GFX1-]: glxtest: libpci missing
  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.
  ATTENTION: default value of option mesa_glthread overridden by environment.
  [Parent 27516, Main Thread] WARNING: Failed to mkdir 
/home/neuffer/snap/thunderbird/450/.config/ibus/bus: Not a directory: