Firefox profile cannot be loaded…profile created but still not able to launch?












1















I created a new sudoer on my Ubuntu machine and logged in. Now when I launch Firefox it gives the error that Firefox profile cannot be loaded. I looked for the solutions then I got the way to create one:



sudo firefox -P


lets me create a new profile. I created the new profile and I launched the Firefox from that window. Now, Firefox launches but I cannot use terminal now because it is running the command for Firefox. As soon as I hit Ctrl+C Firefox closes. Now I try to open it without terminal and it gives the same message that profile cannot be loaded.



How can I launch Firefox without getting my terminal occupied?










share|improve this question




















  • 2





    Check if ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder ( at abcdefgh.default, replacing abcdefgh with the actual directory name). Sometimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh. As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.

    – matalak
    Jun 22 '18 at 20:54













  • Great deleting the .mozilla folder worked man. Kudos

    – Navjot Waraich
    Jun 23 '18 at 10:02






  • 1





    Welcome to Ask Ubuntu! Could you please edit your question to explain why you run Firefox as super-user? That's a terrible idea and looks like a shoehorned solution to an X-Y Problem. What are you actually trying to achieve? Thanks.

    – David Foerster
    Jun 23 '18 at 15:22













  • In future, add & after command to run in background.

    – xiota
    Jun 23 '18 at 16:11






  • 1





    @matalak this comment appears to be not only an answer but also a correct one. Why not write it up as such ? Cheers!

    – Elder Geek
    Jun 23 '18 at 18:53
















1















I created a new sudoer on my Ubuntu machine and logged in. Now when I launch Firefox it gives the error that Firefox profile cannot be loaded. I looked for the solutions then I got the way to create one:



sudo firefox -P


lets me create a new profile. I created the new profile and I launched the Firefox from that window. Now, Firefox launches but I cannot use terminal now because it is running the command for Firefox. As soon as I hit Ctrl+C Firefox closes. Now I try to open it without terminal and it gives the same message that profile cannot be loaded.



How can I launch Firefox without getting my terminal occupied?










share|improve this question




















  • 2





    Check if ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder ( at abcdefgh.default, replacing abcdefgh with the actual directory name). Sometimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh. As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.

    – matalak
    Jun 22 '18 at 20:54













  • Great deleting the .mozilla folder worked man. Kudos

    – Navjot Waraich
    Jun 23 '18 at 10:02






  • 1





    Welcome to Ask Ubuntu! Could you please edit your question to explain why you run Firefox as super-user? That's a terrible idea and looks like a shoehorned solution to an X-Y Problem. What are you actually trying to achieve? Thanks.

    – David Foerster
    Jun 23 '18 at 15:22













  • In future, add & after command to run in background.

    – xiota
    Jun 23 '18 at 16:11






  • 1





    @matalak this comment appears to be not only an answer but also a correct one. Why not write it up as such ? Cheers!

    – Elder Geek
    Jun 23 '18 at 18:53














1












1








1








I created a new sudoer on my Ubuntu machine and logged in. Now when I launch Firefox it gives the error that Firefox profile cannot be loaded. I looked for the solutions then I got the way to create one:



sudo firefox -P


lets me create a new profile. I created the new profile and I launched the Firefox from that window. Now, Firefox launches but I cannot use terminal now because it is running the command for Firefox. As soon as I hit Ctrl+C Firefox closes. Now I try to open it without terminal and it gives the same message that profile cannot be loaded.



How can I launch Firefox without getting my terminal occupied?










share|improve this question
















I created a new sudoer on my Ubuntu machine and logged in. Now when I launch Firefox it gives the error that Firefox profile cannot be loaded. I looked for the solutions then I got the way to create one:



sudo firefox -P


lets me create a new profile. I created the new profile and I launched the Firefox from that window. Now, Firefox launches but I cannot use terminal now because it is running the command for Firefox. As soon as I hit Ctrl+C Firefox closes. Now I try to open it without terminal and it gives the same message that profile cannot be loaded.



How can I launch Firefox without getting my terminal occupied?







16.04 firefox .profile






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 23 '18 at 15:16









David Foerster

28k1365111




28k1365111










asked Jun 22 '18 at 20:06









