You are not logged in.

#1 2019-12-14 18:33:49

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

[Solved] Thunderbird - Help or I die

SOLVED: The fix is here in this post
=======

OH do I ever need help.

I have been using Thunderbird/Icedove since my windows days.

I have it set up so that /home/sector11/.thunderbird/profiles.ini points to:

[InstallFDC34C9F024745EB]
Default=/media/5/Thunderbird/lvlvqzgv.default

[Profile0]
Name=default
IsRelative=0
Path=/media/5/Thunderbird/lvlvqzgv.default
Default=1

[General]
StartWithLastProfile=1
Version=2

It has lasted through, Ubuntu, Xubuntu, Crunchbang and every install of BunsenLabs until yesterday.

The files all exist:
/media/5/Thunderbird/lvlvqzgv.default
/media/5/Thunderbird/appreg
/media/5/Thunderbird/choown.icedove.txt <--> personal howto
/media/5/Thunderbird/profiles.ini
/media/5/Thunderbird/WTFunky.txt  <--> personal file

new fresh installs ... copy my backup file of /home/sector11/.thunderbird/ back to home open Tbird and BINGO all the mails and Address book.

Now I open Tbird and I cannot even see "Prefrences", I mean I click on it and = nothing.

Any T-bird gurus out there that have an idea of what I can do?

EDIT: Added solved

Last edited by Sector11 (2019-12-15 13:17:50)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#2 2019-12-14 19:01:33

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 560

Re: [Solved] Thunderbird - Help or I die

Is /home/sector11/.thunderbird a symlink to /media/5/Thunderbird/?

I had it so before. Outgrew the disk I pointed to, had to move agin. Think I moved the mail-databse a handfull of times...

You shold not synmlink subdirectories of thunderbird...


// Regards rbh

Offline

#3 2019-12-14 21:20:13

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

rbh wrote:

Is /home/sector11/.thunderbird a symlink to /media/5/Thunderbird/?

I had it so before. Outgrew the disk I pointed to, had to move agin. Think I moved the mail-databse a handfull of times...

You shold not synmlink subdirectories of thunderbird...

NO I hate symlinks.

/home/sector11/.thunderbird
has these files in it and is the same I have been using for years:

/home/sector11/.thunderbird/Crash Reports <- directory
/home/sector11/.thunderbird/Pending Pings <- directory
/home/sector11/.thunderbird/installs.ini
/home/sector11/.thunderbird/profiles.ini

/home/sector11/.thunderbird/installs.ini

[FDC34C9F024745EB]
Default=/media/5/Thunderbird/lvlvqzgv.default

/home/sector11/.thunderbird/profiles.ini

[InstallFDC34C9F024745EB]
Default=/media/5/Thunderbird/lvlvqzgv.default

[Profile0]
Name=default
IsRelative=0
Path=/media/5/Thunderbird/lvlvqzgv.default
Default=1

[General]
StartWithLastProfile=1
Version=2

And in /media/5/Thunderbird/lvlvqzgv.default I can see all the local folders .. blah blah ...

BUT when I open Thunderbird I cannot see a thing and clicking on:
Account Settings: nothing happens
Edit > Preferences: nothing happens
Address Book is Empty.

However these:

  • /media/5/Thunderbird/lvlvqzgv.default/abook.mab

  • /media/5/Thunderbird/lvlvqzgv.default/history.mab

exist,  and I can read them with a text editor, the address are in there.

and: /media/5/Thunderbird/lvlvqzgv.default/Mail/ exists with a few hundred MBs of data in various folders.


Just plain weird!  Has NEVER failed me through, various Ubuntu installs, Xubuntu, various #! installs and every BL install.  In fact I have had up to 3 versions of Linux all reading the same /media/5/Thunderbird/lvlvqzgv.default and never a problem.

BTW: Same as Claws-mail for "my" email ... it is working perfect.  It uses:
/media/5/CMail/


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#4 2019-12-14 22:18:35

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,248

