-
Notifications
You must be signed in to change notification settings - Fork 40
Synology Users
Start by logging into your DSM and opening the Control Panel. Inside of the control panel is an icon for "Web Services". Click on this.
Web Services
Web Applications Tab:
- ENABLE - Web Station
PHP Tab:
- ENABLE - PHP configuration option register_globals.
- ENABLE - PHP cache
- ENABLE - display_errors to display PHP error message (this is useful for debugging any problems)
- ENABLE - PHP safe_mode_exec_dir access limiation
Next, copy all of the contents inside the plexWatch/Web zip file to a folder named "plexWatch" inside of the "web" shared folder now accessible on your NAS. This transfer can be accomplished via traditional file sharing protocols (SMB, AFP, NFS, FTP, etc) or via Synology's Filestation (see image below).
Once the transfer has been completed you can navigate to the following address to check that your NAS web server is now working.
http://hostname_or_ip_of_nas/plexWatch
At this point you need to decide how plexWatch/Web will access your plexWatch database. There are a variety of ways to accomplish this so it's difficult to say what method will work best for your situation. Some users have utilized Synology's Cloudstation to keep the database synchronized with their NAS while others have created a simple script that copies the database file to a shared directory on the NAS periodically. If you would like to try one of these methods you will need to configure the following options.
- Create a new shared folder (Control Panel/Shared Folder) called "plexWatch"
- Navigate back to Web Services/PHP Tab:
- ENABLE - Customize PHP open_basedir
- Add the following to the end of the open_basedir config line: :/volume1/plexWatch
This configuration step allows the web server to access the plexWatch shared folder.
At this point you need a way of automating the transfer of your plexWatch database to your newly created shared folder. Here are a couple options that other users have done so far.
- Synology Cloudstation
- Windows Batch Script:
Create a batch script that can be run by Windows task scheduler at certain time intervals.
net use \\hostname_or_ip_of_nas\plexWatch your_password /USER:your_username
set source=C:\plexWatch\plexWatch.db
set destination=\\hostname_or_ip_of_nas\plexWatch\
copy %source% %destination%