Brave does not start in Ubuntu 18

bug
linux

#1

NOTE: Any “one-liner” or topics requesting support or reporting bugs that do not make an effort to include as much of this information as possible will be closed immediately. Repeatedly posting as such will get you flagged or banned.

Please try to adhere to this template when reporting bugs. If you think you don’t need to fill out every section in the template fill out as much of it as you can and please be as descriptive as possible when posting. Thank you!
<---------Delete this line and everything above before posting---------->

Description of the issue:
Brave does not start

Steps to Reproduce (add as many as necessary): 1. 2. 3.
clicking the fav icon, running the shortcut command ‘env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/brave_brave.desktop /snap/bin/brave %U’, running ‘/snap/bin/brave %U’ doesn’t work. No error message is displayed.

Actual Result (gifs and screenshots are welcome!):
nothing happens

Expected result:

Reproduces how often:
everytime

Brave Version(about:brave):
(latest) v0.25.2dev, installed from Ubuntu Software

Reproducible on current live release (yes/no):
yes

Additional Information:

When I fisrt installed Brave, there was an issue with snapd and for example the Calculator app wasn’t loading. There were errors at that time. There were a few updates in the meantime, and now Calculator loads; but Brave is still not loading. Atm there are no error messages.

/snap/bin$ SNAPD_DEBUG=1 snap run brave
2018/11/16 19:43:15.559118 cmd.go:203: DEBUG: restarting into “/snap/core/current/usr/bin/snap”
DEBUG: security tag: snap.brave.brave
DEBUG: executable: /usr/lib/snapd/snap-exec
DEBUG: confinement: non-classic
DEBUG: base snap: core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 0, sgid: 0
DEBUG: apparmor label on snap-confine is: /snap/core/5897/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: checking if the current process shares mount namespace with the init process
DEBUG: re-associating is not required
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope (global), uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: creating namespace group directory /run/snapd/ns
DEBUG: namespace group directory does not require intialization
DEBUG: releasing lock 4
DEBUG: snap-update-ns executable: /snap/core/5897/usr/lib/snapd/snap-update-ns
DEBUG: opened snap-update-ns executable as file descriptor 3
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/brave.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope brave, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: brave
DEBUG: opening namespace group directory /run/snapd/ns
DEBUG: found base snap filesystem device 7:22
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: receiving information about the state of the mount namespace
DEBUG: ensuring that parent process is still alive
DEBUG: joining the namespace that we are about to probe
DEBUG: found root filesystem inside the mount namespace 7:22
DEBUG: sending information about the state of the mount namespace (keep)
DEBUG: support process for mount namespace inspection is about to finishDEBUG:
sanity timeout reset and disabled
DEBUG: the mount namespace is up-to-date and can be reused
DEBUG: attempting to re-associate the mount namespace with the namespace group brave
DEBUG: successfully re-associated the mount namespace with the namespace group brave
DEBUG: releasing resources associated with namespace group brave
DEBUG: moved process 28394 to freezer cgroup hierarchy for snap brave
DEBUG: releasing lock 5
DEBUG: sc_setup_user_mounts: brave
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: calling snap-update-ns to initialize user mounts
DEBUG: waiting for snap-update-ns to finish…
DEBUG: launching snap-update-ns under per-snap profile snap-update-ns.brave
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.brave
DEBUG: fexecv(3 (snap-update-ns), snap-update-ns --user-mounts brave,)
main.go:246: DEBUG: desired mount profile:
main.go:248: DEBUG: /run/user/1000/doc/by-app/snap.brave /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0
change.go:469: DEBUG: desiredIDs: map[/run/user/1000/doc:true]
change.go:470: DEBUG: reuse: map
main.go:257: DEBUG: mount changes needed:
main.go:259: DEBUG: mount (/run/user/1000/doc/by-app/snap.brave /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0)
main.go:204: DEBUG: performing mount changes:
main.go:207: DEBUG: * mount (/run/user/1000/doc/by-app/snap.brave /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0)
main.go:251: DEBUG: current mount profile (after applying changes): (none)
DEBUG: snap-update-ns finished successfully
DEBUG: resetting PATH to values in sync with core snap
DEBUG: snappy_udev_init
DEBUG: setup_devices_cgroup
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/tasks 28394
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/devices.deny a
DEBUG: run_snappy_app_dev_add: /sys/class/mem/null snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/null 1:3
DEBUG: run_snappy_app_dev_add: /sys/class/mem/full snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/full 1:7
DEBUG: run_snappy_app_dev_add: /sys/class/mem/zero snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/zero 1:5
DEBUG: run_snappy_app_dev_add: /sys/class/mem/random snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/random 1:8
DEBUG: run_snappy_app_dev_add: /sys/class/mem/urandom snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/urandom 1:9
DEBUG: run_snappy_app_dev_add: /sys/class/tty/tty snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/tty/tty 5:0
DEBUG: run_snappy_app_dev_add: /sys/class/tty/console snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/tty/console 5:1
DEBUG: run_snappy_app_dev_add: /sys/class/tty/ptmx snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/tty/ptmx 5:2
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 136:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 137:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 138:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 139:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 140:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 141:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 142:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 143:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/nvidia0 195:0
DEBUG: running snap-device-helper add snap_brave_brave /dev/nvidiactl 195:255
DEBUG: running snap-device-helper add snap_brave_brave /dev/nvidia-uvm 238:0
DEBUG: running snap-device-helper add snap_brave_brave /dev/uhid 10:239
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 226:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD128 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD128 226:128
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card1 226:1
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-1 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-VGA-1 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-VGA-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/renderD129 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/renderD129 226:129
DEBUG: creating user data directory: /home/user/snap/brave/34
DEBUG: requesting changing of apparmor profile on next exec to snap.brave.brave
DEBUG: loading bpf program for security tag snap.brave.brave
DEBUG: read 6144 bytes from /var/lib/snapd/seccomp/bpf//snap.brave.brave.bin
DEBUG: raising privileges to load seccomp profile
DEBUG: dropping privileges after loading seccomp profile
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec…)
DEBUG: argv[1] = brave


SNAPD_DEBUG=1 ./brave %U
2018/11/16 19:45:16.515447 cmd.go:203: DEBUG: restarting into “/snap/core/current/usr/bin/snap”
DEBUG: security tag: snap.brave.brave
DEBUG: executable: /usr/lib/snapd/snap-exec
DEBUG: confinement: non-classic
DEBUG: base snap: core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 0, sgid: 0
DEBUG: apparmor label on snap-confine is: /snap/core/5897/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: checking if the current process shares mount namespace with the init process
DEBUG: re-associating is not required
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope (global), uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: creating namespace group directory /run/snapd/ns
DEBUG: namespace group directory does not require intialization
DEBUG: releasing lock 4
DEBUG: snap-update-ns executable: /snap/core/5897/usr/lib/snapd/snap-update-ns
DEBUG: opened snap-update-ns executable as file descriptor 3
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/brave.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope brave, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: brave
DEBUG: opening namespace group directory /run/snapd/ns
DEBUG: found base snap filesystem device 7:22
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: receiving information about the state of the mount namespace
DEBUG: ensuring that parent process is still alive
DEBUG: joining the namespace that we are about to probe
DEBUG: found root filesystem inside the mount namespace 7:22
DEBUG: sending information about the state of the mount namespace (keep)
DEBUG: support process for mount namespace inspection is about to finish
DEBUG: sanity timeout reset and disabled
DEBUG: the mount namespace is up-to-date and can be reused
DEBUG: attempting to re-associate the mount namespace with the namespace group brave
DEBUG: successfully re-associated the mount namespace with the namespace group brave
DEBUG: releasing resources associated with namespace group brave
DEBUG: moved process 28622 to freezer cgroup hierarchy for snap brave
DEBUG: releasing lock 5
DEBUG: sc_setup_user_mounts: brave
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: calling snap-update-ns to initialize user mounts
DEBUG: waiting for snap-update-ns to finish…
DEBUG: launching snap-update-ns under per-snap profile snap-update-ns.brave
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.brave
DEBUG: fexecv(3 (snap-update-ns), snap-update-ns --user-mounts brave,)
main.go:246: DEBUG: desired mount profile:
main.go:248: DEBUG: /run/user/1000/doc/by-app/snap.brave /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0
change.go:469: DEBUG: desiredIDs: map[/run/user/1000/doc:true]
change.go:470: DEBUG: reuse: map
main.go:257: DEBUG: mount changes needed:
main.go:259: DEBUG: mount (/run/user/1000/doc/by-app/snap.brave /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0)
main.go:204: DEBUG: performing mount changes:
main.go:207: DEBUG: * mount (/run/user/1000/doc/by-app/snap.brave /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0)
main.go:251: DEBUG: current mount profile (after applying changes): (none)
DEBUG: snap-update-ns finished successfully
DEBUG: resetting PATH to values in sync with core snap
DEBUG: snappy_udev_init
DEBUG: setup_devices_cgroup
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/tasks 28622
DEBUG: write_string_to_file /sys/fs/cgroup/devices/snap.brave.brave/devices.deny a
DEBUG: run_snappy_app_dev_add: /sys/class/mem/null snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/null 1:3
DEBUG: run_snappy_app_dev_add: /sys/class/mem/full snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/full 1:7
DEBUG: run_snappy_app_dev_add: /sys/class/mem/zero snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/zero 1:5
DEBUG: run_snappy_app_dev_add: /sys/class/mem/random snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/random 1:8
DEBUG: run_snappy_app_dev_add: /sys/class/mem/urandom snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/mem/urandom 1:9
DEBUG: run_snappy_app_dev_add: /sys/class/tty/tty snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/tty/tty 5:0
DEBUG: run_snappy_app_dev_add: /sys/class/tty/console snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/tty/console 5:1
DEBUG: run_snappy_app_dev_add: /sys/class/tty/ptmx snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/class/tty/ptmx 5:2
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 136:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 137:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 138:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 139:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 140:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 141:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 142:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/pts/slaves 143:*
DEBUG: running snap-device-helper add snap_brave_brave /dev/nvidia0 195:0
DEBUG: running snap-device-helper add snap_brave_brave /dev/nvidiactl 195:255
DEBUG: running snap-device-helper add snap_brave_brave /dev/nvidia-uvm 238:0
DEBUG: running snap-device-helper add snap_brave_brave /dev/uhid 10:239
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 226:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD128 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/renderD128 226:128
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card1 226:1
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-1 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-VGA-1 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-VGA-1 0:0
DEBUG: run_snappy_app_dev_add: /sys/devices/pci0000:00/0000:00:02.0/drm/renderD129 snap_brave_brave
DEBUG: running snap-device-helper add snap_brave_brave /sys/devices/pci0000:00/0000:00:02.0/drm/renderD129 226:129
DEBUG: creating user data directory: /home/user/snap/brave/34
DEBUG: requesting changing of apparmor profile on next exec to snap.brave.brave
DEBUG: loading bpf program for security tag snap.brave.brave
DEBUG: read 6144 bytes from /var/lib/snapd/seccomp/bpf//snap.brave.brave.bin
DEBUG: raising privileges to load seccomp profile
DEBUG: dropping privileges after loading seccomp profile
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec…)
DEBUG: argv[1] = brave
DEBUG: argv[2] = %U