Re: [Solved] Thunderbird - Help or I die

Start Thunderbird from a terminal and see if you get an error message.

Kind of sounds like a permissions issue, but you say you can read the files with a text editor. Can you write a test text file to any of those locations?


You must unlearn what you have learned.
    -- yoda

Offline

#5 2019-12-14 22:39:02

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,902

Re: [Solved] Thunderbird - Help or I die

Is your fresh install based on Helium or experimental Lithium? Is apparmor enabled? It is enabled by default in Buster/Lithium; with that, no profiles outside of $HOME/.thunderbird will be allowed (see https://bugzilla.mozilla.org/show_bug.cgi?id=1437293, https://bugs.debian.org/cgi-bin/bugrepo … ug=882218). Do you see some apparmor messages in dmesg when launching thunderbird?


Per aspera ad astra.

Offline

#6 2019-12-15 01:03:18

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

PackRat wrote:

Start Thunderbird from a terminal and see if you get an error message.

Kind of sounds like a permissions issue, but you say you can read the files with a text editor. Can you write a test text file to any of those locations?

No error in a terminal.
And when I close Thunderbird terminal returns to the prompt clean

I am the owner of both directories with read write privileges:

/home/sector11/.thunderbird/test.txt <- text says Hi PackRat
/media/5/Thunderbird/PackRat-TEST <- created a ditectory
/media/5/Thunderbird/packrattest.txt <- text reads "hello there"


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#7 2019-12-15 01:30:23

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

twoion wrote:

Is your fresh install based on Helium or experimental Lithium? Is apparmor enabled? It is enabled by default in Buster/Lithium; with that, no profiles outside of $HOME/.thunderbird will be allowed (see https://bugzilla.mozilla.org/show_bug.cgi?id=1437293, https://bugs.debian.org/cgi-bin/bugrepo … ug=882218). Do you see some apparmor messages in dmesg when launching thunderbird?

Pure Helium.
No apparmor

 14 Dec 19 @ 22:09:36 ~
   $ ser apparmor
alias ser = aptitude search
p   apparmor                                        - user-space parser utility for AppArmor                    
p   apparmor-easyprof                               - AppArmor easyprof profiling tool                          
p   apparmor-notify                                 - AppArmor notification system                              
p   apparmor-profiles                               - profiles for AppArmor Security policies                   
p   apparmor-profiles-extra                         - Extra profiles for AppArmor Security policies             
p   apparmor-utils                                  - utilities for controlling AppArmor                        
p   dh-apparmor                                     - AppArmor debhelper routines                               
p   fwknop-apparmor-profile                         - FireWall KNock OPerator - Apparmor profile                
p   libapache2-mod-apparmor                         - changehat AppArmor library as an Apache module            
p   libapparmor-dev                                 - AppArmor development libraries and header files           
p   libapparmor-perl                                - AppArmor library Perl bindings                            
i   libapparmor1                                    - changehat AppArmor library                                
p   libpam-apparmor                                 - changehat AppArmor library as a PAM module                
p   python-apparmor                                 - AppArmor Python utility library                           
p   python-libapparmor                              - AppArmor library Python bindings                          
p   python3-apparmor                                - AppArmor Python3 utility library                          
p   python3-libapparmor                             - AppArmor library Python3 bindings                         
 
 14 Dec 19 @ 22:09:43 ~
   $ 

Sounds like we are loosing a little more control over our own system.

This, from the first link, seems a little confusing to me:

I spent some time on debugging. Starting thunderbird without any profile worked; a new profile was created. It also worked when I copied, without any changes, my profile from /data/username/thunderbird to /home/username/.thunderbird/username-profile and configured /home/username/.thunderbird/profiles.ini to:
[General]
StartWithLastProfile=1

[Profile0]
Name=username
IsRelative=1
Path=username-profile
Default=1

Does this mean I have to bring:
/media/5/Thunderbird/
to
/home/sector11/.thunderbird

The "profile,ini" in /media/5/Thunderbird/ is not used and has not been used in years it still has:

Path=/media/5/Icedove/lvlvqzgv.default

But it sounds like moving everything back to ~/.thunderbird is going to be a must.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#8 2019-12-15 13:13:46

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

@ everyone - special mention to twoion for the links.  THANK YOU!!!!

Looking at my previous post it looks like there is a way to get T-Bird to read to/from my:

/media/5/Thunderbird

HOWEVER a sneak preview of this "apparmor" tells me it will not be possible in the future.

Which tells me I must get Claws-mail back to ~/ as well.  BUMMER THAT.

Here's what happened this morning ...

I renamed /home/sector11/.thunderbird to /home/sector11/.thunderbird-old

Fired up T-Bird, it created a NEW ~/.thunderbird and asked for account information.
Gave it my wife's gmail account info and BINGO! I have IMAP account back for her.
Closed T-Bird

Copied:
FROM old location at /media/5: /Mail/ OVERWRITING new location at ~//Mail/
FROM old location abook.mab and history.mab OVERWRITING those files in ~/.thunderbird

ALL old emails dating back to pre-2010 that we wanted kept are here
ALL our addressed are back as well

A HUGE Thank You to all - ya saved my bacon!

Last edited by Sector11 (2019-12-15 19:36:29)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#9 2019-12-15 15:27:19

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 956

Re: [Solved] Thunderbird - Help or I die

Another thing is you can disable apparmor entirely as well if it truly interferes.

You can add apparmor=0 to kernel boot parameters, and this will turn apparmor off at least for that boot session if you want to test.


Real Men Use Linux

Offline

#10 2019-12-15 19:35:17

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

Oh nice Deepdayze

I do not have it here now but with Lithium I will and will have to learn how to deal with it.

Well, I do have this:

i   libapparmor1                                    - changehat AppArmor library

Thanks again


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#11 2019-12-15 20:56:15

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 956

Re: [Solved] Thunderbird - Help or I die

Sector11 wrote:

Oh nice Deepdayze

I do not have it here now but with Lithium I will and will have to learn how to deal with it.

Well, I do have this:

i   libapparmor1                                    - changehat AppArmor library

Thanks again

Yes it will be in Lithium but as many people have had issues with Apparmor, it's good you can disable it entirely with that kernel option I posted and no need to necessarily remove the apparmor package. If you want, you can add it to Grub so that the kernel option will be passed in automatically for it.


Real Men Use Linux

Offline

#12 2019-12-15 20:59:24

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 956

Re: [Solved] Thunderbird - Help or I die

To me Apparmor is like SElinux but a different approach.


Real Men Use Linux

Offline

#13 2019-12-17 01:33:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,144
Website

Re: [Solved] Thunderbird - Help or I die

DeepDayze wrote:
Sector11 wrote:

Oh nice Deepdayze

I do not have it here now but with Lithium I will and will have to learn how to deal with it.

Well, I do have this:

i   libapparmor1                                    - changehat AppArmor library

Thanks again

Yes it will be in Lithium but as many people have had issues with Apparmor, it's good you can disable it entirely with that kernel option I posted and no need to necessarily remove the apparmor package. If you want, you can add it to Grub so that the kernel option will be passed in automatically for it.

Anyway, @S11 if you don't want apparmor I don't think anything will break if you just uninstall it.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#14 2019-12-17 12:36:23

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

I am not 100% sure what it does and why I would need it especially is it messes with where I want to put things.

Description: user-space parser utility for AppArmor
 This provides the system initialization scripts needed to use the AppArmor Mandatory Access Control system,
 including the AppArmor Parser which is required to convert AppArmor text profiles into machine-readable
 policies that are loaded into the kernel for use with the AppArmor Linux Security Module.

Seems like it's taking the "user" out of "user-space"

Maybe I'm just old and don't understand why something that worked for years all of sudden doesn't work?

They are "my data files" after all.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#15 2019-12-17 13:40:58

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,902

Re: [Solved] Thunderbird - Help or I die

Sector11 wrote:

I am not 100% sure what it does and why I would need it especially is it messes with where I want to put things.

Description: user-space parser utility for AppArmor
 This provides the system initialization scripts needed to use the AppArmor Mandatory Access Control system,
 including the AppArmor Parser which is required to convert AppArmor text profiles into machine-readable
 policies that are loaded into the kernel for use with the AppArmor Linux Security Module.

Seems like it's taking the "user" out of "user-space"

Maybe I'm just old and don't understand why something that worked for years all of sudden doesn't work?

They are "my data files" after all.

You're clashing with apparmor here smile unlike selinux, which is based on file/object labels, apparmor only knows about paths and if a certain file is not in a certain path, like thunderbird files not in ~/.thunderbird, the apparmor policy applying to the thunderbird process will not permit the process to see them. You'd have to extend the policy to match your paths in this case.

Personally I am using firejail on firefox, thunderbird & other internet applications which operates similarly by namespacing processes and making only certain paths readable for them. I appreciate this very much because I don't trust Firefox, Thunderbird etc to not have security holes and with this, Firefox can only see and write files in ~/Downloads and not anything else. Much more important for untrusted software (proprietary stuff, like Chrome, intellij IDE, etc).

In the future, you can expect to be asked to explicitly whitelist stuff for applications. Like on macOS; even when the terminal accesses ~/Library for the first time, you'll get a OS prompt where you have to allow the process to access that security context!

The issue with desktop Linux is, that the functionality is there but not the GUI which would allow this feature to work seamlessly. Works great on servers though (=no GUI needed).


Per aspera ad astra.

Offline

#16 2019-12-17 21:30:33

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

OK, then this sound like something I need to get into ASAP .

Quick question:

Does that mean if I remove:

i   libapparmor1                                    - changehat AppArmor library

I could go back to using /media/5/Thunderbird  ??

Just a question, now that it's working again NOT going to mess with it.

Last edited by Sector11 (2019-12-17 21:32:39)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#17 2019-12-18 01:30:24

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,144
Website

Re: [Solved] Thunderbird - Help or I die

^There is a package called apparmor. You have that installed, I expect, and probably could remove it. But this libapparmor1 thing is not a dependency of that, but of systemd, so not so easy to remove. Sorry, no idea which one is affecting your Thunderbird usage.  roll


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#18 2019-12-18 01:37:53

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

No apparmor is not installed and never was here as stated in Post #7 here.

So sysd and libapparmor1 are probably the culprit.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#19 2019-12-18 03:12:37

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,144
Website

Re: [Solved] Thunderbird - Help or I die

^Ah yes, apparmor's appearance was something for Buster - but even there you'll be free to uninstall it. But that won't help if it's libapparmor1 to blame.

If it's any help, while I've got my config directory in its regular place ~/.thunderbird, all the mail is in a different location altogether (/home/shared/mail/), set inside Tbird somewhere. It's been this way for years and still (on Stretch) giving no problems. (At first it was so my wife and I could share the same mail, and worked fine, but these days she has her own gmail etc, so it's only my stuff.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#20 2019-12-18 12:19:49

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,237

Re: [Solved] Thunderbird - Help or I die

Well, I have it back in ./thunderbird exactly where "T-Bird" set itself up when I "renamed" my files.

T-Bird has alway been a "family email" client and my wife uses it for all her personal stuff.
I put claws-mail on for all my internet stuff like mail from forums etc etc.

Funny thing is Claws still uses /media/5/CMail just fine for the mail data while the config files are in the default area in accordance with:
/home/sector11/.claws-mail/folderlist.xml

    <folder type="mh" path="/media/5/CMail" sort="1" collapsed="0" name="CMail">

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

Board footer

Powered by FluxBB