Is this where I talk about better “friends”? LOL
Your idea about self-cleaning is good. We’ve talked a lot about cleaning up old devices but that’s where it stops.
I do have some suggestions for you to try. Since they are destructive (erase data) you’ll want a backup of the DB file itself. before doing
$ sudo sh
# systemctl stop plexmediaserver
# cd "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases"
# cp -p com.plexapp.plugins.library.db db.backup
# sqlite3 com.plexapp.plugins.library.db
sqlite> delete from synced_play_queue_generators;
sqlite> delete from synced_metadata_items;
sqlite> delete from synced_library_sections;
sqlite> delete from synced_ancestor_items;
sqlite> hit ctrl-d to exit
# systemctl start plexmediaserver
This will manually wipe all sync jobs from the local DB. I’m still waiting to find out what, if anything is in plex.tv
Thanks Chuck, i’ll try it tonight.
Well ChuckPA, it didn’t work. I took a snapshot, wiped out all the folders you indicated, , but the upgrade failed again.
What version of PMS did you install and which distro are you on?
I’m going to pull the package itself and open it up. I’m reading the start()
function
Also, with all that happened to the forum, I think i need to break your issue out of the main topic?
PMS does start for you right?
TO ALL READING HERE:
Until I get the new Linux Tips up and in a ToC structure, here is how to customize your PMS
Customizing your Plex configuration on systemd based systems
This information is intended for those systems where cat /proc/1/comm returns systemd.
On systems which use Systemd (Ubuntu 16+, Fedora, Centos 7, Debian 8,) you create this customization file which SystemD reads prior to launching PMS. This file is independent of the default configuration and service control mechanisms in /lib/systemd/system/plexmediaserver.service. Your customization override is preserved across updates, uninstal…
Thanks for doing this. It’s just a bit more crazy here than normal lol
As the next test, I would like to eliminate the database as possible root issue.
To do this:
Stop PMS
in /var/lib/plexmediaserver
, rename Library
to Library.keep
Start PMS
Spin up a TEST server with the smallest library you need (least amount of media) to recreate the problem.
Most importantly , Assign a some silly unique name to this testing server so it doesn’t collide with your existing. (such things drive ME nuts when I forget haha)