You are not logged in.

#1 2018-03-09 13:46:20

pozric
Member
Registered: 2016-03-04
Posts: 112

[SOLVED] I deleted my .mozilla folder and now i cant install it again

Hey maybe you guys could help me, I was just going to delete the profile but I deleted the whole .mozilla folder in /home/user and now it doesn't work anymore at all anymore, trying to do a new install but i get this: Your Firefox profile cannot be loaded. It may be missing or inaccessible. I've tried to create a new profile and folder etc but it doesn't work, tried all possible solution's I read online but nothing is working.

Last edited by Head_on_a_Stick (2018-03-13 22:20:36)

Offline

#2 2018-03-10 02:49:35

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

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

If you deleted the .mozilla folder you can try this:

in terminal:

firefox -P

This starts the Firefox Profile Manager. You click the Create Profile button to start the wizard to create a profile, Follow the prompts to create the profile including giving a name for the profile you want to create. Let it create a default folder. Click Finish when done.

Hope this helps.


Real Men Use Linux

Offline

#3 2018-03-10 07:48:51

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

this shouldn't happen, firefox should just think that it's starting for the first time.
did you delete ~/.mozilla completely, or does that folder still exist?
if so, just rename it, or delete it completely.

and there's no reason to reinstall firefox because of that.

Offline

#4 2018-03-10 11:57:08

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

pozric wrote:

I've tried to create a new profile and folder etc but it doesn't work, tried all possible solution's I read online but nothing is working.

You need to post the actual commands that you used rather than a vague description wink

Firefox should start fine without a profile, it creates a new one when it starts.

Please open a terminal and run this command and post any output that appears:

firefox-esr

Offline

#5 2018-03-10 18:12:59

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

Hello and thanks for the responds, i did uninstall and reinstall it, it doesn't create a new profile folder, I tried the firefox -P command but all i get is Your Firefox profile cannot be loaded. It may be missing or inaccessible. I have never ever had any problems with this before, I've deleted and removed firefox before and it always created a new profile. I even tried Firefox quantum and didn't even install it just downloaded it extracted it and clicked and it worked but not anymore, its very weird. The .mozilla folder is completely deleted.

Last edited by pozric (2018-03-10 18:15:03)

Offline

#6 2018-03-10 21:23:39

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

^As HoaS pointed out, opening a terminal, running "firefox-esr" and having a look at the output might be helpful.

I think there are two directories for Firefox in userspace: ~/.mozilla and ~/.cache/mozilla. When you check those directories via File Manager, make sure the File Manager shows hidden files.

Otherwise you can try to remove firefox again using:

sudo apt purge firefox-esr

and completely removing those two directories^, having a restart just to be sure and again:

sudo apt install firefox-esr

Offline

#7 2018-03-11 14:48:25

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

Hi and sorry to bother you further with this, but it doesn't work. When I run firefox-esr from terminal I get this : (firefox-esr:2973): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed and then  the usual : Your Firefox profile cannot be loaded. It may be missing or inaccessible. I've deleted both ~/.mozilla and ~/.cache/mozilla folders etc.

Offline

#8 2018-03-11 15:14:38

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

Can we please see the full output of:

ls -la ~
find ~/.mozilla

Offline

#9 2018-03-11 16:15:07

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

Hello again when i do find ~/.mozilla I get No such file or directory.

Offline

#10 2018-03-11 17:56:53

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

please show the actual, full output of both commands.

also, how did you install firefox?

Offline

#11 2018-03-11 21:30:32

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

Hi I installed from terminal sudo apt install firefox-esr and here is the output.

