Install Plex Server
For the installation of a PlexMediaServer on a QNAP NAS, it is first important which processor architecture the NAS uses. Depending on this, the following files need to be downloaded from the Plex download page can be loaded under the heading QNAP:
- Intel / AMD 64-bit
Which type is relevant here should be evident from the display in the system status in the control panel under “System Information” – “CPU”.
or Intel / AMD 64-bit
The actual installation then takes place in the AppCenter via “install manually”.
This will install the Plex Media Server on the system drive under /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer.
Setting up a separate Plex share
Since direct access to this folder is usually not possible, a redirection to another share can be set up here with the help of an SCP session. This can be on the same or on a different volume.
The latter is useful if the NAS is not set up from scratch and the system drive is not on an SSD RAID. Since Plex stores the metadata of the media in a large number of small files in the program directory, it is recommended to store them on an SSD RAID.
Setting up a separate share also enables the entire Plex library to be backed up or other features that are controlled via shares, such as data encryption, can be used.
The following steps are necessary to create the release
- Stop Plex Media Server if it is already installed
- Backup of the file “/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server / Preferences.xml”, if the Plex Media Server is already installed
- Create a shared folder in the “Control Panel” under “Shared folder”
- Reference of the path “/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/” to the previously defined share
- reinstallation of the Plex media server
- possibly Restoring the backed up data
The first thing to do is to create the release for the Plex metadata or library.
The share can then be reached under “/ share / Plex”.
The “network recycle bin” and “previous Windows versions” should be deactivated in the share properties for the share.
To create the link, the “PlexMediaServer” folder under “/share/CACHEDEV1_DATA/.qpkg/” must be created as a soft link with the “/ share / Plex /” directory.
The installation mentioned above can then be carried out and the PlexMediaServer started in the AppCenter. The Plex program files and library can then be viewed via the set up share.
Link the Plex Media Server to the Plex account
In order for the Plex media server to be used, it must be linked to the Plex account. This is done via the website that the PlexMediaServer brings and at the address http: //
If a PlexMediaServer has already been set up on the NAS, or if another device is referred to with a public address, one of the following messages will be displayed.
In this case, the following points must be checked in the network installation.
- there is a port forwarding on port 32400 to another PlexMediaServer instance
- a PlexMediaServer was already installed on the NAS, which was disturbed by a device failure
If 1. applies, the PlexMediaServer should be registered via the address such as http://192.168.2.252:32400/web and not via a public address such as https://ryoudoiisoochi.dachs.blog:32400/web.
With 2. a server should be registered in the Plex account at https://app.plex.tv, which must first be deleted.
If the server is then called, for example via http://192.168.2.252:32400/web, the following message appears. The point here is that the server to be registered is not hosted by Plex itself and therefore the authenticity or identity of the server cannot be guaranteed. For this reason, you should only agree to this if the addressee is known.
Afterwards, the local address is changed again and the configuration of the server begins.
Configuration of the Plex Media Server
First you have to configure how the server should be named within Plex and whether it should be possible to access it from the Internet.
In the next step, media libraries can already be added, which will be discussed in a further blog entry.
The last step of the wizard deals with the possibility of using different apps to access the server.
Remote access to the PlexMediaServer
To access the PlexMediaServer while on the move, remote access must be configured in the settings and the following conditions must be met.
- The Plex client must be able to communicate with the PlexMediaServer from the (guest WLAN) network on a port that is not blocked. As a rule, this can only be guaranteed for ports 80 and 443, all others should be blocked for guest access.
- The selected port must be forwarded from the router of the network in which the PlexMediaServer is located to the device on which the server is running to port 32400.
- The PlexMediaServer must have configured remote access for the publicly accessible port.
The configuration of the remote access in the PlexMediaServer should look like this for port 80, which should usually be freely available.
To enable remote access to the server in this form, the router must have the external Forward port 80 to the internal port 32400 of the QNAP. The corresponding approval is defined in the Fritz! Box as follows.
After setting up the port release, the release should be recognized by the PlexMediaServer and look as shown above.