Plex server update UBUNTU SERVER

Server Version#:21.10 (lMPISH INDRI) 64BIT
kernel linux 5.13.0-20generic x86_64

Player Version#:1.24.4.5081 on the server

dpkg: error: unable to read filedescriptor flags for : Bad file descriptor
Thanks to the draft option on the forum i was able to keep the draft open after the computer froze after trying to install the update yet again. I tried to skip the prev update for the same reason. I brought this up in another post and i was shut down by a mod, saying it was not related…while the problem is similar which i brought it up nothing was resolved.

The server is functional, operating as intended, and also has remote access without issues. The issue is using the commands on TERMINAL to install the oldschool way and using the gdebi installer ( which makes it similar to installing an .exe in windows ). The error is the one that appears at the beginning of the post.

Every attempt is met with a crash either from the kernel or the actual window. The gdebi window also does not close and stays on top of other windows causing it to be extremely annoying to work around with.

I tried installing this update on a VM machine and the result is the same.
Im creating a new post with hopes of not getitng smirky remarks from a mod that’s in the wrong place or someone telling me that they are different from this OS or the Next.

Hopefully the response is more helpful than those comments mentioned above like before.

Any thoughts on how to fix it?

note: even on the VM it was a fresh install of Ubuntu and tried ubuntu server hoping it was an OS issue, and it gave me the same error back to back.

Beta 21.10 ?

I’ve not had chance to test that yet.

Bad file descriptor wreaks of a DPKG bug.

Ubuntu Desktop - 2110, with updates:

root@ubuntu:/home/chuck/Downloads# ls
firefox.tmp  plexmediaserver_1.24.4.5081-e362dc1ee_amd64.deb
root@ubuntu:/home/chuck/Downloads# dpkg -i plexmediaserver_1.24.4.5081-e362dc1ee_amd64.deb 
Selecting previously unselected package plexmediaserver.
(Reading database ... 161461 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.24.4.5081-e362dc1ee_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.24.4.5081-e362dc1ee) ...
Setting up plexmediaserver (1.24.4.5081-e362dc1ee) ...
PlexMediaServer install: PlexMediaServer-1.24.4.5081-e362dc1ee - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   New
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp 
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Intel i915 Hardware: Not found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:  
PlexMediaServer install: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer install: PlexMediaServer-1.24.4.5081-e362dc1ee - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
root@ubuntu:/home/chuck/Downloads# uname -a
Linux ubuntu 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu:/home/chuck/Downloads# 

Continuing eval.

Ty Chuck. I’m about to hit the rack right now but any findings you get I will definitely try to implement any fix once you let me know. I’m not an expert but I can definitely follow your lead to the best of my ability.

Thanks in advance

Give me 2 minutes and I’ll have confirmation or not on Server (the VM just came up)

It’s fine.

Running in VMware 16 Workstation. I’m sure it’ll be just as solid in ESXi

chuck@server2110:~$ sudo bash
[sudo] password for chuck: 
root@server2110:/home/chuck# wget https://downloads.plex.tv/plex-media-server-new/1.24.5.5173-8dcc73a59/debian/plexmediaserver_1.24.5.5173-8dcc73a59_amd64.deb
--2021-10-27 00:41:56--  https://downloads.plex.tv/plex-media-server-new/1.24.5.5173-8dcc73a59/debian/plexmediaserver_1.24.5.5173-8dcc73a59_amd64.deb
Resolving downloads.plex.tv (downloads.plex.tv)... 2606:4700::6812:c2f, 2606:4700::6812:d2f, 104.18.12.47, ...
Connecting to downloads.plex.tv (downloads.plex.tv)|2606:4700::6812:c2f|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 87048750 (83M) [application/x-debian-package]
Saving to: ‘plexmediaserver_1.24.5.5173-8dcc73a59_amd64.deb’

plexmediaserver_1.24.5.5173-8dc 100%[=======================================================>]  83.02M  64.4MB/s    in 1.3s    

2021-10-27 00:41:58 (64.4 MB/s) - ‘plexmediaserver_1.24.5.5173-8dcc73a59_amd64.deb’ saved [87048750/87048750]

root@server2110:/home/chuck# dpkg -i plexmediaserver_1.24.5.5173-8dcc73a59_amd64.deb 
Selecting previously unselected package plexmediaserver.
(Reading database ... 71011 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.24.5.5173-8dcc73a59_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.24.5.5173-8dcc73a59) ...
Setting up plexmediaserver (1.24.5.5173-8dcc73a59) ...
PlexMediaServer install: PlexMediaServer-1.24.5.5173-8dcc73a59 - Installation starting.
PlexMediaServer install: 
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   New
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /tmp 
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Intel i915 Hardware: Not found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install:  
PlexMediaServer install: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer install: PlexMediaServer-1.24.5.5173-8dcc73a59 - Installation successful.  Errors: 0, Warnings: 0
root@server2110:/home/chuck# uname -a
Linux server2110 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
root@server2110:/home/chuck# 

Check that download image. Use wget

Will do. Thanks for that I will try as soon as I get off duty and get back. I appreciate you’re time and expertise. I will report any findings.

Sleep well, have a safe day tomorrow.

thank you Chuck you are a gentleman and a scholar!

I tried it on the laptop i got from work, MIL computers are trash but it worked there.
When i got home it i did a step by step follow up from the code you submitted and everything worked successfully.

From what i could tell there is a possibility that the Gdebi wasn’t launching as SUDO… possibly. But hey, it worked like a charm using TERMINAL so thank you very much for your assistance with this.

Have a great day
SemperFi

@Mad-Titan

Through the GUI blocks installing DEB files. It only supports SNAP installations as of 20.04.

I’m curious why you were attempting to GUI install (gdebi) on a server install where there is no GUI) but no matter.

Ubuntu Server is intended to be Shell / command line only.

If you want the GUI, use Desktop :wink:

Glad it worked out.