New Linux installer - Forum preview & beta testing

Hey chuck can you keep a list of release debs here so we can see if we missed any a little easier?
Also seems to be working on my debian box :wink:

Not the test case you are looking for but a fresh install on devuan ascii encountered no issues. Clean, crisp, easy and fast.

Thanks,

Thank you!

Update #1

04-July-2019 - Plex Media Server 1.16.2.1311

If no packaging-related errors or edge conditions are found in this build, this packaging will become the new mainstream packaging for all Debian based systems.

Everyone’s input is welcome here

http://plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb/

I think your link above may be broken :wink:

:man_facepalming:

DOOH. Sorry… Links corrected
(Helps if I include the server in the URL … :wink: )

Meh, these things happen to the best of us. :smile:

FWIW, worked flawlessly on Ubuntu Server 19.04.

Blockquote
Get:1 /plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb plexmediaserver amd64 1.16.2.1311-4b7ace214 [79.0 MB]
(Reading database … 146481 files and directories currently installed.)
Preparing to unpack …/plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb …
Removed /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
PlexMediaServer installer: Pre-installation Validation.
PlexMediaServer installer: Pre-installation Validation complete.
Unpacking plexmediaserver (1.16.2.1311-4b7ace214) over (1.16.2.1297-4b7ace214) …
Setting up plexmediaserver (1.16.2.1311-4b7ace214) …
PlexMediaServer installer:
PlexMediaServer installer: Now installing based on:
PlexMediaServer installer: Process Control: Systemd
PlexMediaServer installer: Plex User: plex
PlexMediaServer installer: Plex Group: plex
PlexMediaServer installer: Video Group: video
PlexMediaServer installer: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer installer: Temp Directory: /var/lib/plexmediaserver/tmp_transcoding
PlexMediaServer installer: Lang Encoding: en_US.UTF-8
PlexMediaServer installer: HW transcoding: Found
PlexMediaServer installer:
PlexMediaServer installer: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer installer: PlexMediaServer-1.16.2.1311-4b7ace214 - Installation successful.
Processing triggers for mime-support (3.60ubuntu1) …
Processing triggers for libc-bin (2.29-0ubuntu2) …
Processing triggers for desktop-file-utils (0.23-4ubuntu1) …

Great work!

Will this build work on the Raspberry Pi?

Armv8 - should be fine. I don’t have one to test on but if running a debian package manager, you should be good to go

1 Like

To all:

I can adjust the verbosity level. For purposes of this testing, it is set to verbose.
In Normal mode, the summary doesn’t output unless there is an error.

What are the feelings about this ? Retain verbosity or back to Linux normal?

I’d keep it. At worst it’s a little extra text.

However, it’s a canary if people have issues. Otherwise you have users digging up logs etc.

He’s a nice piece of info in case you and others missed.

Go grab the file /tmp/plexinstaller.log

It will tell you everything I found in shell variable format. Either the Shell output from “PlexMediaServer Installer” section or the file itself, helps me/us know exactly what we’re looking at with a machine’s configuration.

Also, go look at your system log. Now you can automate and not worry.

1 Like

fyi, new installer on WSL2

tekno@DESKTOP-TMKRN4C:~$ sudo dpkg -i /mnt/c/Users/Tekno/Downloads/plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb
(Reading database ... 16102 files and directories currently installed.)
Preparing to unpack .../plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb ...
plexmediaserver: unrecognized service
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
plexmediaserver: unrecognized service
dpkg: error processing archive /mnt/c/Users/Tekno/Downloads/plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb (--install):
 subprocess new pre-removal script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Errors were encountered while processing:
 /mnt/c/Users/Tekno/Downloads/plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb

log

tekno@DESKTOP-TMKRN4C:~$ cat /tmp/plexinstaller.log
# Plex Media Server installation configuration info:  Thu Jun 20 20:49:21 CDT 2019
Init=0
Systemd=1
IsEnabled=0
IsRunning=0
NewInstall=1
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="video"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/var/lib/plexmediaserver/tmp_transcoding"
LangEncoding="en_US.UTF-8"
HaveHardware=0
NeedUser=0
NeedGroup=0
NeedDirs=0
NeedVideo=0
NeedUdev=0
NeedOwner=0
Verbose=1
1 Like

Yes, This is known. WSL2 does not have systemctl. It pretends to be linux but is not.

I can block that but have not yet done so and will do so before final release.

The change I will implement is:

  # Detect true control program (init or systemd)
  if [ "$(cat /proc/1/comm)" = "systemd" ]; then

    ## Make sure this isn't WSL2 (not yet supported)
    if [ "$(which systemctl)" != "" ]; then
      Systemd=1
    fi
  fi

1 Like

Just downloaded and installed plexmediaserver_1.16.2.1311-4b7ace214_amd64.deb:
Error message:

PlexMediaServer installer: Pre-installation Validation.  
/var/lib/dpkg/tmp.ci/preinst: line 80: [: missing `]'
PlexMediaServer installer: Pre-installation Validation complete.

Install completed fine though.

Thank you. Accidental double tap on my part while cleaning up debug code.

  if [ -d /var/lib/plexmediaserver ] && [ $NeedUser -eq 0 ]] && [ $NeedGroup -eq 0 ]; then

See it?

Why it wasn’t detected on my end is strange but nonetheless legitimate. Corrected.

EDIT

Detection of WSL2 added. WSL2 systems will rejected by the preinstaller until Microsoft finishes all its work. It’s impossible to support a moving target (alpha/beta OS implementation)

Update 07-Jul-2019 - Plex Media Server 1.16.2.1311 (Update 2)

  • Fat fingered developer error; Fixed. Developer shot. :smiling_imp:

  • WSL2 - Now detected and blocked while in Alpha/Beta phase. Cannot support a moving target.

Everyone’s input is welcome here

1 Like

Worked fine on Rpi 4 running Buster :ok_hand:

pi@PMSpi:~ $ sudo dpkg -i plexmediaserver_1.16.2.1311-4b7ace214_armhf.deb
(Reading database ... 40703 files and directories currently installed.)
Preparing to unpack plexmediaserver_1.16.2.1311-4b7ace214_armhf.deb ...
Removed /etc/systemd/system/multi-user.target.wants/plexmediaserver.service.
PlexMediaServer installer: Pre-installation Validation.
PlexMediaServer installer: Pre-installation Validation complete.
Unpacking plexmediaserver (1.16.2.1311-4b7ace214) over (1.16.2.1297-4b7ace214) ...
Setting up plexmediaserver (1.16.2.1311-4b7ace214) ...
PlexMediaServer installer:
PlexMediaServer installer: Now installing based on:
PlexMediaServer installer:   Process Control:    Systemd
PlexMediaServer installer:   Plex User:          plex
PlexMediaServer installer:   Plex Group:         plex
PlexMediaServer installer:   Video Group:        render
PlexMediaServer installer:   Metadata Dir:       /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer installer:   Temp Directory:     /var/lib/plexmediaserver/tmp_transcoding
PlexMediaServer installer:   Lang Encoding:      en_US.UTF-8
PlexMediaServer installer:   HW transcoding:     Found
PlexMediaServer installer:
PlexMediaServer installer: Completing final configuration.
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
PlexMediaServer installer: PlexMediaServer-1.16.2.1311-4b7ace214 - Installation successful.
Processing triggers for mime-support (3.62) ...

Thanks for the report. It’s always good to know I didn’t break it :smiley:

Not an installer - specific issue. Kindly redirect to a regular PMS thread

As stated in the title and preamble

Forum Preview Goals:

  1. Test the new installer core software on Debian systems
  2. Correct any deficiencies or errors found
  3. Deploy as standard for all future Debian packaging.
  4. Integrate this installer as the core of the new RPM installer

Please mind where you’re posting.