Discord not longer work

I am no longer to start the Discord client app. It seems the application is no longer working after a system crash.

Usually, when something similar happens, I rename ~/.config/discord and it resolves the issue. But, not this time.

I have these messages at the end of my log:

mar 19 14:45:53 pierre-nixos systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
mar 19 14:46:08 pierre-nixos systemd[2349]: app-gnome-org.gnome.Settings-10842.scope: Consumed 1.433s CPU time, 79.1M memory peak.
mar 19 14:46:13 pierre-nixos .gnome-shell-wr[2602]: Could not create transient scope for PID 11032: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
mar 19 14:46:13 pierre-nixos systemd[1]: systemd-hostnamed.service: Deactivated successfully.

I don’t know if it is related to not.

I tried starting the application from the command line. It starts but it quit immediately without leaving any messages.

Any suggestions about how I can have Discord back?

Information on my machine:

Kernel: 6.6.83
Uptime: 35 mins
Packages: 1075 (nix-system), 1319 (nix-user), 2 (nix-default), 8 (flatpak)
Shell: zsh 5.9
Resolution: 3840x2160
DE: GNOME 47.2 (Wayland)
WM: Mutter
WM Theme: Adwaita
Theme: Graphite-blue-Light-nord [GTK2/3]
Icons: WhiteSur-dark [GTK2/3]
Terminal: ghostty
CPU: AMD Ryzen 7 5700G with Radeon Graphics (16) @ 4.673GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Memory: 5736MiB / 60159MiB

I’ve installed Discord from Flatpak and this version of the client is working.

Although, my Nix Discord continues to not work. :cry:

what is ur NixOS version / channel?

nixos https://channels.nixos.org/nixos-24.11
nixos-unstable https://nixos.org/channels/nixos-unstable

I used the stable channel.

Could it be a partial installation, since I had a crash while switching to a new generation?

I doubt NixOS would let that happen.

What do you mean by “crash”?

My machine has frozen. I had to reset to restart it while I was switching to a new derivation.

The file system is not atomic. There are certain limits.

1 Like

this is likely the issue

There is a repair option.

 ✘ pierre@pierre-nixos  ~/nixos-config   main ±  sudo nixos-rebuild switch --flake . --repair
warning: Git tree '/home/pierre/nixos-config' is dirty
building the system configuration...
warning: Git tree '/home/pierre/nixos-config' is dirty
path '/nix/store/fy97995b8iq4s9pgifygi87dynbxxxc3-discord-0.0.88' is corrupted or missing!
found corrupted or missing path '/nix/store/fy97995b8iq4s9pgifygi87dynbxxxc3-discord-0.0.88' in the output closure of '/nix/store/xwgpg1cn9xzpkdhpchjds59kyxfg5wi3-nixos-system-pierre-nixos-24.11.20250318.da04445.drv'
activating the configuration...
setting up /etc...
restarting systemd...
reloading user units for pierre...
restarting sysinit-reactivation.target

Discord is not now repaired and working again. :grinning: