Server Version#: 1.30.1.6497
Player Version#: N/A
I have a server that has been running plex server on ubuntu for years without issue, thank you!
I’ve been having some play issues (no play on certain videos that had no problem a week ago) and thought a removal and re-installation may fix things.
Today I tried re-installing 1.30.1.6497 and the issue below of not being able to create the user “plex” appeared. Then I tried downgrading back to 1.30.0.6486 and the issue persisted.
So I manually added the user plex to the correct GID and tried installing 1.30.0.6486 again, this output is the second output. I’m not sure what to do next, and the initial error said “PlexMediaServer install: Assistance is available in our Support Forums.” so here I am.
sudo apt install plexmediaserver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 85.1 MB of archives.
After this operation, 250 MB of additional disk space will be used.
Get:1 http://internal.server/repos/apt/debian jammy/main amd64 plexmediaserver amd64 1.30.0.6486-629d58034 [85.1 MB]
Fetched 85.1 MB in 1s (79.1 MB/s)
Selecting previously unselected package plexmediaserver.
(Reading database ... 127276 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.30.0.6486-629d58034_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.30.0.6486-629d58034) ...
Setting up plexmediaserver (1.30.0.6486-629d58034) ...
PlexMediaServer install: PlexMediaServer-1.30.0.6486-629d58034 - 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: video
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: Processor: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
PlexMediaServer install: Intel i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
useradd: group plex exists - if you want to add this user to that group, use -g.
PlexMediaServer install: ERROR: Cannot create user "plex". Error: 0
groups: ‘plex’: no such user
usermod: user 'plex' does not exist
PlexMediaServer install: ERROR: Cannot add 'plex' to video group 'video'. Error: 0
usermod: user 'plex' does not exist
PlexMediaServer install: WARNING: Could not add 'plex' to video group 'video'. Error 0
PlexMediaServer install: Plex Media Server: ver PlexMediaServer-1.30.0.6486-629d58034 - Installation failed. Final configuration not performed.
PlexMediaServer install: Assistance is available in our Support Forums.
PlexMediaServer install: both
dpkg: error processing package plexmediaserver (--configure):
installed plexmediaserver package post-installation script subprocess returned error exit status 255
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Errors were encountered while processing:
plexmediaserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt install plexmediaserver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
plexmediaserver is already the newest version (1.30.0.6486-629d58034).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up plexmediaserver (1.30.0.6486-629d58034) ...
PlexMediaServer install: PlexMediaServer-1.30.0.6486-629d58034 - 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: video
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: Processor: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
PlexMediaServer install: Intel i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
useradd: user 'plex' already exists
PlexMediaServer install: ERROR: Cannot create user "plex". Error: 0
PlexMediaServer install: Plex Media Server: ver PlexMediaServer-1.30.0.6486-629d58034 - Installation failed. Final configuration not performed.
PlexMediaServer install: Assistance is available in our Support Forums.
PlexMediaServer install: both
dpkg: error processing package plexmediaserver (--configure):
installed plexmediaserver package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
plexmediaserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
