Closed ssyyhhrr closed 5 years ago
First of all, you have the wrong owner/rights for the bundle directory!
2018-12-01 21:41:04,630 (76faa110) : INFO (wtV3:543) - Updating translation file in storage 2018-12-01 21:41:04,662 (76faa110) : CRITICAL (wtV3:600) - Exception in createPluginStringTranslations was: [Errno 13] Permission denied: '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Strings/en.json' (most recent call last): File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Code/wtV3.py", line 595, in createPluginStringTranslations with io.open(fileName, 'w', encoding="utf-8") as outfile: IOError: [Errno 13] Permission denied: '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Strings/en.json'
Secondly, you are getting http error 403 (Forbidden) when accessing https://api.github.com/repos/ukdtom/WebTools.bundle/releases/latest
Please check from the box that you can do that, and return a json, since it seems like Github is refusing the connection for some reason?
Do you have a proxy in front of it perhaps?
I certainly haven't manually installed a proxy myself. So unless one came installed when I installed Raspbian, I don't have one. I will take a look into permissions. I'll let you know the results. Thanks for the quick response by the way!
Okay, so I have managed to modify the permissions to give the pi user ownership of the directory. I am now greeted with this error. I've attached an image of the new error, and the logs after making this change. Logs.zip
Still permission errors.....Owner/rights needs to be set to the user running PMS!
IOError: [Errno 13] Permission denied: '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/WebTools.bundle/Contents/Strings/en.json'
Also still see access denied from GitHub!
Fantastic, I managed to get it working thanks to your help =D. I'll leave the commands I used in terminal for anyone who may be reading this in the future.
sudo chown $USER /var/lib/plexmediaserver
sudo chown $USER /var/lib/plexmediaserver/Library/"Application Support"/"Plex Media Server"/Plug-ins
sudo chown $USER /var/lib/plexmediaserver/Library/"Application Support"/"Plex Media Server"/Plug-ins/WebTools.bundle/Contents/Strings
nano /var/lib/plexmediaserver/Library/"Application Support"/"Plex Media Server"/Plug-ins/WebTools.bundle/Contents/Strings/en.json
<--- Used as a test. If your terminal window is filled with a text editor, then you have done it successfully and WebTools will function as usual.
Thanks again for your help. Appreciate it a lot.
Environment
Error shown
WebTools
Technical Info: Url: api/v3/git/getReleaseInfo/url/https%3A%2F%2Fgithub.com%2Fukdtom%2FWebTools.bundle/version/latest Location: Core Error: var checkIsNewVersionAvailable - Fatal error happened in getReleaseInfo**:
Steps to reproduce
Expected behaviour
Actual behaviour
Additional Info
Logs.zip
Checklist