Brave browser not starting due to snap mount namespace error












7














Brave installed from snap was running perfectly fine for months.
Since two days it is not starting when clicking Brave icon from launcher.
When attempting to run Brave from command line just calling brave I am getting following warnings, browser starts but without all my profile data (bookmarks, configuration, history), and it is in unsafe --no-sandbox modee.



main.go:224: cannot change mount namespace of snap "brave" according to change mount (/snap/gtk-common-themes/818/share/icons/Suru /snap/brave/44/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/818/share/icons/Suru" as bind-mount source: not a directory
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient;


It looks like snap-AppArmor integration issue.



Ubuntu 18.04.1 LTS.



snap version



snap    2.36.2
snapd 2.36.2
series 16
ubuntu 18.04
kernel 4.15.0-42-generic


apt policy apparmor



apparmor:
Installed: 2.12-4ubuntu5.1


snap info brave



name:      brave
summary: A browser with your interests at heart.
publisher: Brave Software (brave*)
contact: https://community.brave.com/
license: unset
description: |
Browse faster by blocking ads and trackers that violate your privacy and
cost you time and money.
commands:
- brave
snap-id: uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
tracking: stable
refresh-date: today at 10:26 IST
channels:
stable: v0.56.12-5.dev (44) 160MB -
candidate: ^
beta: ^
edge: ^
installed: v0.56.12-5.dev (44) 160MB -









share|improve this question

















This question has an open bounty worth +100
reputation from jangorecki ending in 6 days.


This question has not received enough attention.





















    7














    Brave installed from snap was running perfectly fine for months.
    Since two days it is not starting when clicking Brave icon from launcher.
    When attempting to run Brave from command line just calling brave I am getting following warnings, browser starts but without all my profile data (bookmarks, configuration, history), and it is in unsafe --no-sandbox modee.



    main.go:224: cannot change mount namespace of snap "brave" according to change mount (/snap/gtk-common-themes/818/share/icons/Suru /snap/brave/44/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/818/share/icons/Suru" as bind-mount source: not a directory
    Gtk-Message: Failed to load module "canberra-gtk-module"
    Gtk-Message: Failed to load module "canberra-gtk-module"
    Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient;


    It looks like snap-AppArmor integration issue.



    Ubuntu 18.04.1 LTS.



    snap version



    snap    2.36.2
    snapd 2.36.2
    series 16
    ubuntu 18.04
    kernel 4.15.0-42-generic


    apt policy apparmor



    apparmor:
    Installed: 2.12-4ubuntu5.1


    snap info brave



    name:      brave
    summary: A browser with your interests at heart.
    publisher: Brave Software (brave*)
    contact: https://community.brave.com/
    license: unset
    description: |
    Browse faster by blocking ads and trackers that violate your privacy and
    cost you time and money.
    commands:
    - brave
    snap-id: uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
    tracking: stable
    refresh-date: today at 10:26 IST
    channels:
    stable: v0.56.12-5.dev (44) 160MB -
    candidate: ^
    beta: ^
    edge: ^
    installed: v0.56.12-5.dev (44) 160MB -









    share|improve this question

















    This question has an open bounty worth +100
    reputation from jangorecki ending in 6 days.


    This question has not received enough attention.



















      7












      7








      7







      Brave installed from snap was running perfectly fine for months.
      Since two days it is not starting when clicking Brave icon from launcher.
      When attempting to run Brave from command line just calling brave I am getting following warnings, browser starts but without all my profile data (bookmarks, configuration, history), and it is in unsafe --no-sandbox modee.



      main.go:224: cannot change mount namespace of snap "brave" according to change mount (/snap/gtk-common-themes/818/share/icons/Suru /snap/brave/44/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/818/share/icons/Suru" as bind-mount source: not a directory
      Gtk-Message: Failed to load module "canberra-gtk-module"
      Gtk-Message: Failed to load module "canberra-gtk-module"
      Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient;


      It looks like snap-AppArmor integration issue.



      Ubuntu 18.04.1 LTS.



      snap version



      snap    2.36.2
      snapd 2.36.2
      series 16
      ubuntu 18.04
      kernel 4.15.0-42-generic


      apt policy apparmor



      apparmor:
      Installed: 2.12-4ubuntu5.1


      snap info brave



      name:      brave
      summary: A browser with your interests at heart.
      publisher: Brave Software (brave*)
      contact: https://community.brave.com/
      license: unset
      description: |
      Browse faster by blocking ads and trackers that violate your privacy and
      cost you time and money.
      commands:
      - brave
      snap-id: uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
      tracking: stable
      refresh-date: today at 10:26 IST
      channels:
      stable: v0.56.12-5.dev (44) 160MB -
      candidate: ^
      beta: ^
      edge: ^
      installed: v0.56.12-5.dev (44) 160MB -









      share|improve this question















      Brave installed from snap was running perfectly fine for months.
      Since two days it is not starting when clicking Brave icon from launcher.
      When attempting to run Brave from command line just calling brave I am getting following warnings, browser starts but without all my profile data (bookmarks, configuration, history), and it is in unsafe --no-sandbox modee.



      main.go:224: cannot change mount namespace of snap "brave" according to change mount (/snap/gtk-common-themes/818/share/icons/Suru /snap/brave/44/data-dir/icons/Suru none bind,ro 0 0): cannot use "/snap/gtk-common-themes/818/share/icons/Suru" as bind-mount source: not a directory
      Gtk-Message: Failed to load module "canberra-gtk-module"
      Gtk-Message: Failed to load module "canberra-gtk-module"
      Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient;


      It looks like snap-AppArmor integration issue.



      Ubuntu 18.04.1 LTS.



      snap version



      snap    2.36.2
      snapd 2.36.2
      series 16
      ubuntu 18.04
      kernel 4.15.0-42-generic


      apt policy apparmor



      apparmor:
      Installed: 2.12-4ubuntu5.1


      snap info brave



      name:      brave
      summary: A browser with your interests at heart.
      publisher: Brave Software (brave*)
      contact: https://community.brave.com/
      license: unset
      description: |
      Browse faster by blocking ads and trackers that violate your privacy and
      cost you time and money.
      commands:
      - brave
      snap-id: uE3hSmGE91m9MpbDEnUWi2vpeumH6gmv
      tracking: stable
      refresh-date: today at 10:26 IST
      channels:
      stable: v0.56.12-5.dev (44) 160MB -
      candidate: ^
      beta: ^
      edge: ^
      installed: v0.56.12-5.dev (44) 160MB -






      chromium snap apparmor






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 21 at 14:14

























      asked Dec 17 at 7:05









      jangorecki

      62216




      62216






      This question has an open bounty worth +100
      reputation from jangorecki ending in 6 days.


      This question has not received enough attention.








      This question has an open bounty worth +100
      reputation from jangorecki ending in 6 days.


      This question has not received enough attention.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          The error it shows means that it can't find the /snap/gtk-common-themes/818/share/icons/Suru folder to mount it. This folder should contain the icon of the app. You can try to create the folder manually using the mkdir command or from the GUI. Then try to copy the brave icon there.






          share|improve this answer





















          • That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
            – jangorecki
            yesterday





















          0














          The Brave browser snap package has recently been updated, and it may have lost some of its saved settings when the brave snap package was refreshed two days ago. Open Brave browser from the terminal with the following command:



          snap run brave  


          Ignore any warning messages that you receive in the terminal. Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.



          You can access the Brave browser welcome screen and take the welcome tour to import bookmarks from Firefox and customize your preferences by typing the following address in the address bar:



          brave://welcome/


          Open Firefox and export the Firefox bookmarks to your desktop as an .html file. You can import the Firefox bookmarks into Brave browser from the welcome tour or else click the three horizontal lines Customize Brave icon in the upper right corner of Brave browser -> select Bookmarks -> Import bookmarks and settings -> put a check in the checkbox to the left of Favorites/Bookmarks -> click Choose file button -> browse to the Firefox bookmarks HTML file that you saved.



          IMG:






          share|improve this answer























          • Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
            – jangorecki
            Dec 18 at 9:24










          • Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
            – karel
            Dec 18 at 9:47












          • I need to use my existing settings rather creating new ones
            – jangorecki
            Dec 21 at 8:11










          • I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
            – jangorecki
            Dec 21 at 8:12











          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%2f1102488%2fbrave-browser-not-starting-due-to-snap-mount-namespace-error%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









          0














          The error it shows means that it can't find the /snap/gtk-common-themes/818/share/icons/Suru folder to mount it. This folder should contain the icon of the app. You can try to create the folder manually using the mkdir command or from the GUI. Then try to copy the brave icon there.






          share|improve this answer





















          • That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
            – jangorecki
            yesterday


















          0














          The error it shows means that it can't find the /snap/gtk-common-themes/818/share/icons/Suru folder to mount it. This folder should contain the icon of the app. You can try to create the folder manually using the mkdir command or from the GUI. Then try to copy the brave icon there.






          share|improve this answer





















          • That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
            – jangorecki
            yesterday
















          0












          0








          0






          The error it shows means that it can't find the /snap/gtk-common-themes/818/share/icons/Suru folder to mount it. This folder should contain the icon of the app. You can try to create the folder manually using the mkdir command or from the GUI. Then try to copy the brave icon there.






          share|improve this answer












          The error it shows means that it can't find the /snap/gtk-common-themes/818/share/icons/Suru folder to mount it. This folder should contain the icon of the app. You can try to create the folder manually using the mkdir command or from the GUI. Then try to copy the brave icon there.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 27 at 7:40









          Samer Abu Gahgah

          291310




          291310












          • That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
            – jangorecki
            yesterday




















          • That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
            – jangorecki
            yesterday


















          That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
          – jangorecki
          yesterday






          That directory does exists, another one mentioned in error message does not exist /snap/brave/44/data-dir. That one I cannot create due to Read-only file system. I will be very happy to put bounty once again, just need to have it fixed.
          – jangorecki
          yesterday















          0














          The Brave browser snap package has recently been updated, and it may have lost some of its saved settings when the brave snap package was refreshed two days ago. Open Brave browser from the terminal with the following command:



          snap run brave  


          Ignore any warning messages that you receive in the terminal. Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.



          You can access the Brave browser welcome screen and take the welcome tour to import bookmarks from Firefox and customize your preferences by typing the following address in the address bar:



          brave://welcome/


          Open Firefox and export the Firefox bookmarks to your desktop as an .html file. You can import the Firefox bookmarks into Brave browser from the welcome tour or else click the three horizontal lines Customize Brave icon in the upper right corner of Brave browser -> select Bookmarks -> Import bookmarks and settings -> put a check in the checkbox to the left of Favorites/Bookmarks -> click Choose file button -> browse to the Firefox bookmarks HTML file that you saved.



          IMG:






          share|improve this answer























          • Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
            – jangorecki
            Dec 18 at 9:24










          • Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
            – karel
            Dec 18 at 9:47












          • I need to use my existing settings rather creating new ones
            – jangorecki
            Dec 21 at 8:11










          • I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
            – jangorecki
            Dec 21 at 8:12
















          0














          The Brave browser snap package has recently been updated, and it may have lost some of its saved settings when the brave snap package was refreshed two days ago. Open Brave browser from the terminal with the following command:



          snap run brave  


          Ignore any warning messages that you receive in the terminal. Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.



          You can access the Brave browser welcome screen and take the welcome tour to import bookmarks from Firefox and customize your preferences by typing the following address in the address bar:



          brave://welcome/


          Open Firefox and export the Firefox bookmarks to your desktop as an .html file. You can import the Firefox bookmarks into Brave browser from the welcome tour or else click the three horizontal lines Customize Brave icon in the upper right corner of Brave browser -> select Bookmarks -> Import bookmarks and settings -> put a check in the checkbox to the left of Favorites/Bookmarks -> click Choose file button -> browse to the Firefox bookmarks HTML file that you saved.



          IMG:






          share|improve this answer























          • Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
            – jangorecki
            Dec 18 at 9:24










          • Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
            – karel
            Dec 18 at 9:47












          • I need to use my existing settings rather creating new ones
            – jangorecki
            Dec 21 at 8:11










          • I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
            – jangorecki
            Dec 21 at 8:12














          0












          0








          0






          The Brave browser snap package has recently been updated, and it may have lost some of its saved settings when the brave snap package was refreshed two days ago. Open Brave browser from the terminal with the following command:



          snap run brave  


          Ignore any warning messages that you receive in the terminal. Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.



          You can access the Brave browser welcome screen and take the welcome tour to import bookmarks from Firefox and customize your preferences by typing the following address in the address bar:



          brave://welcome/


          Open Firefox and export the Firefox bookmarks to your desktop as an .html file. You can import the Firefox bookmarks into Brave browser from the welcome tour or else click the three horizontal lines Customize Brave icon in the upper right corner of Brave browser -> select Bookmarks -> Import bookmarks and settings -> put a check in the checkbox to the left of Favorites/Bookmarks -> click Choose file button -> browse to the Firefox bookmarks HTML file that you saved.



          IMG:






          share|improve this answer














          The Brave browser snap package has recently been updated, and it may have lost some of its saved settings when the brave snap package was refreshed two days ago. Open Brave browser from the terminal with the following command:



          snap run brave  


          Ignore any warning messages that you receive in the terminal. Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.



          You can access the Brave browser welcome screen and take the welcome tour to import bookmarks from Firefox and customize your preferences by typing the following address in the address bar:



          brave://welcome/


          Open Firefox and export the Firefox bookmarks to your desktop as an .html file. You can import the Firefox bookmarks into Brave browser from the welcome tour or else click the three horizontal lines Customize Brave icon in the upper right corner of Brave browser -> select Bookmarks -> Import bookmarks and settings -> put a check in the checkbox to the left of Favorites/Bookmarks -> click Choose file button -> browse to the Firefox bookmarks HTML file that you saved.



          IMG:







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 22 hours ago









          Kulfy

          3,35341039




          3,35341039










          answered Dec 17 at 13:58









          karel

          57.1k12127146




          57.1k12127146












          • Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
            – jangorecki
            Dec 18 at 9:24










          • Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
            – karel
            Dec 18 at 9:47












          • I need to use my existing settings rather creating new ones
            – jangorecki
            Dec 21 at 8:11










          • I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
            – jangorecki
            Dec 21 at 8:12


















          • Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
            – jangorecki
            Dec 18 at 9:24










          • Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
            – karel
            Dec 18 at 9:47












          • I need to use my existing settings rather creating new ones
            – jangorecki
            Dec 21 at 8:11










          • I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
            – jangorecki
            Dec 21 at 8:12
















          Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
          – jangorecki
          Dec 18 at 9:24




          Thanks for trying help. I don't use Firefox. I use Brave, all my bookmarks are there but I cannot access them if I will start snap run brave or brave. It starts brave but in --no-sandbox mode, not in using my profile. Brave browser does not start by clicking on its icon in Dash even after starting it once from console.
          – jangorecki
          Dec 18 at 9:24












          Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
          – karel
          Dec 18 at 9:47






          Brave browser will open normally by clicking on its icon in the Dash after you have entered your new settings in the Brave welcome tour screens and saved the changed settings.
          – karel
          Dec 18 at 9:47














          I need to use my existing settings rather creating new ones
          – jangorecki
          Dec 21 at 8:11




          I need to use my existing settings rather creating new ones
          – jangorecki
          Dec 21 at 8:11












          I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
          – jangorecki
          Dec 21 at 8:12




          I do not have anything to import from Firefox, all I have is already in Brave, but the profile that I cannot access
          – jangorecki
          Dec 21 at 8:12


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f1102488%2fbrave-browser-not-starting-due-to-snap-mount-namespace-error%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

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido