The flatpak Linux Plex desktop client wont launch

Hello,

I installed POP_OS recently, updated & upgraded the OS and whatever the pop shop told me to. I installed Plex, but it will not launch. The Plex logs are also of no use it seems:

cat /home/nv/.var/app/tv.plex.PlexDesktop/data/plex/Logs/Plex.log

Jul 12, 2022 18:54:27.772 [0x7f6e314bd640] INFO - Starting Plex version: 1.48.2.3124-647ff031
Jul 12, 2022 18:54:27.773 [0x7f6e314bd640] INFO - Running on: Freedesktop.org 21.08.14 (Flatpak runtime) [5.17.15-76051715-generic] x86_64
Jul 12, 2022 18:54:27.773 [0x7f6e314bd640] INFO - Happy Plexing!
Jul 12, 2022 18:54:27.772 [0x7f6e314be8c0] INFO - [OpenGL] Selected desktop renderer.
Jul 12, 2022 18:54:27.772 [0x7f6e314be8c0] INFO - [OpenGL] Default surface format version: 2.0
Jul 12, 2022 18:54:27.772 [0x7f6e314be8c0] INFO - [OpenGL] Selecting surface format version: 2.0; profile: 1
Jul 12, 2022 18:54:27.843 [0x7f6e314be8c0] INFO - [Settings] Web inspector port 0
Jul 12, 2022 18:54:27.844 [0x7f6e314be8c0] INFO - [NanoServer] Starting nano server.
Jul 12, 2022 18:54:27.844 [0x7f6e314be8c0] DEBUG - [NanoServer] Setting app support dir to /home/nv/.var/app/tv.plex.PlexDesktop/data/plex
Jul 12, 2022 18:54:27.844 [0x7f6e314be8c0] INFO - [NanoServer] Found available port: 32700
Jul 12, 2022 18:54:27.845 [0x7f6e314be8c0] INFO - [NanoServer] Changing nano server port from 0 to 32700.
Jul 12, 2022 18:54:27.845 [0x7f6e314be8c0] DEBUG - [NanoServer] Setting listener port to 32700
Jul 12, 2022 18:54:27.845 [0x7f6e314be8c0] DEBUG - [NanoServer] Setting environment up.

However, looks like launching from the terminal yields something:

nv@pop-os:~$ flatpak run tv.plex.PlexDesktop
/usr/share/libdrm/amdgpu.ids: No such file or directory
Plex Media Server is already running. Will not start...

The file is there… what is going on?

nv@pop-os:~$  ll /usr/share/libdrm/amdgpu.ids
-rw-r--r-- 1 root root 10387 Mar 31 17:15 /usr/share/libdrm/amdgpu.ids

This is a bug that manifests when the app doesn’t cleanly shut down. Delete ~/.var/app/tv.plex.PlexDesktop/data/plex/Plex Media Server/plexmediaserver.pid and it will launch again.

1 Like

Oh wow- that worked! Thanks so much! how did you find this solution? is a bug fix coming?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.