ls -la ~
total 504
drwxr-xr-x 55 root        root          4096 Mar 11 21:45 .
drwxr-xr-x  3 root        root          4096 Mar 21  2016 ..
-rw-r--r--  1 root        root          3719 Mar 25  2016 agu.log
drwx------  2 username username   4096 Feb 16 10:57 .aptitude
drwxr-xr-x  4 username username   4096 Feb 26 20:08 .audacity-data
-rw-r--r--  1 username username      0 Jul 11  2015 .bash_aliases
-rw-------  1 username username  31608 Mar 11 21:44 .bash_history
-rw-r--r--  1 username username    220 Mar 21  2016 .bash_logout
-rw-r--r--  1 username username   3515 Mar 21  2016 .bashrc
drwxr-xr-x  4 username username   4096 Mar 11 17:20 bin
-rw-r--r--  1 root        root          3140 Jul 11  2015 BunsenLabs-RELEASE.asc
drwxr-xr-x 24 username username   4096 Mar 11 15:31 .cache
drwxr-xr-x  6 username username   4096 Nov 30 05:59 .clamtk
drwxr-xr-x 72 username username   4096 Mar  2 17:07 .config
-rw-r--r--  1 username username   5121 Dec 23  2015 .conkyrc
drwx------  3 username username   4096 Mar 21  2016 .dbus
-rw-r--r--  1 username username     55 Mar 21  2016 .dmrc
drwxr-xr-x  9 username username   4096 Mar  9 00:38 Documents
drwxr-xr-x 18 username username   4096 Mar 10 20:33 Downloads
drwxr-xr-x 14 username username   4096 Nov  1 07:51 Dust An Elysian Tail
-rwxr-xr-x  1 username username    269 Dec 11 21:12 Dust.desktop
-rw-r--r--  1 username username    341 Apr  9  2016 .easyMP3Gain
drwxr-xr-x  8 username username   4096 Aug 18  2016 .flowblade
lrwxrwxrwx  1 username username     18 Mar 21  2016 .fonts -> .local/share/fonts
drwx------  4 username username   4096 Mar 11 15:21 .gconf
drwxr-xr-x 24 username username   4096 Jan 25 16:47 .gimp-2.8
-rw-r-----  1 username username      0 Mar 11 21:44 .gksu.lock
-rw-r--r--  1 username username   1326 Mar 11 22:13 .gmrun_history
-rw-r--r--  1 username username    404 Jul 11  2015 .gmrunrc
drwx------  3 username username   4096 May 31  2016 .gnome
drwx------  3 username username   4096 Mar 23  2016 .gnome2
drwx------  2 username username   4096 Mar 23  2016 .gnome2_private
drwx------  2 username username   4096 Mar 25  2016 .gnupg
drwx------  2 username username   4096 Apr 20  2016 .gphoto
drwxr-xr-x  2 username username   4096 Jan 26 02:59 .gstreamer-0.10
-rw-r--r--  1 username username    606 Mar  7 22:08 .gtk-bookmarks
drwxr-xr-x  3 username username   4096 Dec  5 10:24 .gtkpod
-rw-r--r--  1 username username    574 Nov 15  2015 .gtkrc-2.0
-rw-r--r--  1 username username    384 Nov 15  2015 .gtkrc-2.0.mine
lrwxrwxrwx  1 username username     18 Mar 21  2016 .icons -> .local/share/icons
-rw-rw-r--  1 username username     84 Mar  8  2017 .install4j
drwxr-xr-x  5 username username   4096 Dec  5 08:10 iTunes_Control
drwxr-xr-x  4 username username   4096 Mar 23  2016 .java
drwxr-xr-x 17 username username   4096 Mar  9 18:35 jd2
drwx------  3 username username   4096 Jul 17  2016 .kde
drwxr-xr-x  5 username username   4096 Jul 17  2016 kdenlive
drwxr-xr-x  4 username username   4096 Nov 28 23:44 .lastpass
drwxr-xr-x  3 username username   4096 Mar 21  2016 .local
drwxr-xr-x  2 username username   4096 Mar  8  2017 .matchbox
-rw-r--r--  1 username username      0 Mar  1  2017 mcelog.out
-rw-r--r--  1 root        root          3507 Oct  2 22:58 md5sum.txt.asc
drwxr-xr-x  3 username username   4096 Mar  8 17:33 .mono
drwx------  4 username username   4096 Jan 16 11:41 .moonchild productions
drwxr-xr-x  3 username username   4096 Jun 25  2016 .mpd
drwxr-xr-x  2 username username   4096 Dec 12 04:34 .mplayer
drwxr-xr-x  3 username username   4096 Oct 11 01:02 Music
drwx------  3 username username   4096 Mar  1  2017 .nv
-rw-r--r--  1 username username   1643 Feb  4 20:49 .nvidia-settings-rc
drwxr-x---  6 username username   4096 Aug 18  2016 .openshot
drwxr-xr-x  2 username username   4096 Mar  7  2017 .oracle_jre_usage
drwxr-xr-x 19 root        root          4096 Dec 10 00:41 oss
-rw-r--r--  1 username username     98 Jul 11  2015 .pbuilderrc
drwxr-xr-x  6 username username   4096 Nov 12 21:12 Pictures
drwx------  3 username username   4096 Mar 29  2016 .pki
drwxr-xr-x 13 username username   4096 Dec  6 04:55 .PlayOnLinux
lrwxrwxrwx  1 username username     43 Mar 23  2016 PlayOnLinux's virtual drives -> /home/username/.PlayOnLinux//wineprefix/
-rw-r--r--  1 username username    857 Jul 11  2015 .profile
-rw-r--r--  1 username username    675 Mar 21  2016 .profile~2016-03-21T19:38:14~
drwxr-xr-x  2 username username   4096 Mar 21  2016 Public
-rw-r--r--  1 username username   1110 Jan 26 00:47 Release.key
-rw-r--r--  1 root        root          1110 Sep 28  2016 Release.key.1
-rw-r--r--  1 root        root          1110 Sep 28  2016 Release.key.2
drwxr-xr-x  2 username username   4096 Mar  1  2017 .screenlayout
drwxr-xr-x  4 username username   4096 Oct  6 17:20 Soulseek Chat Logs
drwxr-xr-x  3 username username   4096 Jul  2  2016 .SoulseekQt
drwxr-xr-x  2 username username   4096 Aug 16  2016 soundKonverter
drwx------  2 username username   4096 Mar 22  2016 .ssh
drwxr-xr-x  2 username username   4096 Mar 21  2016 Templates
-rw-r--r--  1 root        root           871 Jan 17  2017 test_results
lrwxrwxrwx  1 username username     19 Mar 21  2016 .themes -> .local/share/themes
drwxr-xr-x  3 username username   4096 Jan 25 16:24 .thumbnails
drwxr-xr-x  2 username username   4096 Feb 21 09:20 tmp
drwxr-xr-x  2 username username   4096 Mar 21  2016 Videos
drwxr-xr-x  3 username username   4096 Jan 16 22:03 VirtualBox VMs
drwxr-xr-x  2 username username   4096 Apr  8  2016 .winff
-rw-------  1 username username    113 Mar 11 15:21 .Xauthority
drwx------  2 username username   4096 Mar  1  2017 .xpra
-rw-r--r--  1 username username   2715 Jul 11  2015 .Xresources
-rw-------  1 username username 132661 Dec  8 22:15 .xsession-errors.old
-rw-r--r--  1 username username    516 Sep  8  2015 .xsessionrc
-rw-r--r--  1 username username    171 Feb 27  2017 .xvkbd

