NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Retired_Member
Dec 07, 2015PlexPy - Plex Server Manager
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, b...
- Jan 23, 2016
Retired_Member
Dec 08, 2015Thank 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!
StephenB
Dec 08, 2015Guru - Experienced User
Perhaps logging is configured to write to a non-existent folder ('/None/plexpy.log')?
- Retired_MemberDec 08, 2015
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- StephenBDec 08, 2015Guru - Experienced User
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.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!