it should only be 2 periods after mv *
thank you i just relised this and it is currently working (by currently working i mean i am getting wayyy further then i did before) it is seeming to be working
for whatever reason, when i enter 2 periods, it displays 3 on here. Its my first time posting, so who knows, maybe it is a thing. i pulled my hair out for a couple hours trying to figure this out. I imagine the next update will break this as well. I view this as a band-aid if Plex changed its folder structure.
For me the command wasnât working but I ended up just moving the files via file explorer. I have spent all day on this and i finally have a solution. this is what I get for getting drunk and start updating things without looking into them. Thank you.
The lib mv worked for me also but broke other things plus interface. Not sure why, but was able to fix everything without losing anything.
Follow the steps below this is how I got mine fully functional again. Do this at your own risk!
backup your Plex Media Server directory once complete remove the PhotoTranscoder and Transcoder directories from your backup. They are located in the Cache directory. If you do not it will break your transcoder when you restore it to the new installation.
Once your backup is complete uninstall your plugin. Then reinstall your plugin. Once the new installation is running open a shell and enter the command.
cd /usr/local/share/plexmediaserver/lib NOTE: if using the plexpass plugin then it will be
cd /usr/local/share/plexmediaserver-plexpass/lib
mv * ⊠in case post displays incorrectly there are only 2 periods after *
stop the plex plugin and open the freenas shell
navigate to where you stored your backup directory then enter this command
cp -R âyourbackupdirectoryâ /mnt/youriocagedatasetlocation/iocage/jails/plex/root/Plex\ Media/ Server
once complete start your plugin and all your data and the settings console should be restored.
Instead of mv * .. just do a cp * .. - mine had no issues after doing that.
It seems every thing is working now
Thank you! Everything is working as it should.
Cheers.
Works for me. Thank youïŒ
Thank you for the detailed response, and clarification for Plex-pass specific users.
Please donât move or copy anything in those dirs, the plug-in should be installing things correctly, if not it needs to be fixed.
If you move/copy th lib folder in a future update you might end in the same or worst situation.
As reffered in other topics the issues wasnât that the plex code was broken as some suggested. But that some users used custom scripts to update in the past and this screwed the rc.d script which starts PMS.
Also in 1.15.x we did move a few things around deps and no longer depend on compat10, and the LD_LIBRARY_PATH needs updating ( in the rc.d script). But all that should be fixed in the port / pkg that freenas uses.
So if users updated from the previous version to the new one without ever messing with this via other scripts all should be good.
I also suspect some are running into different issues ( maybe the freenas update also introduced some changes) which is why copy/move works for some and not others.
We will have to check this cases in separe. Maybe in some cases it might make more sense to ask help in the freenas forums. But I will try to check what might have changed there.
This topic is now a bit confused to track that so I suggest that whomever still has issues, tries to first create a new iocage jail with the plugin installed ( just for testing) does that start and shows settings!? If not then we can debug there.
I previously had a working PMS on FreeNas but (donât ask me why) I was tinkering and now I have done a complete fresh install of FreeNas 11.2-U3, only restoring my pool so as to retain the data. After installing the plexpass plugin and setting the jail mount points, sorting out all my shares and permissions, I select Manage from the plugin menu and get to the Server Setup page but get the error message " A problem has been detected with a core component of Plex Media Server."
So this is in a fresh install (media aside) not scripts were used right!?
Can you please upload logs, and also youâre rc.d script?
This should be under /usr/local/etc/rc.d/plexmediaserver (or plexmediaserver_plexpass) the only thing that makes sense is that something is wrong three case I have this working with the same version on freeBSD, I might be able to retest on freeNAS Monday.
On a completely fresh install⊠Fresh jail⊠I was getting the same error âA problem has been detected with a core component of Plex Media Server.â
I just ran the following commands from a shell window:
> cd /usr/local/share/plexmediaserver-plexpass/lib
> mv * ..
Restarted the jail
This resolved the issue and I was able to continue with the Plex setup.
Please donât do that instead you should get the rc.d script fixed instead it is clear itâs not pointing to the correct please, otherwise future updates would force you to do the same. While the rc.d script rarely changes.
LD_LIBRARY_PATH is wrong it should point to the lib dir inside.
The odd thing is that this looks OK in the port, so maybe the plugin doesnât use the ports rc.d script 
@mikec_pt can you clarify what you are suggesting the solution is, then? The solution here seems to work but you keep saying not to do that and from what I can tell your only solution was to âget the rc.d script fixedâ - How do we get it fixed?
Also, before I saw your comments I attempted the fix using mv however my âlibâ folder doesnt exist at all.
root@plexmediaserver_1:/usr/local/share/plexmediaserver # cd lib
lib: No such file or directory.
root@plexmediaserver_1:/usr/local/share/plexmediaserver # cd ..
root@plexmediaserver_1:/usr/local/share # cd plexmediaserver-plexpass
plexmediaserver-plexpass: No such file or directory.
so far its working but, if this is not the correct solution how do we go about yours
if you installed the plex pass version it would be â/usr/local/share/plexmediaserver-plexpassâ
@mikec_pt
Thanks for your reply.
I showed in the screenshot that I also tried that and it does not exist.
Sorry Iâm on mobile so I can offer full help, but thereâs a couple other topics about this and fixing LD_LIBRARY_PATH in the rc.d script.
I did check the script via freshports and it looks OK there for both versions, so Iâm amazed this is broken on a new install.
Unless the freenas plugin ignores the ports script and uses its own this makes no sense.
If someone can upload their rc.d script maybe I can take a peek even on mobile.
It should be in /usr/local/etc/rc.d/plexmediaserver (or plexmediaserver-plexpass if thatâs what you installed)