Offline

#12 2018-03-11 21:50:20

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

I've just deleted ~/.mozilla and when I run firefox it just makes a new one without any complaints.

Do you still have this problem if you create a new, fresh user (for testing purposes)?

I suppose we should also see the output of

apt policy

Just in case™

Offline

#13 2018-03-12 01:29:33

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,674

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

pozric wrote:

Hi I installed from terminal sudo apt install firefox-esr and here is the output.

ls -la ~
total 504
drwxr-xr-x 55 root        root          4096 Mar 11 21:45 .         <--- this looks wrong, norm for BL instsall?
drwxr-xr-x  3 root        root          4096 Mar 21  2016 ..
-rw-r--r--  1 root        root          3719 Mar 25  2016 agu.log

That first line is suspicious; On any of my systems (Void linux, ArchLabs) that is:

drwx------ <username> <username/group>

Directories like /usr/local/bin have that sort of designation. You may have an ownership issue/conflict going on in your home directory.

Do you have (can you create) another username you can log into and check the "ls -la" for that and see if firefox-esr runs for that user?

Last edited by PackRat (2018-03-12 12:58:31)


You must unlearn what you have learned.
    -- yoda

Offline

#14 2018-03-12 12:56:43

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

^Yeah, that line is the same here, I can confirm. Wrong permissions might explain why Firefox could not open a Profile from userspace.

Offline

#15 2018-03-12 13:01:34

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,674

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

martix wrote:

^Yeah, that line is the same here, I can confirm. Wrong permissions might explain why Firefox could not open a Profile from userspace.

So that is default for BL?

The "ls -la" oputput looks that way on my system if I log into tty as root.

Last edited by PackRat (2018-03-12 13:36:33)


You must unlearn what you have learned.
    -- yoda

Offline

#16 2018-03-12 15:46:55

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

Hi ok i don't have another username, so how exactly do I create one. Is it with adduser? That doesn't good with wrong permissions and etc, but I never changed anything regarding permissions and so.

Last edited by pozric (2018-03-12 15:53:58)

Offline

#17 2018-03-12 16:26:40

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

@pozric You can follow this guide to create a new user.

@PackRat I meant it's the same here like on your systems. That line does not look ok.

Offline

#18 2018-03-12 16:32:37

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

martix wrote:

@pozric You can follow this guide to create a new user.

@PackRat I meant it's the same here like on your systems. That line does not look ok.

Ok thanks im gonna follow that guide, but what should I do about the permissions, maybe just do a new Bl installation.

Offline

#19 2018-03-12 16:39:26

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,674

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

pozric wrote:
martix wrote:

@pozric You can follow this guide to create a new user.

@PackRat I meant it's the same here like on your systems. That line does not look ok.

Ok thanks im gonna follow that guide, but what should I do about the permissions, maybe just do a new Bl installation.

A new install shouldn't be necessary. There are methods to fix what may have happened to your system.


You must unlearn what you have learned.
    -- yoda

Offline

#20 2018-03-12 16:45:37

pozric
Member
Registered: 2016-03-04
Posts: 112

Re: [SOLVED] I deleted my .mozilla folder and now i cant install it again

PackRat wrote:
pozric wrote:
martix wrote:

@pozric You can follow this guide to create a new user.

@PackRat I meant it's the same here like on your systems. That line does not look ok.

Ok thanks im gonna follow that guide, but what should I do about the permissions, maybe just do a new Bl installation.

A new install shouldn't be necessary. There are methods to fix what may have happened to your system.

Ok thanks yeah I am waiting for the new BL release anyway, but this didn't sound good. Is it dangerous somehow?

Offline

Board footer

Powered by FluxBB