Manually installed channels not showing up

have perused forums and faqs - most recent is: http://support.plex.tv/articles/201187666-why-isn-t-the-channel-bundle-i-installed-showing-up-in-plex-/

i have the plug in bundle file in the correct location, it’s permissions are correct, there are no additional folder layers below the bundle directory, ie, Contents is 1 level below the bundle directory:
Plex Media Server > Plug-Ins > ChannelName.Bundle > Contents > …
And i have restarted PMS - in fact, i’ve rebooted the entire server, still no joy.

The only other thing i can think of is that i have relocated Plex’s library folder to a different location than that standard location - per this: https://forums.plex.tv/discussion/277724/moving-pms-library (I’m on a systemd based system). not sure if that is an issue

channels installed from web gui appear fine - although they do not show up in the Plug-ins directory.

i don’t see anything in any of the plex logs so far…
what else could i look at?

Anything you put in /var/lib/plexmediaserver/Library/Application Support/Plug-ins/ (or wherever you relocated to) need to be owned by plex so it can read the python code contained in the plug-in.

The next obvious question, which is required with some plug-ins, is you restart PMS.

Lastly, PMS limits the number of Plug-ins it will recognize and activate. The default max active Plug-ins is 6. The max PMS will recognize is 10.

in my systemd override file (per https://forums.plex.tv/discussion/277724/moving-pms-library ), i defined the plex user as my normal userid.
I changed ownership of the plug-ins directory back to plex for user and group, however, and still the plugins dont show up. there are only 6 - none of them show up.
i’ve restarted plexmediaserver process.

@yajrendrag said:
in my systemd override file (per https://forums.plex.tv/discussion/277724/moving-pms-library ), i defined the plex user as my normal userid.
I changed ownership of the plug-ins directory back to plex for user and group, however, and still the plugins dont show up. there are only 6 - none of them show up.
i’ve restarted plexmediaserver process.

To make certain we’re unstanding each other,

A. Your /etc/systemd/system/plexmediaserver.service.d/override.conf contains

[Service]
User=your_username

B. While PMS was stopped

`sudo chown -R your_username /var/lib/plexmediaserver

Correct?

Would you please collect the logs for me (Settings - Server - Help - Download Logs) and attach that ZIP file ?
I need to see what’s happening in each of the plug-ins and the System bundle

on A, correct, plus in addition to User, i also have

Group=my_group

on B, i hadn’t done that - but have since changed it (while PMS was stopped).

Lastly, i (finally) realized that i was putting the plug-ins in the “old” location i still had on disk when running under ubuntu 14.04. that is why the channel i installed from the web gui wasnt showing - when i listed contents of the correct Plug-ins directory, i found it. So, thought i had it solved, but still when i put the bundle file for the manually installed plug in into the correct Plug-ins directory it still doesn’t show up.

here are the logs

Would you mind manually grabbing me the log files?

tar cfz /tmp/Logs.tar.gz "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs"

I need to see what your Plug-in is. PMS isn’t registering it. The tar.gz will show it to me.

Also, what’s its name? What should i be seeing.

As an additional check … Directories should be 0755 and files should be 0644 in your plug-in. find is the perfect tool for making wholesale changes like that (-type f and -type d)

tar.gz logs attached. plug in name is Chapter-Agent.bundle

confirming permissions 0755 and 0644 for plugin

Thank you for the logs.

It’s a working Plug-in.

It should show up as an Agent, not a Channel.

2018-01-12 09:18:39,509 (7f821e401700) :  DEBUG (agentkit:1115) - Creating new agent class called ChapterAgent
2018-01-12 09:18:39,509 (7f821e401700) :  DEBUG (agentkit:933) - Updating agent information: [{'media_types': ['Movie'], 'accepts_from': None, 'fallback_agent': None, 'contributes_to': ['com.plexapp.agents.none'], 'languages': ['xn'], 'persist_stored_files': True, 'version': 0, 'primary_provider': False, 'prefs': True, 'name': 'Chapter Agent'}]
2018-01-12 09:18:39,511 (7f821e401700) :  DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/messaging/function/X0FnZW50U2VydmljZTpVcGRhdGVJbmZv/Y2VyZWFsMQoxCmxpc3QKMApyMAo_

The point of concern now is: Notice accepts_from': None and 'contributes_to': ['com.plexapp.agents.none']

It is declaring itself as not accepting data from any PMS component and not contributing data to any PMS component. I therefore can’t tell what this agent does.

I advise caution.

Thanks, i can see it in agents settings. I found a thread on using this for TVShows instead of movies, but it needs some changes to do so. now i have to see if i can figure that out…