Ubuntu 18 server freezes after installing plex and unable to start PMS

Yeah I am aware it is not the best CPU around but it is more than i need and it should be well able for what i need it for, which is Max 2 streams at once and very rarely a transcode stream. This plex server is replacing a BSD one which has been a rock for about 5 years but my home internet is not the best and if someone is streaming from plex the internet is getting affected. Its either move the server to somewhere else or get rid of the misses. It was a tough decision i debated over for a few weeks but moving the server is cheaper.

The reason i am virtualising it is that i may need to spin up other VMs from time to time and it makes backup easy as I can just take copies of the VM and snapshots if I ever want to migrate. BSD jails and Bhyve have too many limitations for me.

Attached are the logs I believe I found the root cause and the logs are below. What do you think?

ERROR - Database corruption: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version 
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) 
ERROR - SQLITE3:(nil), 1, no such table: schema_migrations in "select version from schema_migrations order by version" 
ERROR - Tried to convert contents of pidfile '' to a int, but failed... [plex.tar.gz|attachment](upload://i2Bj7b8vcvC65WjYrqQ55zu0CdP.gz) (31.1 KB) 

Looks like same issue seen here