Fresh install of Plex Server Locks up On VMware VM Version 13

Server Version#: 1.16.1.1291
Player Version#: N/A

Fresh installation on Ubuntu 18.04 using the repo from the help section. Server gets this far through the install and locks up.

sudo apt install plexmediaserver
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
plexmediaserver
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/78.9 MB of archives.
After this operation, 233 MB of additional disk space will be used.
Selecting previously unselected package plexmediaserver.
(Reading database … 68534 files and directories currently installed.)
Preparing to unpack …/plexmediaserver_1.16.1.1291-158e5b199_amd64.deb …
Unpacking plexmediaserver (1.16.1.1291-158e5b199) …
Processing triggers for mime-support (3.60ubuntu1) …
Processing triggers for ureadahead (0.100.0-21) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
Setting up plexmediaserver (1.16.1.1291-158e5b199) …

Configuration file ‘/etc/apt/sources.list.d/plexmediaserver.list’
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** plexmediaserver.list (Y/I/N/O/D/Z) [default=N] ?
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
Processing triggers for libc-bin (2.27-3ubuntu1) …
Processing triggers for ureadahead (0.100.0-21) …

Have to reset VM and reboot. Install then doesn’t look good and fails to start. Shows the following in the Log: -

cat /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log
Jul 10, 2019 10:33:52.785 [0x7f44c0d78700] INFO - Plex Media Server v1.16.1.1291-158e5b199 - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT 00:00
Jul 10, 2019 10:33:52.785 [0x7f44c0d78700] INFO - Linux version: 18.04.2 LTS (Bionic Beaver), language: en-US
Jul 10, 2019 10:33:52.785 [0x7f44c0d78700] INFO - Processor Intel(R) Core™ i5-7500 CPU @ 3.40GHz
Jul 10, 2019 10:33:52.785 [0x7f44c0d78700] INFO - /usr/lib/plexmediaserver/Plex Media Server
Jul 10, 2019 10:33:52.785 [0x7f44cdb15280] DEBUG - BPQ: [Idle] → [Starting]
Jul 10, 2019 10:33:52.786 [0x7f44cdb15280] DEBUG - Opening 20 database sessions to library (com.plexapp.plugins.library), SQLite 3.26.0, threadsafe=1
Jul 10, 2019 10:33:52.789 [0x7f44cdb15280] DEBUG - Running migrations. (EPG 0)
Jul 10, 2019 10:33:52.789 [0x7f44cdb15280] ERROR - SQLITE3:(nil), 1, no such table: schema_migrations in “select version from schema_migrations order by version”
Jul 10, 2019 10:33:52.789 [0x7f44cdb15280] ERROR - Database corruption: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version
Jul 10, 2019 10:33:52.789 [0x7f44cdb15280] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version (N4soci10soci_errorE)

It asks a question on install to change the ‘/etc/apt/sources.list.d/plexmediaserver.list’ config file. I’ve tried saying yes and no to this but both fail. Any help would be appreciated.

Quick update, tested install on fresh 16.04 LTS and it works. So 18.04 not supported yet with out tweaks??

Your initial post above

What would you like to do about it ? Your options are:
Y or I : install the package maintainer’s version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** plexmediaserver.list (Y/I/N/O/D/Z) [default=N] ?
Created symlink /etc/systemd/system/multi-user.target.wants/plexmediaserver.service → /lib/systemd/system/plexmediaserver.service.
Processing triggers for libc-bin (2.27-3ubuntu1) …

shows it is not a “fresh” installation.

Claims PMS locks the system always have been resolved to a system issue.

A. Bad OS install
B. Incompatible VMware configuration — ( more common by far )

Thanks for the response @ChuckPa.

The 18.04 was a new install, I added the repo before running apt install plexmediaserver rather than downloading the package and doing a manual install. I always seem to prefer doing it that way as I don’t rely on the install media adding a repo for me. I copied the repo how to from the plex site here. The install then wanted to change what I’d echo’d in to the source file. I’m pretty sure this counts as a fresh install :wink: .

Can you elaborate on and thing that I should be doing with a fresh install of 18.04 to get it working. It was definitely locked up. The console of the VM would do nothing. I’ve rebuilt the VM with 16.04 but I very rarely rebuild my ‘plex server’ and it was about time so I thought I’d go for a fairly new version of the distro. As for VMWare config, as I’ve said I rebuilt the same VM with 16.04 and the install worked straight away.

Thanks

Before proceeding , confirm please , You are or are not running 18.04 native on the host?

If you indeed are using a VM. There is a known major incompatibility with VMware itself.

Several customers have needed to back down to an older version change their compatibility mode to previous. If you search, you will find it.

I’ll look that up. I’m running esxi 6.5. VM Version 13. I was running 18.04 LTS live server image. Nothing really very special as I’m not all that special when it comes to nix. :smiley:

I think it’s precisely 6.5 v 13 which is the problem

Please do search. This is not a Plex problem. It’s entirely a vmware problem w/ ubuntu which has previously been solved.

Here.

Huge thanks @ChuckPa and for the link. I did try various searches on the forum, but missed the VMWare specific stuff. I’m running a couple of 18.04 servers for other things, ELK, web server, etc so didn’t jump on that side of it initially. I’ll change the title a little to not blame Plex, but maybe a basic search could throw it up if someone else get the problem.

Did reconfiguring / recreating a VM per that thread help you resolve the problem?

I’m sure it will, I will report back here as soon as I get some time to rebuild again. Probably next week now.

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