After some trouble and and update to Freenas 11 stable I was able to update Plex.
However when it was done my library was virtually empty and I see two entries
I’m guessing the one that is unavailable was my previous setup. I had spent a lot of time recently creating libraries for vacation photos and they are all gone (the confguration I did, not the photos).
I did some searching on the forums and online and only found windows related help.
I used fetch to get the update PMS_Updater.sh, made it exexcutable and then ran it first with plexplass option. I got an error with wget missing so I installed that. I got another error with the upgrade, so I went into the tmp folder, removed both tar files present and tried again without plexpass and it installed. I was missing folders. I tired again with the plexpass option and still no folders. That’s when I noticed my tmp folder had a 1.15.4 and a 1.15.6 versions downloaded.
Looks like there are two plexdata
root@plex:/ # ls -lah /usr/local/ | grep plex
drwxr-xr-x 3 root wheel 3B Feb 3 12:29 plexdata
drwxr-xr-x 4 root wheel 4B Feb 3 13:23 plexdata-plexpass
root@plex:/ #
root@plex:/usr/local # ls -l ./plexdata
total 11
drwxr-xr-x 10 plex plex 12 May 22 00:30 Plex Media Server
root@plex:/usr/local # ls -l ./plexdata-plexpass/
total 12
drwxr-xr-x 2 plex plex 2 Feb 3 13:23 Plex
drwxr-xr-x 10 plex plex 11 May 17 01:05 Plex Media Server
root@plex:/usr/local/plexdata-plexpass # diff -r Plex Plex\ Media\ Server
Only in Plex Media Server: Cache
Only in Plex Media Server: Codecs
Only in Plex Media Server: Diagnostics
Only in Plex Media Server: Logs
Only in Plex Media Server: Media
Only in Plex Media Server: Metadata
Only in Plex Media Server: Plug-in Support
Only in Plex Media Server: Plug-ins
Only in Plex Media Server: Preferences.xml
Comparing the two Plex Media Server folders shows:
root@plex:/usr/local/plexdata/Plex Media Server # ls -lah
total 64
drwxr-xr-x 10 plex plex 12B May 22 00:30 .
drwxr-xr-x 3 root wheel 3B Feb 3 12:29 …
drwxr-xr-x 4 plex plex 13B May 21 18:58 Cache
drwxr-xr-x 3 plex plex 4B Feb 3 12:29 Codecs
drwxr-xr-x 3 plex plex 35B May 21 02:01 Logs
drwxr-xr-x 3 plex plex 3B Feb 3 12:39 Media
drwxr-xr-x 3 plex plex 3B Feb 3 12:39 Metadata
-rwxr-xr-x 1 root plex 8.6K Feb 3 13:12 PMS_Updater.sh
drwxr-xr-x 7 plex plex 7B Feb 3 12:29 Plug-in Support
drwxr-xr-x 3 plex plex 3B Feb 3 12:30 Plug-ins
-rw------- 1 plex plex 732B May 22 00:30 Preferences.xml
drwxr-xr-x 3 plex plex 3B May 17 01:40 Thumbnails
root@plex:/usr/local/plexdata-plexpass/Plex Media Server # ls -lah
total 85
drwxr-xr-x 10 plex plex 11B May 17 01:05 .
drwxr-xr-x 4 root wheel 4B Feb 3 13:23 …
drwxr-xr-x 6 plex plex 15B May 17 01:15 Cache
drwxr-xr-x 3 plex plex 4B Feb 3 13:23 Codecs
drwxr-xr-x 2 plex plex 4B May 17 01:05 Diagnostics
drwxr-xr-x 3 plex plex 53B May 17 01:05 Logs
drwxr-xr-x 3 plex plex 3B Feb 3 13:26 Media
drwxr-xr-x 6 plex plex 6B Feb 3 13:35 Metadata
drwxr-xr-x 7 plex plex 7B Feb 3 13:24 Plug-in Support
drwxr-xr-x 3 plex plex 3B Feb 3 13:24 Plug-ins
-rw------- 1 plex plex 815B May 17 01:05 Preferences.xml
So at some point you install the plexmediasserver port and then plexmediaserver-plexpass we just need to figure which one you were actually using before.
Here are the results:
root@plex:/ # ls -l /usr/local/plexdata/Plex\ Media\ Server/Plug-in\ Support/Dat
abases/com.plexapp.plugins.library.db
-rw-r–r-- 1 plex plex 14014464 May 22 02:01 /usr/local/plexdata/Plex Media S
erver/Plug-in Support/Databases/com.plexapp.plugins.library.db
root@plex:/ # ls -l /usr/local/plexdata-plexpass/Plex\ Media\ Server/Plug-in\ Su
pport/Databases/com.plexapp.plugins.library.db
-rw-r–r-- 1 plex plex 261813248 May 17 00:40 /usr/local/plexdata-plexpass/Pl
ex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
plexdata-plexpass last modified before I ran the update and is larger.
As for the backup I think it was, but I would have to look and I haven’t launched it since the issue occurred.
Hum yeah looks like plexpass one would be where most change are but still it should be actually using that and you say you have libraries so it’s possible they are actually both for clean installs
I suggest you start pms go to settings and see if you do have backups
Current settings show backup every 3 days to
/usr/local/plexdata/Plex Media Server/Plug-in Support/Databases
But as the results show plexdata is only 14MB and plexdata-plexpass is 261mb.
The NAS folders are shared and I built the libraries from there. When I launch it, it still has my profiles and my older library setup.
So it looks like it’s gotten mixed between the two instances. Any suggestions for pointing it back to plexdata-plexpass or how to copy it over?
removed it and shutdown/restarted jail.
Neither server found.
tried :
root@plex:/ # service plexmediaserver start
Cannot ‘start’ plexmediaserver. Set plexmediaserver_enable to YES in /etc/rc.con
f or use ‘onestart’ instead of ‘start’.
and:
root@plex:/ # service plexmediaserver-plexpass start
plexmediaserver-plexpass does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d)
When I tried the onestart option the newer no libraries server was available.
type, did service plexmediaserver_plexpass start and it worked.
However back to no servers found.
I also can’t access via ip address (happened above but didn’t mention it)
I can only login to app.plex.tv and launch, but it can’t find either server.
removed _plexpass line and added back the plexmediaserver_enable.
That got the ip address working again.
I’m going to copy the plexdata-plexpass config over.