Movies but not Television view status not transferred

Hi, I had to reinstall Ubuntu 18 and with it PMS. I had made a backup of my /var/ files so can access my old Plex database. I also had my watch status uploaded to Trakt.tv using the plugin.

However only my Movies watch status transferred despite Trakt.tv having Movie and TV watch status logged. I have checked Trakt.tv settings and watched an episode on Plex I knew I hadn’t watched and that showed up on Plex so the connection is correct (and I have it as push+pull and varied it).

I also followed the Plex advice on copying the database over. However metadata_item_settings only had Movie stats in it, whereas metadata_item_views had TV too. I even copied the latter over to see if that would help.

Any ideas what to do? My television shows are in Trakt.tv and the old database yet my new install is refusing to recognise them. I checked that I used TVDB for my metadata and my reading of my database files suggest that I am using the same agent.

Server Version#: 1.18.4.2171-ac2afe5f8

If you had a full backup of everything in /var/lib/plexmediaserver (a tar image)
then you can drop it in place and everything will return 100%.

What kind of backup/copy did you have?

Thanks Chuck, I copied the /var, /etc and /usr files to another drive.

So I could try that. One thought is that I had to replace some failed drives and so the volumes are different as are the volume labels as I have changed where I put them (TV and Movies are now on separate volume rather than both being on a single volume).

Would the new volume names cause problems if I just dropped the old files in? Or could I just point the libraries to the new addresses?

hold up there?

PMS has nothing in /etc until now.
It previously had /etc/default/plexmediaserver back before Ubuntu 16 but none of that has been active since systemd became the standard until now but only on those systems using init as the controlling process (pid 1)

If you did a raw cp, it’ll be painful but can be restored PROVIDED it’s complete and wasn’t done with the Windows copy command.

I should clarify. I copied my /etc, /var and /usr to back up more than just my Plex files and can be ignored, I’d just listed what I had copied. I have a copy of the original /var/lib/plexmediaserver and the only location I’ve been looking at.

Everything has been done through Ubuntu (and that would have been using Nautilus copy), but I’ll use the cp command to copy files over to my new drive.

One question - should I uninstall my existing PMS before copying? Or should I just stop the service, delete files in the existing /var/lib/plexmediaserver and then copy over the old ones? Thanks

The only directory which will matter is /var/lib/plexmediaserver/Library (and all below it).

  1. Stop PMS
  2. Rename /var/lib/plexmediaserver/Library to Library.keep (for now)
  3. Copy the previous Library into /var/lib/plexmediaserver
  4. sudo chown -R plex:plex /var/lib/plexmediaserver (guarantee ownership)
  5. Sign the browser out so it’s not stuck looking for the old instance (upper right)
  6. Start PMS
  7. Open PMS again as you normally would.

Thanks Chuck I’ll try that tonight

That worked, thanks

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