If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Plex Media Server for armhf and arm64 using Debian or Ubuntu

uglymagoouglymagoo Posts: 898Members, Plex Pass, Plex Ninja, TunerTester Plex Ninja

Introduction

There is no official Ubuntu / Debian Plex Media Server package for armhf or arm64. But fortunately, some of the existing Plex Media Server binaries for Synology and Netgear ARMv7 NAS devices work very well on the generic armhf port of Ubuntu / Debian and even on the arm64 ports, using the armhf multiarch support. For the last two years, I have been creating ready to use packages for Ubuntu and Debian and hosted my own repository on dev2day.de. Beginning today, we will use this special section of the Plex forum to provide support for my packages and my repository. Nothing else will change.

Repository Packages

My repository does not contain Plex Pass Betas, only the public and stable releases. Please check the official release thread before you ask me why PMS version X.Y.Z is not available in my repository.

https://forums.plex.tv/discussion/62832/plex-media-server#latest

Device Support

Historically, the first supported device was the ARMv7 Raspberry Pi 2. In theory, all ARMv7 and all ARMv8 devices with AArch32 support can use my package and repository. This includes for example also the Raspberry Pi 3, the Banana Pis and ODROIDs.

Unsupported Devices

Please tell me about your problems so I can maintain a list of known incompatible devices here.

Manage Expectations

Video transcoding is not recommended at all on ARMv7 and ARMv8 devices. For the best experience, always aim for Direct Play support on all of your devices.

OS Installation

It's out of scope of this text to explain how to install Ubuntu / Debian on your ARMv7 / ARMv8 device. Please see the official manufacturer pages that will always contain the links to most up-to-date tutorials and images.

Most importantly: in 99 % of all cases you will just have to flash the appropriate SD card image and maybe resize the root partition. You will NOT have to prepare a special Plex user, install special cron jobs to reboot your device every night or install some fancy service control service. Please do not listen to most of the tutorials out there. Just finish the basic installation and that's it.

Here is a growing link list for the most important devices:

Plex Installation

Now, you have to install the Plex Media Server package from my Debian repository. Select the below commands according to the architecture of your Debian distribution. If you are in doubt use the command uname -m.

armhf / ARMv7 (e.g. Raspbian for RPi 2/3)

# become root
sudo su
# add my public key
wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -
# add my PMS repo
echo "deb https://dev2day.de/pms/ stretch main" >> /etc/apt/sources.list.d/pms.list
# activate https
apt-get install apt-transport-https
# update the repos
apt-get update
# install PMS
apt-get install plexmediaserver-installer

arm64 / ARMv8

# become root
sudo su
# add my public key
wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -
# add my PMS repo
echo "deb [arch=armhf] https://dev2day.de/pms/ stretch main" >> /etc/apt/sources.list.d/pms.list
# activate https
apt-get install apt-transport-https
# enable armhf support
dpkg --add-architecture armhf 
# update the repos
apt-get update
# install PMS
apt-get install plexmediaserver-installer:armhf 

Initial Web Configuration

To complete the installation please read the section "Opening the Plex Web App on a Device Other than the Server Itself" of the official Plex Linux guide.

https://support.plex.tv/articles/200288586-installation/

Mounting USB Drives

To be able to use your media on your USB drives you have to mount these drives with the correct Linux permissions. There is a great tutorial in the general Linux section. Please read this guide! It will answer 95% of your questions.

Do not change the user of the Plex Media Server to pi or root. Never! Just read the guide and you will learn how to live with the default user plex.

https://forums.plex.tv/discussion/279063/using-ext-or-ntfs-drives-internal-or-external-on-linux

Most other Problems

First read the tutorials in the Linux Tips section before asking general Linux questions here.

https://forums.plex.tv/categories/linux-tips

Bug Reports

Please read "Reporting a Linux Bug" and provide the discussed information.

https://forums.plex.tv/discussion/160614/reporting-a-linux-bug-read-first

Package Scripts

https://github.com/uglymagoo/plexmediaserver-installer

Official instructions for Plex Media Server on the Raspberry Pi 2 and 3 / Banana Pi / ODROID / many more : armhf and arm64 Debian Repository
My PMS hardware: RPi 2, NVIDIA Shield TV, Intel Xeon

This discussion has been closed.