diff --git a/Troubleshooting.md b/Troubleshooting.md index ed8d6d2..876f1d0 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -12,4 +12,16 @@ This is the extract from the post: > I just wanted to say that I had the same issue as MAUL ("DatabaseError: file is encrypted or is not a database"), and had the settings correctly entered. I ended up fixing it by replacing the sqlite3.dll in C:\Python27\DLLs with the precompiled DLL from here: https://www.sqlite.org/download.html. After this, and re-starting PlexPy, it works flawlessly. -For 64bit Python 2.7.x Install http://sourceforge.net/projects/cyqlite/?source=typ_redirect into the Python27\DLLs folder. \ No newline at end of file +For 64bit Python 2.7.x Install http://sourceforge.net/projects/cyqlite/?source=typ_redirect into the Python27\DLLs folder. + +## Problem +When running a Plex Media Server on a QNAP, Plex writes logs into a non-shared location with the `/share/.qpkg` path. PlexPy cannot be pointed to this location under `Settings` > `Extra Settings` > `Plex Logs` > `Logs Folder` + +## Solution: +A symbolic link to this location can easily be created from a folder that is shared. +1. ssh in QNAP +2. create a directory in a shared folder that will be accessible: `mkdir /share/MD0_DATA/PATH/TO/VALID/SHARE/FOLDER/PlexLogs` +3. make symbolic link between unshared log folder and new shared folder `ln -s "/share/MD0_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Logs/" "/share/MD0_DATA/PATH/TO/VALID/SHARE/FOLDER/PlexLogs"` +4. your new location is now usable in `Settings` > `Extra Settings` > `Plex Logs` > `Logs Folder`: `\\\PATH\TO\VALID\SHARE\FOLDER\PlexLogs` + +See: [Tweaking4All](http://www.tweaking4all.com/qnap/combine-qnap-shared-folders/) for more detailed information. \ No newline at end of file