Navjot WaraichNavjot Waraich

1087




1087








  • 2





    Check if ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder ( at abcdefgh.default, replacing abcdefgh with the actual directory name). Sometimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh. As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.

    – matalak
    Jun 22 '18 at 20:54













  • Great deleting the .mozilla folder worked man. Kudos

    – Navjot Waraich
    Jun 23 '18 at 10:02






  • 1





    Welcome to Ask Ubuntu! Could you please edit your question to explain why you run Firefox as super-user? That's a terrible idea and looks like a shoehorned solution to an X-Y Problem. What are you actually trying to achieve? Thanks.

    – David Foerster
    Jun 23 '18 at 15:22













  • In future, add & after command to run in background.

    – xiota
    Jun 23 '18 at 16:11






  • 1





    @matalak this comment appears to be not only an answer but also a correct one. Why not write it up as such ? Cheers!

    – Elder Geek
    Jun 23 '18 at 18:53














  • 2





    Check if ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder ( at abcdefgh.default, replacing abcdefgh with the actual directory name). Sometimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh. As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.

    – matalak
    Jun 22 '18 at 20:54













  • Great deleting the .mozilla folder worked man. Kudos

    – Navjot Waraich
    Jun 23 '18 at 10:02






  • 1





    Welcome to Ask Ubuntu! Could you please edit your question to explain why you run Firefox as super-user? That's a terrible idea and looks like a shoehorned solution to an X-Y Problem. What are you actually trying to achieve? Thanks.

    – David Foerster
    Jun 23 '18 at 15:22













  • In future, add & after command to run in background.

    – xiota
    Jun 23 '18 at 16:11






  • 1





    @matalak this comment appears to be not only an answer but also a correct one. Why not write it up as such ? Cheers!

    – Elder Geek
    Jun 23 '18 at 18:53








2




2





Check if ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder ( at abcdefgh.default, replacing abcdefgh with the actual directory name). Sometimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh. As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.

– matalak
Jun 22 '18 at 20:54







Check if ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder ( at abcdefgh.default, replacing abcdefgh with the actual directory name). Sometimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh. As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.

– matalak
Jun 22 '18 at 20:54















Great deleting the .mozilla folder worked man. Kudos

– Navjot Waraich
Jun 23 '18 at 10:02





Great deleting the .mozilla folder worked man. Kudos

– Navjot Waraich
Jun 23 '18 at 10:02




1




1





Welcome to Ask Ubuntu! Could you please edit your question to explain why you run Firefox as super-user? That's a terrible idea and looks like a shoehorned solution to an X-Y Problem. What are you actually trying to achieve? Thanks.

– David Foerster
Jun 23 '18 at 15:22







Welcome to Ask Ubuntu! Could you please edit your question to explain why you run Firefox as super-user? That's a terrible idea and looks like a shoehorned solution to an X-Y Problem. What are you actually trying to achieve? Thanks.

– David Foerster
Jun 23 '18 at 15:22















In future, add & after command to run in background.

– xiota
Jun 23 '18 at 16:11





In future, add & after command to run in background.

– xiota
Jun 23 '18 at 16:11




1




1





@matalak this comment appears to be not only an answer but also a correct one. Why not write it up as such ? Cheers!

– Elder Geek
Jun 23 '18 at 18:53





@matalak this comment appears to be not only an answer but also a correct one. Why not write it up as such ? Cheers!

– Elder Geek
Jun 23 '18 at 18:53










2 Answers
2






active

oldest

votes


















1














Sometimes, there can be configuration errors when starting Firefox up for the first time. I've experienced very similar Mozilla-related difficulties with a few live operating systems in the past.



Check if the file ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder; a folder called something like abcdefgh.default (replacing abcdefgh with the actual directory name).



Oftentimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh.



As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.






share|improve this answer
























  • Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

    – Navjot Waraich
    Jun 29 '18 at 10:22











  • @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

    – Elder Geek
    Jun 29 '18 at 16:08



















0














Following steps worked for me.



1.Kill all currently running process



killall firefox
killall thunderbird


2.Remove the cache Files



Note: Backup them before removing.

$ rm -rf ~/.mozilla/
$ rm -rf ~/.cache/mozilla/


3.Change the ownership of following folders



$ sudo chown -R $USER ~/.cache/.mozilla/
$ sudo chown -R $USER ~/.mozilla/


** if the above step NOT successful, Then try following **



$ sudo chown -R $USER:$USER ~/.cache/.mozilla/
$ sudo chown -R $USER:$USER ~/.mozilla/


** if the above step NOT successful, Then try following **



$ sudo chmod -R 777 ~/.cache/.mozilla/
$ sudo chmod -R 777 ~/.mozilla/


4.If all above steps NOT successful, Then change entire cache folder permission



$ sudo chown -R $USER ~/.cache
or
$ sudo chown -R $USER:$USER ~/.cache
or
$ sudo chmod -R 777 ~/.cache/





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1048932%2ffirefox-profile-cannot-be-loaded-profile-created-but-still-not-able-to-launch%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Sometimes, there can be configuration errors when starting Firefox up for the first time. I've experienced very similar Mozilla-related difficulties with a few live operating systems in the past.



    Check if the file ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder; a folder called something like abcdefgh.default (replacing abcdefgh with the actual directory name).



    Oftentimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh.



    As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.






    share|improve this answer
























    • Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

      – Navjot Waraich
      Jun 29 '18 at 10:22











    • @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

      – Elder Geek
      Jun 29 '18 at 16:08
















    1














    Sometimes, there can be configuration errors when starting Firefox up for the first time. I've experienced very similar Mozilla-related difficulties with a few live operating systems in the past.



    Check if the file ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder; a folder called something like abcdefgh.default (replacing abcdefgh with the actual directory name).



    Oftentimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh.



    As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.






    share|improve this answer
























    • Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

      – Navjot Waraich
      Jun 29 '18 at 10:22











    • @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

      – Elder Geek
      Jun 29 '18 at 16:08














    1












    1








    1







    Sometimes, there can be configuration errors when starting Firefox up for the first time. I've experienced very similar Mozilla-related difficulties with a few live operating systems in the past.



    Check if the file ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder; a folder called something like abcdefgh.default (replacing abcdefgh with the actual directory name).



    Oftentimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh.



    As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.






    share|improve this answer













    Sometimes, there can be configuration errors when starting Firefox up for the first time. I've experienced very similar Mozilla-related difficulties with a few live operating systems in the past.



    Check if the file ~/.mozilla/firefox/profiles.ini has its path set to the configuration folder; a folder called something like abcdefgh.default (replacing abcdefgh with the actual directory name).



    Oftentimes, the easiest thing to do is simply delete the entire ~/.mozilla/ folder and start fresh.



    As for the Terminal-usage problem, simply press Ctrl-Shift-N to open a new window.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 29 '18 at 3:58









    matalakmatalak

    5101315




    5101315













    • Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

      – Navjot Waraich
      Jun 29 '18 at 10:22











    • @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

      – Elder Geek
      Jun 29 '18 at 16:08



















    • Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

      – Navjot Waraich
      Jun 29 '18 at 10:22











    • @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

      – Elder Geek
      Jun 29 '18 at 16:08

















    Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

    – Navjot Waraich
    Jun 29 '18 at 10:22





    Totally acceptable answer @matalak. Following your comment i was able to fix the issue but can you tell me where i can find this actual directory. Actually i deleted the .mozilla folder but before deleting i opened the profile.ini and it indeed was pointing to abcdefgh.default. What does the actual directory intend here??

    – Navjot Waraich
    Jun 29 '18 at 10:22













    @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

    – Elder Geek
    Jun 29 '18 at 16:08





    @JotWaraich The .default directory in question can contain mass quantities of Firefox related files, extensions, cookies, etc.,etc. Rather than attempting do dig through all that stuff, the suggestion here is an effective and easy solution.

    – Elder Geek
    Jun 29 '18 at 16:08













    0














    Following steps worked for me.



    1.Kill all currently running process



    killall firefox
    killall thunderbird


    2.Remove the cache Files



    Note: Backup them before removing.

    $ rm -rf ~/.mozilla/
    $ rm -rf ~/.cache/mozilla/


    3.Change the ownership of following folders



    $ sudo chown -R $USER ~/.cache/.mozilla/
    $ sudo chown -R $USER ~/.mozilla/


    ** if the above step NOT successful, Then try following **



    $ sudo chown -R $USER:$USER ~/.cache/.mozilla/
    $ sudo chown -R $USER:$USER ~/.mozilla/


    ** if the above step NOT successful, Then try following **



    $ sudo chmod -R 777 ~/.cache/.mozilla/
    $ sudo chmod -R 777 ~/.mozilla/


    4.If all above steps NOT successful, Then change entire cache folder permission



    $ sudo chown -R $USER ~/.cache
    or
    $ sudo chown -R $USER:$USER ~/.cache
    or
    $ sudo chmod -R 777 ~/.cache/





    share|improve this answer




























      0














      Following steps worked for me.



      1.Kill all currently running process



      killall firefox
      killall thunderbird


      2.Remove the cache Files



      Note: Backup them before removing.

      $ rm -rf ~/.mozilla/
      $ rm -rf ~/.cache/mozilla/


      3.Change the ownership of following folders



      $ sudo chown -R $USER ~/.cache/.mozilla/
      $ sudo chown -R $USER ~/.mozilla/


      ** if the above step NOT successful, Then try following **



      $ sudo chown -R $USER:$USER ~/.cache/.mozilla/
      $ sudo chown -R $USER:$USER ~/.mozilla/


      ** if the above step NOT successful, Then try following **



      $ sudo chmod -R 777 ~/.cache/.mozilla/
      $ sudo chmod -R 777 ~/.mozilla/


      4.If all above steps NOT successful, Then change entire cache folder permission



      $ sudo chown -R $USER ~/.cache
      or
      $ sudo chown -R $USER:$USER ~/.cache
      or
      $ sudo chmod -R 777 ~/.cache/





      share|improve this answer


























        0












        0








        0







        Following steps worked for me.



        1.Kill all currently running process



        killall firefox
        killall thunderbird


        2.Remove the cache Files



        Note: Backup them before removing.

        $ rm -rf ~/.mozilla/
        $ rm -rf ~/.cache/mozilla/


        3.Change the ownership of following folders



        $ sudo chown -R $USER ~/.cache/.mozilla/
        $ sudo chown -R $USER ~/.mozilla/


        ** if the above step NOT successful, Then try following **



        $ sudo chown -R $USER:$USER ~/.cache/.mozilla/
        $ sudo chown -R $USER:$USER ~/.mozilla/


        ** if the above step NOT successful, Then try following **



        $ sudo chmod -R 777 ~/.cache/.mozilla/
        $ sudo chmod -R 777 ~/.mozilla/


        4.If all above steps NOT successful, Then change entire cache folder permission



        $ sudo chown -R $USER ~/.cache
        or
        $ sudo chown -R $USER:$USER ~/.cache
        or
        $ sudo chmod -R 777 ~/.cache/





        share|improve this answer













        Following steps worked for me.



        1.Kill all currently running process



        killall firefox
        killall thunderbird


        2.Remove the cache Files



        Note: Backup them before removing.

        $ rm -rf ~/.mozilla/
        $ rm -rf ~/.cache/mozilla/


        3.Change the ownership of following folders



        $ sudo chown -R $USER ~/.cache/.mozilla/
        $ sudo chown -R $USER ~/.mozilla/


        ** if the above step NOT successful, Then try following **



        $ sudo chown -R $USER:$USER ~/.cache/.mozilla/
        $ sudo chown -R $USER:$USER ~/.mozilla/


        ** if the above step NOT successful, Then try following **



        $ sudo chmod -R 777 ~/.cache/.mozilla/
        $ sudo chmod -R 777 ~/.mozilla/


        4.If all above steps NOT successful, Then change entire cache folder permission



        $ sudo chown -R $USER ~/.cache
        or
        $ sudo chown -R $USER:$USER ~/.cache
        or
        $ sudo chmod -R 777 ~/.cache/






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 12 at 2:32









        Lava SangeethamLava Sangeetham

        1012




        1012






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1048932%2ffirefox-profile-cannot-be-loaded-profile-created-but-still-not-able-to-launch%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