detailing steps for a method of accessing non-shared Plex Logs folder on QNAP

ochawkeye
2015-08-06 13:38:06 -05:00
parent 848a3fe934
commit 89ae9d23b8

@@ -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.
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`: `\\<ipaddress>\PATH\TO\VALID\SHARE\FOLDER\PlexLogs`
See: [Tweaking4All](http://www.tweaking4all.com/qnap/combine-qnap-shared-folders/) for more detailed information.