- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: PlexPy - Plex Server Manager
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I've discovered PlexPy (https://github.com/drzoidberg33/plexpy) to follow the usage of my Plex Server, I managed to install it following the instructions on the GitHub installation page, but I can't make it to start automatically on Startup with my ReadyNAS.
There is an explanation to "install it as a deamon", but I'm not an expert and can't figure it out.
Could someone help me ?
Thanks a lot in advance.
Best!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
You'll want to use one of the "*.systemd" scripts provided in PlexPy's "init-scripts" directory, since ReadyNAS uses systemd as its init system. Take note of the "Installation Notes" and "Configuration Notes" sections in the service file.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Hello,
Thank you for the quick reply !
I followed all the instruction on the init-scripts, created the folders, I installed plexpy in the /home/admin/plexpy folder.
But still when I type "systemctl start plexpy.service" I get the error message: "Job failed. See system journal and 'systemctl status' for details."
I can't locate the "system journal".
Would you have any idea on this issue ?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
You want to run journalctl
There is a useful guide here: https://www.digitalocean.com/community/tutorials/how-to-use-journalctl-to-view-and-manipulate-system...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Thank you @StephenB for the help !
Here's a copy of the journal log :
Dec 08 21:06:56 NAS PlexPy.py[26442]: Traceback (most recent call last):
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/home/admin/plexpy/PlexPy.py", line 232, in <module>
Dec 08 21:06:56 NAS PlexPy.py[26442]: main()
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/home/admin/plexpy/PlexPy.py", line 157, in main
Dec 08 21:06:56 NAS PlexPy.py[26442]: plexpy.initialize(config_file)
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/home/admin/plexpy/plexpy/__init__.py", line 118, in initialize
Dec 08 21:06:56 NAS PlexPy.py[26442]: verbose=VERBOSE)
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/home/admin/plexpy/plexpy/logger.py", line 153, in initLogger
Dec 08 21:06:56 NAS PlexPy.py[26442]: file_handler = handlers.RotatingFileHandler(filename, maxBytes=MAX_SIZE, backupCount=MAX_FILES)
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/usr/lib/python2.7/logging/handlers.py", line 117, in __init__
Dec 08 21:06:56 NAS PlexPy.py[26442]: BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/usr/lib/python2.7/logging/handlers.py", line 64, in __init__
Dec 08 21:06:56 NAS PlexPy.py[26442]: logging.FileHandler.__init__(self, filename, mode, encoding, delay)
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/usr/lib/python2.7/logging/__init__.py", line 901, in __init__
Dec 08 21:06:56 NAS PlexPy.py[26442]: StreamHandler.__init__(self, self._open())
Dec 08 21:06:56 NAS PlexPy.py[26442]: File "/usr/lib/python2.7/logging/__init__.py", line 924, in _open
Dec 08 21:06:56 NAS PlexPy.py[26442]: stream = open(self.baseFilename, self.mode)
Dec 08 21:06:56 NAS PlexPy.py[26442]: IOError: [Errno 2] No such file or directory: '/None/plexpy.log'
Dec 08 21:06:56 NAS systemd[1]: plexpy.service: control process exited, code=exited status=1
Dec 08 21:06:56 NAS systemd[1]: Unit plexpy.service entered failed state.
I don't know if it can be of any help.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Perhaps logging is configured to write to a non-existent folder ('/None/plexpy.log')?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Just checked it seems to be correct, I checked the config.ini file of plexpy and all's good.
Here's how config the plexpy.service file:
Description=PlexPy - Stats for Plex Media Server usage
[Service]
ExecStart=/home/admin/plexpy/PlexPy.py --daemon --config /etc/plexpy/plexpy.ini --datadir /home/admin/.plexpy --nolaunch --quiet
GuessMainPID=no
Type=forking
User=admin
Group=admin
[Install]
WantedBy=multi-user.target
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Well, the error says its trying to write to /None/, so something is off. Is there anything in config.ini?
It's not an app I use, you might need to reach out to drzoidberg33.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
It looks like it's working !
Thank you so much, I've been working for a solution for some time now.
Thanks again for the help !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Hi Lex_Mih,
It seems like all is covered now and the thread is closed. I hope this thread will be helpful to other community members who are planning and using PLEX Server.
Kind regards,
BrianL
NETGEAR Community Team
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Personally I would use systemd for this rather than cron.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
I highly advise not installing plexpy to /opt. /opt is an OS partition.
Please install it to /apps/plexpy instead as /apps/plexpy is on the data volume and /opt is on the OS, which has limited space.
Installing to the OS could limit your supportability from NETGEAR.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Hi there,
Can someone perhapse make a deb. package so newbies like me can easliy install this program via the frond end?
Many thanks.
Cheers,
Fremske
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Hello fremske,
You may also post suggestions and ideas at Idea Exchange board. Adding kudos to the ideas will help as development team will be reviewing the post that has the most kudos for considering it to add to the product's future functionality.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
I think I know someone working on one 🙂
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Thank you Kohdee!
Any idea, where I can obtain the debian package file?
Is there a download link you can provide?
Cheers,
Fremske.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
I don't have a link or a date -- but it'll eventually go through the ReadyNAS App Developer portal for approval.
Edit: Look below 😛
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
There is a PlexPy build that is available here if you would like to try it out before its posted on the app store:
https://github.com/Mhynlo/rn-plexpy/releases/tag/1.3.6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
Hi guys,
The package PlexPY 1.3.6 is working perfectly on my RN102.
Thanks a lot for this great contribution.
Cheers,
Fremske
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PlexPy - Plex Server Manager
PlexPy is now avaialble on the app site: