Server Version#: 1.20.3.3437-f1f08d65b_amd64
I’m trying to install Plex on an old Ubuntu HTPC. I recently updated it to 20.04 (it was on 14.04 before the series of updates), it has an old AMD APU and 4 GB of RAM (checking the free ram in system monitor shows about 3 GB available and during the install it stays around 1 GB in use). I’ve tried installing Plex multiple times, both with dpkg and sudo apt install and no matter what I get the same error about failed to allocate memory.
➜ Downloads sudo apt install ./plexmediaserver_1.20.3.3437-f1f08d65b_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'plexmediaserver' instead of './plexmediaserver_1.20.3.3437-f1f08d65b_amd64.deb'
The following NEW packages will be installed:
plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
After this operation, 242 MB of additional disk space will be used.
Get:1 /home/rooday/Downloads/plexmediaserver_1.20.3.3437-f1f08d65b_amd64.deb plexmediaserver amd64 1.20.3.3437-f1f08d65b [79.7 MB]
Selecting previously unselected package plexmediaserver.
(Reading database ... 210180 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.20.3.3437-f1f08d65b_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.20.3.3437-f1f08d65b) ...
Setting up plexmediaserver (1.20.3.3437-f1f08d65b) ...
PlexMediaServer install: PlexMediaServer-1.20.3.3437-f1f08d65b - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: Update
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: Transcoding HW: Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
Failed to write 'change' to '/sys/devices/virtual/input/input17/uevent': Cannot allocate memory
Failed to write 'change' to '/sys/devices/virtual/input/input18/uevent': Cannot allocate memory
dpkg: error processing package plexmediaserver (--configure):
installed plexmediaserver package post-installation script subprocess returned error exit status 1
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) ...
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
plexmediaserver
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is the exact same issue as mentioned in this thread (I’m even using ckb-next as well coincidentally), but as you can see that thread has been closed due to inactivty. It’s been over 3 months and the issue still persists, so is this something deeper/does anyone have any fixes? Do I simply have too little RAM on this machine? But then I’ve also seen docs saying Plex runs with even 2 GB of RAM. I’d greatly appreciate any help!