#2

It is still not working. Really there is nobody here able to help diagnose and provide support on this? The program simply does not run!


#3

Were you intending to download the old Brave build (muon)?


#4

No, I’m running Ubuntu 18 and I installed Brave from the Ubuntu Software program.

There it says:
image

Is this not the latest version? The date is only from 6 days ago…


#5

That’s the latest Muon version.
Our most recently release can be found here:

Here are a few more links to help you get up to speed:


https://brave.com/new-brave-browser-release-available-for-general-download/
https://brave.com/new-brave-22-percent-faster/

We also have Beta and Developer builds for our new Brave Core model which you can find here:


Edit: Additional info on different builds -


#6

Oh, ok.

So the official Ubuntu repo is not up-to-date?

If you don’t have control over the repo, as a suggestion maybe you could place a warning the Brave Linux Download page. Something like ’ the official Ubuntu download from the Software Center is outdated, please avoid using that’

Thanks.


#7

Sorry if I’m being unclear. Let me try again:
The Muon build of Brave is being depreciated across all platforms. This is the version you’re currently using.

We have been pushing users to transition to our newer Brave Core builds as we begin depreciating the old build. The new build vastly outperforms the old in nearly every single metric (article links in original post have more info on this in them).

Brave Core is already available on all platforms. The Muon build will get one last update in the upcoming weeks. This update will notify and prompt users to upgrade from the Muon version to the new builds and will initiate the process automatically. However, you don’t have to wait for that to update you Brave version now.

Both new and old Brave builds can be installed on the same machine and run in parallel. Additionally, you can import your browsing data from your Old Brave into your freshly installed, up to date browser. If you visit the download pages above, you should be directed to the appropriate installation download depending on which OS you’re using.

That said, since you’re on Linux and you mentioned looking through our repo’s, you can find our new builds there as well:

If you’d rather download and install through Terminal, you can find Linux installation instructions here:

Hope this helps!
Please let me know if you have any further questions or come across issues when downloading.

Edit: Wanted to make a quick note that wallet data from Muon must be backed up and restored in Brave Core - Importing of Wallet information is not yet implemented (although we are working on it).


#8

This topic was automatically closed after 30 days. New replies are no longer allowed.