

Read only filesystem is the problem, but we need more info to figure out what that means.
Run ls -lh /opt and ls -lh /opt/discord and post the output of both here.
Would also be good to check your drive for SMART errors in case it’s on its way out.
















Okay, well there’s your problem. Everything is owned by root, and you’re running this program as your local user.
Basically, it’s trying to download an update but can’t write to the directory because you don’t have permissions.
Just install the Flatpak, honestly, and skip this mess.
Digging deeper, I think this is just a bad call one two fronts: the package maintainers, and the Discord devs who should have this as a handled exception instead of bailing like this.
If you want to fix it temporarily, just
chown -R [your_username] /opt/discordand that should stop it. I guarantee it’ll break on the next pacman update again though.