Unable to Install Plex Media Server on Debian GNU Linux 9 stretch on a Google Pixelbook Chromebook

Server Version#: NA
Player Version#: NA
Hello, Im a new Linux user using a Pixelbook Chromebook laptop. Linux Debian GNU 9 stretch OS as well as Android and Chromeos.

Installing the Plex Media Server has been virtually impossible for me, I have looked up many forums and tutorials and after 9hrs still cant figure it out.

Please help. I ran installs through my Chrome OS system and installing package for Linux as well as through the terminal, I have tried vritually all the latest PMS versions.

I attach some Terminal registry that might help


Many thanks

Looks like there was a previous attempt to setup for PMS which was done incorrectly.

  1. Remove it all:
    a. Delete user plex,
    b. Delete group plex,
    c. Completely delete /var/lib/plexmediaserver (it’s a symbolic link to somewhere which was done completely wrong by hand)
    d. Uninstall the package

  2. Restart the system

  3. Now, install the package (the one downloaded from Plex.tv)

  4. It will create eveyrting needed and auto start

There is ONE caveat.

Type: cat /proc/1/comm
If this returns systemd, you’re ok.

However, if this returns 'init`, you have two choices:

  1. Reinstall Debian with SYSTEMD and not INIT
  2. Wait until I release the Systemd/Init agnostic packaging in a few weeks.

Either way, being new to Linux, you have a lot to learn. We are here to help but please understand we are not equipped or staffed to teach Linux.

Thanks.
Can you give me the terminal commands?

Ill try it and let you know.

Cheers

I don’t wish to seem rude but you installed it.
These are basic linux skills you need to learn.

Google is your friend. Search: Uninstall package on debian

As I previously stated.

Hi Chuck, thanks for your help
I did all the steps.
I found out the installation was not properly installed, it might have to do with the install package software in chrome, so this time I installed it through the terminal, I had to move the file around before

Now when i check the status : dpkg -s plexmediaserver … it seems its ok now.
However when I run the app .. its still doesnt open.
It opens in my browser http://penguin.linux.test:32400/web/index.html
and the Linux Plex Media Server app doesnt finish opening!
Is there anything else I can try to get this app functioning?

tthanks

54%20AM|690x459

When installing ON the device,

  1. Sign out of Plex/web first (upper right)
  2. Now open it via the loopback adapter ( http://127.0.0.1:32400/web )

Using a FQDN usually presents a WAN address. PMS cannot be setup and claimed from a WAN IP. A remote SSH-Tunnel is used to present IP addr 127.0.0.1 even when remote. This satisfies the Self or RFC-1918 LAN requirement required for initialization.

Hello,

I cant find any indications on how to install a Loopback adapter on Chromebook.

Shouldn’t be so complicated to get this software up and running… im disappointed in plex.

You’re using Debian, a loopback adapter is defined by default.

ifconfig lo0

will show it’s configuration at 127.0.0.1.

When there are no other network adapters defined, Linux creates 127.0.0.1 so basic services work.

If not seeing one from the ifconfig above, your configuration won’t work for PMS. The loopback adapter is required for PMS to talk to itself just like Linux and the desktop uses it.

As for disappointed in Plex??

How about understanding BASIC LINUX OPERATION before you go throwing stones and pointing fingers.

“I cant find any indications on how to install a Loopback adapter .” Really?

I believe you will be far better served by going back to Windows or MacOS where everything is point & click

Hi Chuck,

Sorry for the misuderstanding, im still lokking into this, I found that Debian 9 no longer uses ifconfig.
Im trying to do your instructions using ip command.

I found come tutorials, but please explain what you suggest me to do? Open the web address t ( [http://127.0.0.1:32400/web through the linux terminal?
Does the PMS need to be running when I do it, even if the app doesnt open?

thanks again
cheers

You cannot install completely headless .

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

Scroll down to Server Installation

Try this.

This will remove your current installation (hopefully).
dpkg --purge plexmediaserver

From the looks of your screenshot, you’ve already downloaded the .deb file, so this will install it.
dpkg -i /tmp/plexmediaserver_1.17.0.1709-982421575_amd64.deb

If it returns with errors, then it didn’t install. If it says it installed successfully, check if it’s running with this command.
systemctl status plexmediaserver

Then from a computer on the same subnet, go to
http://YOURPLEXSERVERIPHERE:32400/web

I set up my Plex on a headless server and it let me adopt it from another computer on the same network.

Hi ShadowBlade, thanks,

I’m trying your instructions, did the reinstall and worked, plexmediaserver when I put my systemctl says its running.

However, when I try to put my IP and 32400 address, it doesn’t open. The software doesn’t open as well, when I open the PMS icon

the IP I got from What Is My IP Address & Location? (IPv4/IPv6 Lookup)


I attach some evidence.

thanks

No, not your external IP address. For initial setup, you need to do it from within your home network.

So you should be going to something like http://192.168.1.29:32400/web

Run this on your Linux server that’s hosting Plex.
ip addr show

Then find the IP address of your server (should be eth0) and use that for the http://INTERNALIP:32400/web

Should be something like 192.168.X.X

Hi Thanks again for the help.

I ran the command in terminal

and I used the IP shown to try and load the web in my Chrome browser.

This is what it showed.

What else do you suggest?
thanks

Based on what I see here, you aren’t NATing behind a home router, but are plugged directly into your ISPs modem, which has assigned your boxes a carrier grade NAT (CGN) IP address.

Go here and scroll down to “On a Different Network” and follow the instructions.

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

Also, I can’t quite understand from your posts, but are the Chromebook and the server separate machines, or are you attempting to install Plex on a Chromebook?

If it’s the same system, you can just navigate to:

http://127.0.0.1:32400/web

Hi Shadowblade;

The PMS is on the same Chromebook (Pixelbook) im trying to manage it in.

Chromebook has a beta Linux Debian 9 stretch version

I try both addresses and they dont open…

Do I leave everything closed and just try on a browser or does something else need to be running?

Cheers

I’m not familiar with Chromebooks, so I can’t offer any advice beyond what I’ve offered at this point.

The server is installed and running, so anything beyond that is going to be up to you to troubleshoot.

Hi Im going to try this connected to my home WIFI in a few hours and let you know

cheers

Hey ShadowBlade,

Ive been trying everything.

I double checked my setting and tried every IP,…
the only one that opens is http://100.115.92.206:32400/web/index.html
it opens up my web app, but my server I still cant access.

It seems like im so close, but so far.

please help with any ideas

this is my ip info:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 100.115.92.206 netmask 255.255.255.240 broadcast 100.115.92.207
inet6 fe80::216:3eff:fe8b:4411 prefixlen 64 scopeid 0x20
ether 00:16:3e:8b:44:11 txqueuelen 1000 (Ethernet)
RX packets 5759 bytes 845137 (825.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 11580 bytes 147835732 (140.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 2433 bytes 768407 (750.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2433 bytes 768407 (750.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions

Have you opened chrome incognito and tried the loopback address to claim the server? http://127.0.0.1:32400/web

It is not going to let you claim it from that internet IP address no matter what you try.