Problem with Core Component of Plex with 11.3-U2.1

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
I'm having a problem setting up a Plex Media Server on my FreeNAS installation. I would post this problem on the Plex Community Forums, but their FreeNAS section seems pretty dead and so I thought I could get a quicker response here.

Currently, I'm running three jails (one for nextcloud, one for a nginx reverse proxy, and one for plex). I haven't configured the reverse proxy to point to plex yet. I've forwarded port 32400 on my router to the IP address I assigned to the plex jail.

When I go to the web UI for for plex, it'll have a spinner saying "Please wait a moment while Plex starts." but then eventually will push me to this page:

Screen Shot 2020-04-29 at 2.06.54 PM.png


I'm able to click the top menu buttons to give my server a name and browse the jail's files to access the mount point where I've put my media files in (I'm migrating from a previous less than optimal setup of using a hackintosh as a media server), but when I try adding those folders to my library, I encounter a problem similar to this thread on the Plex forums. I've checked my logs and have the same messages as that thread's OP. I'm kind of stumped though, since I'm not running this jail behind a proxy and it has access to the internet (I'm able to ping both internet IP's and resolve domain names from the jail)

Thanks for any help!
 

Attachments

  • Logs.zip
    129.9 KB · Views: 246
Joined
Jan 7, 2015
Messages
1,155
Curious if you have uPnP NAT-PMP also running on the router as well as the manually forwarded port? I think this could be related to "WARN - NAT: PMP, got an error: Not Supported by gateway."

I also see alot of these..
ERROR - Error received reading configuration for com.plexapp.system
Apr 29, 2020 13:54:53.491 [0x80c6ed200] DEBUG - Stopping [com.plexapp.system].
Apr 29, 2020 13:54:53.491 [0x80c6ed200] DEBUG - System bundle was restarted, we need to notify other plug-ins
Apr 29, 2020 13:54:53.491 [0x80c4eb000] DEBUG - Starting file watcher for com.plexapp.system
Apr 29, 2020 13:54:53.491 [0x80c6ed200] DEBUG - The system knows about 0 agents.

Makes me suspect permissions issues?
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
Curious if you have uPnP NAT-PMP also running on the router as well as the manually forwarded port? I think this could be related to "WARN - NAT: PMP, got an error: Not Supported by gateway."

I also see a lot of these..
ERROR - Error received reading configuration for com.plexapp.system
Apr 29, 2020 13:54:53.491 [0x80c6ed200] DEBUG - Stopping [com.plexapp.system].
Apr 29, 2020 13:54:53.491 [0x80c6ed200] DEBUG - System bundle was restarted, we need to notify other plug-ins
Apr 29, 2020 13:54:53.491 [0x80c4eb000] DEBUG - Starting file watcher for com.plexapp.system
Apr 29, 2020 13:54:53.491 [0x80c6ed200] DEBUG - The system knows about 0 agents.

Makes me suspect permissions issues?

Where should I change the permissions?

I haven't fully migrated my media to a dataset yet and so haven't yet changed any ownership or permissions there, but that shouldn't matter since Plex itself cant access its own files, right? I’ve reinstalled Plex with both the native plugin and manually within a jail multiple times without touching any file permissions, and I’ve had the same issue.
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
I’ll check out if uPnP NAT-PMP is enabled and get back to you
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
Curious if you have uPnP NAT-PMP also running on the router as well as the manually forwarded port? I think this could be related to "WARN - NAT: PMP, got an error: Not Supported by gateway."

I have NAT enabled but not UPnP. Should I enable it?
 
Joined
Jan 7, 2015
Messages
1,155
If you are forwarding the ports manually, I say no.

WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:05.499 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:07.500 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:09.593 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:11.614 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:13.615 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:15.616 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:17.617 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:19.618 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:21.619 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"

Your logs are filled with this stuff, and I will assume these are the core components the GUI is telling you. How did you install Plex? Plugin, manually?
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
If you are forwarding the ports manually, I say no.

WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:05.499 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:07.500 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:09.593 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:11.614 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:13.615 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:15.616 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:17.617 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:19.618 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"
Apr 29, 2020 14:01:21.619 [0x80bdd6200] WARN - Warning: ex: boost::filesystem::last_write_time: No such file or directory: "/Plex Media Server/Plug-ins", couldn't check file: "/Plex Media Server/Plug-ins"

Your logs are filled with this stuff, and I will assume these are the core components the GUI is telling you. How did you install Plex? Plugin, manually?

In this instance, I used the plugin but when I did it manually I also noticed the missing Plug-ins directory warning and created it. The web UI still had the same result.
 
Joined
Jan 7, 2015
Messages
1,155
Currently im helping a different guy with plex but might be beneficial to you to get this all installed manually in a jail.. Please have a look.
 
Joined
Jan 7, 2015
Messages
1,155
Please note that some of the commands given, specifically jail names, IPs and things unique to your system might will be different. Please adjust the commands for your use case.
 
Last edited:

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
I also tried using the automatic script from danb35, also with no luck. I don't think it really makes a difference anyways, since a manual install should still be running fundamentally the same binaries, right?
 
Joined
Jan 7, 2015
Messages
1,155
Does the script end up with the same result?
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
I’m still finding the same errors that you pointed out earlier in these new logs, but there aren’t any new issues afaik
 
Joined
Jan 7, 2015
Messages
1,155
If you go into chat I can help you a bit further if you have a minute
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
If you go into chat I can help you a bit further if you have a minute

So I went on the Plex forums and got some help from one of their engineers

Turns out its a problem with Python or something. What's happening is that after the core components error is shown, a bunch of sh instances running c++ are spawned, and are continually spawned until plexmediaserver is killed. We couldn't find what was causing this, so the engineer escalated it internally. I'm planning to try installing on plain FreeBSD in about a week and see if that fixes the issue.
 

eodc

Dabbler
Joined
Apr 29, 2020
Messages
11
I actually couldn't wait and so I went ahead and installed FreeBSD to install plex onto. As some closure, everything works well and there aren't any problems.
 
Top