[SOLVED] First installation of Plex media server on Debian and on Raspberry (raspbian)

Hello
i’ve read many topics concerned debian : most of them explain how to upgrade the server but I don’t find how to install Plex media Server on Debian.

When I clic on

the linux version is for ubuntu or others distributions but not for debian.

where can I find information about installation ? where can I download the version for debian ?

I’m a beginner in Linux Word.
I have choosen Debian because I want to see if I am able to install PMS on Debian before buy a rasbperry Pi (I have seen we can install Raspbian and then PMS). So before to buy the little computer, I 'd like to discover linux word :wink:

Many thanks for your help
and sorry for my poor english … i’m french !

I am not very well versed in the Linux world (and am a beginner as well). However, Ubuntu is based on Debian, so you could try using the install for that distro to install on your sever.

Worse case I can see is that it will not install or you need to re-install Debian (not necessarily a bad thing as it gives you practice installing it).

-Shark2k

The official Ubuntu Package will just work on Debian 9.x and newer.

For RPi Ubuntu / Debian packages take a look at my thread:

many thanks for your 2 responses ! I will try to install ubuntu package in next days ! I will say you the result !

bye

many thanks. i’m not sur to understand : RPi is a armhf architecture ? your package works on RPi ?

Yes and Yes. RPi 2 and newer run armhf Raspbian and thus support my PMS package. Make sure not to buy a armv6 RPi 1 or Zero.

hello every body !

@drmagoo : i’ve received my Raspberry Pi ( model b+) yesterday. i’ve installed Noobs and then Raspian.
Then, i’ve installed the application ntfs, and i’ve plugged my hard drive (ntfs). I’ve also follow your instruction for armv7 on the page https://dev2day.de/plex-media-server-arm/
all seem to be ok. I can launch PMS (http://localhost:32400/web/)

But I have a problem : when I create a library on PMS and add a add a folder with 2 movies : /media/pi/FILMS/test
it scan the folder but find no files !

i did several tests but it’s always the same pb : no movies are detected

can you help me please ?

I can give you a screenshot but I don’t know how !

many thanks in advance !

Did you follow the naming guide? If not, Plex will not find it.
https://support.plex.tv/articles/200381023-naming-movie-files/

Please read the following guide to mount your drives with the correct Linux permissions:

hello !
I try to follow, step by step, the guide to mound my drive. It’s a external USB hard drive, in ntfs, named FILMS

pi@raspberrypi:~ $ df
Sys. de fichiers blocs de 1K Utilisé Disponible Uti% Monté sur
/dev/root 28820984 4504520 22829388 17% /
devtmpfs 470116 0 470116 0% /dev
tmpfs 474724 80084 394640 17% /dev/shm
tmpfs 474724 6432 468292 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 474724 0 474724 0% /sys/fs/cgroup
/dev/mmcblk0p6 69553 22419 47134 33% /boot
tmpfs 94944 0 94944 0% /run/user/1000
/dev/mmcblk0p5 30701 398 28010 2% /media/pi/SETTINGS
/dev/sda2 3906885628 1255425120 2651460508 33% /media/pi/FILMS
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# blkid /dev/sda2
/dev/sda2: LABEL=“FILMS” UUID=“4A60D8C960D8BD3F” TYPE=“ntfs” PARTLABEL=“Basic data partition” PARTUUID=“37325d46-6b84-4aa3-89f8-da65bffb2b1b”
root@raspberrypi:/home/pi# mkdir /disks /disks/films
root@raspberrypi:/home/pi# chown -R pi:pi /disks
root@raspberrypi:/home/pi# ls -la /disks
total 12
drwxr-xr-x 3 pi pi 4096 juil. 16 21:08 .
drwxr-xr-x 23 root root 4096 juil. 16 21:08 …
drwxr-xr-x 2 pi pi 4096 juil. 16 21:08 films

in the guide, after doing chown, they have the permissions : drwxrwxrwx … and me, I have the permissions drwxr-xr-x : is it good ?
I continue :

root@raspberrypi:/home/pi# vi /etc/fstab

… I don’t understand anything to the file editor !! I want to add a line :
UUID=4A60D8C960D8BD3F /disks/films ntfs defaults,auto,rw,nofail 0 1

When I try to open fstab in a Leafpad, I can not save because the file is read only …

can you please explain me how to modify simply this file ? and is the line I want to add is correct ?

Many thanks for your help !
and sorry to ask stupid questions !

Instead of vi use nano, it is much easier to use:

sudo nano /etc/fstab

/etc/fstab is only writeable by root. So also a sudo leafpad /etc/fstab allows you to edit this file in the GUI if you do not have any experience with the terminal editors.

1 Like

Thanks you very much for all your advises ! I manage to install PMS on my raspberry ! i’m very proud of me :smiley:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.