discord icon indicating copy to clipboard operation
discord copied to clipboard

Content snap command-chain for /snap/discord/143/gnome-platform/command-chain/desktop-launch not found: ensure slot is connected

Open clickersmudge opened this issue 1 year ago • 7 comments

What happened?

Hi, Discord not open. When type discord on terminal i have error.

Content snap command-chain for /snap/discord/143/gnome-platform/command-chain/desktop-launch not found: ensure slot is connected

What should have happened?

Open Discord.

Output of snap info discord

name:      discord
summary:   All-in-one voice and text chat for gamers
publisher: Snapcrafters
store-url: https://snapcraft.io/discord
contact:   https://github.com/snapcrafters/discord/issues
license:   unset
description: |
  All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and
  phone.
  
  Snaps are confined, as such Discord may be unable to perform some of the tasks it typically does
  when unconfined. This may result in the system log getting spammed with apparmor errors. Granting
  access to the system-observe interface when in the snap will enable the features, and thus reduce
  the logging.
  
      snap connect discord:system-observe
  
  
  This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
  officially maintained by the upstream developers.
commands:
  - discord
snap-id:      qHVefGEBezeuCeSfTND40uoUD6GRw8BO
tracking:     latest/stable
refresh-date: yesterday at 11:19 CEST
channels:
  latest/stable:    0.0.20 2022-09-23 (143) 85MB -
  latest/candidate: ↑                            
  latest/beta:      ↑                            
  latest/edge:      0.0.20 2022-09-23 (143) 85MB -
installed:          0.0.20            (143) 85MB -


### Output of `snap connections discord`

```shell
Interface               Plug                            Slot                             Notes
audio-playback          discord:audio-playback          :audio-playback                  -
audio-record            discord:audio-record            :audio-record                    -
camera                  discord:camera                  :camera                          -
content                 discord:gnome-42-2204           -                                -
content[gtk-3-themes]   discord:gtk-3-themes            gtk-common-themes:gtk-3-themes   -
content[gtk-3-themes]   discord:gtk-3-themes            whitesur-gtk-theme:gtk-3-themes  manual
content[icon-themes]    discord:icon-themes             gtk-common-themes:icon-themes    -
content[icon-themes]    discord:icon-themes             whitesur-gtk-theme:icon-themes   manual
content[sound-themes]   discord:sound-themes            gtk-common-themes:sound-themes   -
desktop                 discord:desktop                 :desktop                         -
desktop-legacy          discord:desktop-legacy          :desktop-legacy                  -
gsettings               discord:gsettings               :gsettings                       -
home                    discord:home                    :home                            -
mount-observe           discord:mount-observe           :mount-observe                   manual
network                 discord:network                 :network                         -
network-observe         discord:network-observe         :network-observe                 manual
opengl                  discord:opengl                  :opengl                          -
process-control         discord:process-control         :process-control                 manual
removable-media         discord:removable-media         :removable-media                 manual
screen-inhibit-control  discord:screen-inhibit-control  :screen-inhibit-control          -
shared-memory           discord:shmem                   :shared-memory                   -
system-observe          discord:system-observe          :system-observe                  manual
unity7                  discord:unity7                  :unity7                          -
wayland                 discord:wayland                 :wayland                         -
x11                     discord:x11                     :x11                             -


### Output of `snap version`

```shell
snap    2.57.1
snapd   2.57.1
series  16
ubuntu  22.04
kernel  5.15.0-48-generic


### Relevant log output

_No response_

### Teminal output of app

_No response_

clickersmudge avatar Sep 25 '22 20:09 clickersmudge

maybe try snap connect discord:gnome-42-2204

Fuseteam avatar Sep 26 '22 04:09 Fuseteam

@Fuseteam Thanks for your help. I had to reinstall the application. "snap connect discord:gnome-42-2204" not working.

clickersmudge avatar Sep 26 '22 06:09 clickersmudge

Oh ok, i might've messed up the syntax. You should've just needed to connect the missing connection, but i guess will do that automatically

Fuseteam avatar Sep 26 '22 18:09 Fuseteam

FYI I've gotten the same error. It seems the gnome-platform directory isn't even present in the snap:

mlenz@mlenz-laptop-2022:~$ ls /snap/discord/143/
bin  etc  meta  snap  usr
mlenz@mlenz-laptop-2022:~$ ls /snap/discord/142/
bin  data-dir  etc  gnome-platform  meta  snap  usr

moritz avatar Oct 02 '22 12:10 moritz

The gnome-platform directory is not required any more. I am running build 143 without issue. Check that the gnome-42-2204 plug is connected, and if it isn't connect it manually with snap connect discord:gnome-42-2204 gnome-42-2204:gnome-42-2204

lucyllewy avatar Oct 02 '22 19:10 lucyllewy

I think this is required for me #138:

sudo snap install gnome-42-2204

and then:

snap connect discord:gnome-42-2204 gnome-42-2204:gnome-42-2204

niccokunzmann avatar Oct 08 '22 20:10 niccokunzmann

I think this is required for me #138:

sudo snap install gnome-42-2204

and then:

snap connect discord:gnome-42-2204 gnome-42-2204:gnome-42-2204

Thanks its worked on my system :)

gambhirsharma avatar Nov 17 '22 05:11 gambhirsharma

Thanks everyone for your help!

This probably happens when someone manually removes the content snap. Closing this as it's not an issue in the snap itself, and the instructions to fix it are known.

merlijn-sebrechts avatar Mar 05 '23 12:03 merlijn-sebrechts

I think this is required for me #138:

sudo snap install gnome-42-2204

and then:

snap connect discord:gnome-42-2204 gnome-42-2204:gnome-42-2204

buddy is a lifesaver god bless

Jacob-Gerow avatar Feb 14 '24 18:02 Jacob-Gerow