Plex Media Server on ARMhf Routers

Works only on armhf routers with v4 kernel like RT-AC86U...
For other armel routers, use this PMS version
Tested with PMS v1.10.1.4602 on RT-AC86U running RMerlin firmware v382.2_alpha2, hdd usb3, Optware & Entware

1 - Flash RMerlin firmware from here

2a - Install Optware-NG from here and choose 2GB swap file
or
2b - Install Entware-NG from here and choose 2GB swap file

3 - Setup Debian Stretch from here

4 - Enter chrooted debian with:

debian enter

5 - Update Debian

apt update && apt upgrade -y

6 - Install necessary packages

apt install wget libexpat1 apt-transport-https binutils gnupg zip

- Get uglymaoo’s gpg key

wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -

- Add Plex to sources.list

echo "deb https://dev2day.de/pms/ stretch main" | tee /etc/apt/sources.list.d/pms.list

- Update debian

apt update

10 - Install latest version of Plex Media Server

apt install plexmediaserver-installer

11 - Exit Debian

exit

12 - Add Plex to chrooted services list

echo "" >>/opt/etc/chroot-services.list
echo "plexmediaserver" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

13 - Start Plex from outside debian together with mounted external folder

debian restart

14 - Wait about 30 seconds then go to default router ip address and port :32400/web, like 192.168.1.1:32400/web or www.asusrouter.com:32400/web

15 - Create a free or paid plex account


16
 - Give server a name


17
 - Create a new library and point to /mnt as path, if you want to mount a samba share use this guide


Enjoy...


How to Install the Plex Unsupported App Store through WebTools

Enter chrooted debian

debian enter

Download and unzip webtools v3.0.0

cd /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/
wget https://github.com/ukdtom/WebTools.bundle/releases/download/3.0.0/WebTools.bundle.zip
unzip WebTools.bundle.zip
rm WebTools.bundle.zip

Go to default router ip address and port :33400, like 192.168.1.1:33400 or www.asusrouter.com:33400


Go to UAS and install some channels


Now go to Plex webpage, click on Channels and use UAS installed apps...


Source: htpcguides.com