Synology FAQ - Questions, Answers, and How-To's

FAQ 18: Moving PMS from Mac/Windows to Synology

Note: This method mimmicks the “DSM 7 ‘migration’”. It is done this way to maximize automation and ensure a successful import.

  1. Make certain to turn off / disable the following in Plex Settings > Server > Library before stopping PMS.
    a. Scan my library automatically
    b. Run a partial scan when changes are detected
    c. Scan my library periodically
    d. Empty trash automatically after every scan

  2. Stop PMS on the source (Mac/Windows) machine

  3. ZIP up the “Plex Media Server” directory.

  4. Using FAQ #1, give yourself access to the Plex Share

  5. If PMS is already running on the Syno, stop it. If not installed, Install it and then stop it.

  6. Open File station

  7. Navigate to Plex / Library / Application Support

  8. Rename the existing “Plex Media Server” directory to “PMS.orig”

  9. Drop your ZIP file and unzip so it unzips and takes its place as “Plex Media Server”

  10. Right-click “Plex Media Server” and set the properties - owner as “plex:users” for “this folder, sub-folders, and files” (checkbox)

  11. Using File Station
    a. Navigate to Plex/Library/Application Support/Plex Media Server/
    b. Delete everything found here. These tokens are incompatible with Linux. New will be created as needed without issue.
    c. Details / How-To in this FAQ Synology FAQ - Questions, Answers, and How-To's - #27 by ChuckPa

  12. Start PMS.

  13. Now transfer the media locations (Edit each Media Library section in turn:
    a. Add the new locations,
    b. scan files
    c. observe duplicates showing (good),
    d. when all duplicated
    e. Edit the section’s folders again and remove the original locations.
    f. Advance to the next Library section and repeat until done.

  14. When all sections have been edited,
    a. Scan files one final time
    b. Empty Trash
    c. Clean Bundles
    d. Optimize database

  15. When happy everything has transferred, delete the ZIP file.

Go to Index

2 Likes

FAQ 19: Setting permissions to allow Plex access to media files

Before beginning, it’s important to remember one key point; Plex doesn’t have any special privileges on Synology except for being able to access the Video Transcoding acceleration hardware. It cannot read any of your files unless you expressly grant permission. This is a fundamental principle of Linux (which Synology uses for DSM)

Because of how Synology grants permission, access to files is broken into two different elements and, as the direct result, may take 3 forms

  1. The file(s) were copied onto the NAS from external media
  2. The file(s) were copied onto the NAS using a SMB/NFS user account
  3. The file(s) were copied onto the NAS using a third party utility/program.

In almost all cases, granting access to user Plex in the Control Panel - Shared Folders (app) is all that’s needed. However, sometimes, because of the different ways media files might have been copied, they need permission adjustments to work in the Synology/Plex environment.

This FAQ shows the different steps you might have to take to change permissions for Plex to see the media.

For DSM 7 - Grant permissions for “PlexMediaServer”
For DSM 6 - Grant permissions for “Plex”

  • The most common, which is also a required step, and easiest to do, is grant access to the Shared Folder where the media is being stored. Always do this step first.
    a. Control Panel
    b. Shared Folders
    c. EDIT the share containing the media
    d. Permissions tab
    e. Check the box (Read only or R/W) to grant Plex access.

  • The second most common, but also most confusing, is when permissions are mixed due to where the media files originated. Only do this step as needed and only to the degree it’s needed.

(DSM 6 shown here. Use PlexMediaServer for DSM 7)

  1. Check the share’s (or movie/tv series’) Properties

  2. If user “Plex”/“PlexMediaServer” isn’t listed, we will need to add it to the list of username (top box), and then check the access permission boxes (Read permissions block & Write permissions block)

  3. After adding user Plex to the list, to complete the operation, “Apply to this folder, sub-folders, and files” then click OK.

Final note:

It is possible, as you add media, you will again encounter individual files which aren’t seen. By applying the last part of this procedure surgically on those folders/files, you can open up their permissions and allow Plex to see them.

Ref: PlexMediaServer - DSM 7 permissions

Go to Index

2 Likes
Unable to locate media on Synology NAS
Plex library not updating automatically synology ds218+
There are no items in Library ¦ DS918+
Need help with subfolders in movie library
Plex cannot see multiple USB drives connected to SYNOLOGY NAS
DS918+ and plex
After migration to DSM 7 DVR has Problems with permissions
Folder with content not available
Allowing plex to access another folder on separate hdd (same NAS)
Changing my Plex setup, help needed please
Library does not detect home video files
Plex server not scanning music in Itunes folder
Synology Plex not finding all files
Photos not shown
Can't find a specific whole folder
Plus d'accès à mes films via Plex
Plex scans and detects new videos in one folder but not the other
Synology package is stopping every day
Not all my files appear in my library despite proper naming
[SOLVED] Since updating plex to 1.28.0.5999, all lib are not available
Library issue and input on them
Unable to add media folders
Plex does not see the folders content
TV shows folder noot shhowing titles in plex
Libraries no longer found, server installed on same NAS as Library
Plex not seeing episodes in HEVC
Problem with album artwork showing as band image (and more)
Certain Folders Not Being Detected
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
"Music" is empty
Plex will not scan library
Pre-roll won't work
Library moves move
MP4 File Won't Transfer To Plex Media Library
Libraries don't automatically update when adding new content
Visibility to Library Details
Plex doesn't recognize new movies anymore
So confused .. Why isn't plex indexing my files?
Problems with folder hierarchy
Please upload 3.3.4 version app for Samsung Tizen tv
Plex Playback Error "Please check that the file exists and the necessary drive is mounted"
Update auf PlexMediaServer-1.21.1.3830-6c22540d5-x86_64
How to configure library with heirarchial shared file structure
Synology NAS Plex not finding any files
Plex not finding a few movies in my movies folder
Plex shows running but inaccessible
Plex on the synology dx517 (solved)
Please check that the file exists and the necessary drive is mounted
Plex does not see Synology NAS folder structure
Plex does not see Synology NAS folder structure
No matter how I name them, not a single part of a tv serie, from dvd, is shown in Plex
Add Library on Plex Media Server on Synology DS720+ only shows Volume1
Music and videos are empty, photos is only showing videos
New Libraries showing has empty
Plex neu aufgresetzt ... es werden aber keine Filme gefunden
Libraries not visible
Synology Moments and PMS reading library pad
Improper Library Labelling & Metadata in Music
Plex Media Server - Synology DSM 7 Preview - Issues ( Archive )
Issues with Synology Permissions
Cant see subfolders when adding media to Synology Plex server
Plex library not seeing folders or files Synology DSM7
Viewing films on Synology thru PLEX a problem here
As minhas alterações não puderam ser salvas
Zwei Synology Folder lassen sich nicht zur Mediathek hinzufügen
Plex can't see media folders when I try to add library
PMS can't delete video from Synology server
Share naming on Synology NAS
Plex Not Finding (Some) Files from Library
Server only runs for a few minutes
Plex not finding newly added media - only after manually copy/pasting into media folder
Problem: Plex Server Installed on Synology NAS (DSM 7) Unable to add any library files
Synology DSM7 - Plex No Longer Finding New Files
Additional Optimize Version storage locations
Not all my files appear in my library despite proper naming
Videos Not Loading in New Folder
Plex not seeing folders on new Volume & new expansion unit
Missing TV Shows
A Nightmare on Elm Street - cannot get it to add to my library
Media/Nas folders not available in Add Library step (PMS set permission for read/write)
Unable to load movies from my Synology NAS
Plex adding media then randomly removing from Library
Plex Server Not Indexing Video Library on Synology
Unable to connect to securely & Can't authenticate user
Zugriff verweigert
20% of my movies are not being recognized
Plex can no longer play my music or add new files (Synology)
Plex only sees 193 songs of a 16000 song library on Synology NAS
Plex can't find some films/series
PMS routinely crashing on DSM
Can't upload new photos
Plex adding media then randomly removing from Library
Can't find my folder in PMS when browsing for it to add in library
Updated to DSM7, Plex Re-Installed, Transcode Errors
Plex System Name
Plex cannot access the media on Synology server
(DSM 7) Plex Media Server wont find new movies
Plex on Synology server stopped working
Somethings Wrong
Filenames changed on NAS but not reflected on Plex; now points to unavailable file
HELP! I can't live without Plex
Filenames changed on NAS but not reflected on Plex; now points to unavailable file
Plex not adding items to library
Plex won't display all my videos
DMS 7.1: Delete not working when Plex is running in a Docker container
Access to server denied in PLEX
Synology running Plex will not even recognize .mkv files in my TV directory
Folders not visible to import music. First setup. Need help!

FAQ 20: Bypassing the iHD video driver

Obsolete as of PMS version 1.21.0

Reference only

This still seems to be effective for some customers with low bitrates, LiveTV buffering, or DVR signal strength issues

For versions below 1.21.0
This shouldn’t be necessary but is until such time as Intel is able to fix the problem.
the best choice is to configure PMS to bypass it by editing your Preferences.xml file

  1. Install the Synology Text Editor (Required)
  2. Stop Plex
  3. Open File Station and navigate to Plex / Library / Application Support / Plex Media Server
  4. Right-click Preferences.xml and Open in Text Editor
  5. On the bottom line, scroll to the right.
  6. Bfore the closing /> type VaapiDriver="i965" .

It will appear as : VaapiDriver="i965" />
Preceding and succeeding space is required.

  1. Save the file
  2. Restart PMS

WARNING: REMOVE this preference when playing HEVC HDR encoded with Level 5.0 and above. The i965 initialization will fail. HW transcoding will fall back to SW and fail to transcode.

Go to Index

3 Likes

FAQ 21: After migrating from Windows to Synology

After moving (ZIP file – which can take a long time due to the number of files being moved) your Plex server from a Windows platform to any Linux platform, you must remove all the leftover Windows files which are known to cause problems.

The two important areas to purge are:

  1. Plex / Library / Application Support / Plug-in Support / Caches

  2. Plex / Library / Application Support / Plug-in Support / Data


    Do not purge Databases (this is your main database)

After purging the caches (removes all the files with CR/LF text files)

  1. Start Plex.
  2. For each Library section
    a. Scan Files
    b. Refresh All Metadata
    c. All to complete before advancing to the next section.

Go to Index

1 Like

FAQ 22 - Hard reset server credentials.

DSM 7 -

  1. Uninstall with the “Keep” option

  2. Install the same version package again,
    – Plex Claim Token method
    – Click “Get Plex Claim token”
    – Browser will open and show claim-xxxx token
    – COPY the token to browser (do not waste time. Token expires in 5 minutes)
    – Return to installer window
    – PASTE into token window on installer form


    – Click NEXT & DONE and continue installation
    – Installation will take 15-30 seconds longer as installer and Plex.tv setup new credentials
    – Installer will show success or failure. Success will confirm using your Plex account username when done.

  3. This ONE TIME -
    – Open an incognito window
    – Open http://lan.ip.of.syno:32400/web
    – IGNORE the “not hosted by Plex” message and proceed.
    – Sign in
    – Go to the left panel and select your server
    – Let the browser and server resync

  4. You may now close the browser tab and use PMS normally.

  5. Restart any player devices so they update with the new server credentials.

DSM 6 -

Use this procedure (Soft reset) when:

  1. You receive the nasty “No Soup For You” message
  2. You’ve changed your Plex password and now have trouble accessing the server.

WARNING
If you can use SSH-tunnel, use it. Do not use VPN. Use of a VPN forwards your IP as the “Referrer-IP” which PMS will always detect as remote which locks you out when it’s unsecure.

Soft Reset credentials.

Begin here:

  1. Sign out the plex/web browser
  2. Open a new Window
  3. Go to to www.plex.tv (not app.plex.tv)
  4. Sign into your account settings.
  5. Force sign out everything as you change the password.
  6. Open an incognito window
  7. Open http://ip.addr.of.host:32400/web (or 127.0.0.1:32400/web if on the host)
  8. Sign in
  9. Claim it again.

The X-Plex-Token and other credentials will now all resync
go to your devices and sign them in again.

If the soft reset step fails

Hard reset credentials.

  1. Stop PMS

  2. Using File Station, navigate to “Plex / Library / Application Support / Plex Media Server”

  3. Right-click ‘Preferences.xml’ → Open with Text Editor
    (Install the text editor in Package Center if needed)

  4. There are 4 values to remove. The are all of the form Name="Value"

  5. Remove the Name="Value" pairs for:

  • PlexOnlineUsername
  • PlexOnlineToken
  • PlexOnlineMail
  • PlexOnlineHome (if it exists)
  1. Save the file

  2. Start PMS

  3. In an INCOGNITO brower tab, open http://lan.ip.of.syno:32400/web

  4. It will want you to sign in – Do so

  5. It might offer “Got It” . OK if so offered

  6. Might offer the setup wizard.. Skip through it as appropriate
    ( No need to recreate shared folders unless you deleted the contents of the Plex shared folder)

  7. When you arrive at the Dashboard, recheck your settings. All should be intact.
    Fix as appropriate.

  8. You may now use PMS normally.
    Go to Index

2 Likes
Need to Totally Reset Plex Server on Synology
Can you set up Plex server entirely remotely on a NAS?
Can't access server-settings
Impossible to claim my PMS on Synology DS415Play
Looking for a fix for (No soup for you! The server you're trying to access doesn't want to let you in. Make sure you're signed in as a user with access to this server.)
Pms not recognised after password change
Terrible performance
Unable to log into my account
What to do when Plex doesn't work
Locked out (no soup for you) after changing password
Cannot get to local server login
Trying to Wipe away all the trace of PLEX from my Synology so I can start from scratch
Es ist mal wieder passiert - Plex server weg und lässt sich nicht mehr finden
Cant add my Media to Plex on Synology DSM7
Problems reclaiming PMS on Synology after password reset
Solved: Users other than admin cannot access my Plex server, even on local network
Plex Server no longer working after password reset (Synology NAS)
Can't find my server after password reset
After PW change, server claimed, can access locally, but Plex.tv says "unable to connect securely"
“Not authorised: You do not have access to this server” after password reset
Unable to reclaim my Plex Server after password reset and sign-out
Synology DS1621+ Reset Password, Tried Uninstalling Plex Media Server, Now Can't Use Claim Code
Problem after password reset
Plex doesn't see TNAS server (after password reset)
ReadyNAS media library no longer visible after password change
Server Disconnected
How do I get my server back?
Synology: DSM 7 Installation Archive -- Archived from main thread

FAQ 23: Moving large amounts of data on Synology via GUI.

This FAQ is intended to be used in conjunction with this How-To

This FAQ is to help you get away from using the default Synology Video, Music, and Movie shares. Use of their shares will always conflict with Plex when Video station and/or Audio Station is installed. This FAQ helps you store your media in a neutral location both can work with.

This FAQ is provided AS-IS, without liability for any data loss (I hate legal clauses but necessary) so be sure you know what you’re doing as it is a “Full Power” tool.

While it does seem like a lot of work, it is only in the first-time setup.

This procedure is set to move ONE block of data at a time. If you need to move multiple blocks around, you will need run it multiple times. Keeping it this simplistic avoid mass damage from occurring.

When moving large quantities of items, you’ll quickly find File Station takes far longer “preparing” than you do to make the edits.
WARNING:

Before proceeding:

  1. If the source volume and the destination volume are different, make absolutely certain you have enough free space on the destination volume.

  2. If you are moving to a new share, be certain to create the new share in Control Panel - Shared Folders first. Pay attention to the capitalization you use.

  3. If source and destination volumes are the same, there are no disk space concerns.
    a. If moving across volumes, you will need to make certain enough space exists on the new destination volume. ( This process does a copy-then-delete after method )

  4. Make 100% certain there are no folder or file names which begin with a period (DOT) . character. The dot character (period) in Linux is considered a hidden folder or file and will be ignored (left behind).

How To Do This:

  1. Control Panel

  2. Task Scheduler

  3. Create a scheduled task which is a User-defined Script

  4. It is to run as user root . DO NOT “Enable” it.

  5. Define it to run on the schedule below (which satisfied the GUI only)

  6. Under “Settings” copy and paste this text VERBATIM

#!/bin/sh
#
# Define the source and destination share names (Capital letters are critical)
Source="/volume1/ChuckSource-Test"
Destination="/volume1/ChuckDestination-Test"
#
# It is important that the Destination exist before Enabling and Running this script
# If not created,  the script will error.

# Check before moving
if [ ! -d "$Source" ]; then
  echo \"$Source\" is not a directory or does not exist.
  exit 1
fi
if [ ! -d "$Destination" ]; then
  echo \"$Destination\" is not a directory or does not exist.
  exit 1
fi

# Safe to move so do it.
mv -f "$Source"/* "$Destination"


  1. If you want the script output emailed to you, enter your email address
  2. When complete, click “OK” to save it.

The script is now ready to edit for your use.

How To Use
In Plex:

  1. Go to the Library section
  2. Add the new shared folder (Destination) to the list of monitored folders)
  3. Save it
  4. Let it scan but come up empty
  5. Go to Settings - Server - Library
    a. Disable Automatic Scan
    b. Disable “Empty Trash after every scan”
  6. Now perform the move below

Performing the move

  1. In the Control Panel - Schedule Tasks
  2. Highlight the script and click “EDIT”
  3. Go to “Settings”
  4. Carefully edit the source and destination directory (folder) names to match your source and new destination shared folders.
  5. Save (OK) the changes
  6. Advise: Open FileStation so you can monitor the progress (use Refresh)
  7. Now “RUN” the script.

  1. After it’s done, inspect

–Before–

–After–

  1. Return to Plex
  2. Go to the Library section you are moving the data for.
  3. Invoke a “Scan Files”
  4. Observe as Plex finds the files in their new location (did you give Plex permission?)
  5. When all media is accounted for (no red trash can), EDIT the shared folder list again and remove the old media location.
  6. Scan again

You’re nearly done.

  1. When all media moves have been completed
  2. Settings - Server - Library
  3. Enable Scan my library automatically (if you disabled it)
  4. Enable “Empty Trash” again
  5. Lastly perform these steps to clean the whole library section
    a. Scan Files
    b . Empty Trash
    c. Clean Bundles
    d. Optimize Database

Go to Index

FAQ 24: Restoring Share Permissions to Default Settings

DSM 6 only

This FAQ/How-To is for those cases when the different applications in use on a Synology NAS have interfered with PMS operations so much that trying to sort out the root cause has become impossible.

It is in these cases, the best solution is to forcibly set them to a known base permission level.

Here is how to do it.

  1. Control Panel - Scheduled Tasks
  2. Create a “User defined Script”
  3. DO NOT “enable” it (It is enabled by default). You want full manual control.
  4. In the Task Settings tab, paste the script below (copy/paste from the browser) exactly as I have provided
  5. Save (OK) it.
  6. Now “Edit” it again → Task Settings.
  7. Edit the line: for D in "/volume1/Animated", replacing my share pathnames with your pathnames. Multiple quoted paths may be listed on that line, separated by a space. The names are case-sensitive so please to be exact.
  8. The script runs silently but you can opt to have it email you the output (in the other settings).
  9. When happy with your edits, Save it again (OK).
  10. The task is now ready to execute.
  11. Run the task.
  12. Review and re-add permissions to the share(s) using Control Panel - Shared Folders.

It is advised Operate on one share at a time until you are certain you understand what follow-on steps are needed.

After running the script, any special permissions which were previously granted to the listed shares will have been removed.

The default permissions assigned are:

  1. The share owner (you?) will have full Read/Write access
  2. Everyone else will have Read-Only.
  3. Shared Folders or File Station can now be used to add/remove permissions as you deem appropriate.

A. Preparation of the script - Creating

B. Pasting in the actual script from below +

C. Running the script to set the permissions.

The “Script” for Task Settings

#
# This script will reset and assert permissions in the each of the listed directories
# in this "for" loop.   DO NOT assert permissions on any Synology/system-reserved folders.   This could render your data inaccessible.

# Which shares are we going to work on
for D in "/volume1/Animated" 
do

 # Do this only if the name ($D) is a directory (full folder path)
 if [ -d "$D" ]; then

  # Revoke all previous permissions to a sane value
  find "$D" -type d -exec chmod 755 {} \;
  find "$D" -type f -exec chmod 644 {} \;

  # Now assert Synology ACLs so the current file owner has control
  find "$D" -type d -exec synoacltool -add {} 'owner:*:allow:rwxpdDaAaRWcCo:fd--' \;

  # Grant Read-only to everyone else
  find "$D" -type d -exec synoacltool -add {} 'everyone:*:allow:r-x------R-c-o:fd--' \;

 fi
done

Ask if questions prior to use.

Go to Index

FAQ 25: Reclaiming a lost server

This How-To is better than the :exploding_head: nuclear option of starting over.

DSM 7

To reclaim a “lost” server. (lost / locked out / password reset)

  1. Uninstall the package with the “KEEP” option.
  2. Reinstall the same package again, selecting the “Plex Claim Token” option
  1. Click NEXT, NEXT, and DONE to continue installing.

  2. After about 15 extra seconds, The installer will confirm you’ve installed the package again AND whether or not it is reattached. When reattached, it will show your Plex username.

  3. Open a private browsing window to the LAN IP of the Syno ( http://lan.ip.of.syno:32400/web )

  4. Sign in, ignore the “Not Hosted by Plex” warning. Confirm everything is back.

  5. Close this window and reopen normally. Claiming is complete.

DSM 6

This is written this for worst case (reclaiming may happen 2 ways - both are shown here). It will likely only need through step 16 but I’ve provided everything just in case.

  1. Install the Synology Text Editor app (in Package Center - Search)
  2. Stop Plex
  3. In your web browser, https://app.plex.tv
  4. Settings - Authorized Devices - Servers (drop down)
  5. Remove the Synology (we will make it appear again in a minute)
  6. Sign out of Plex/web (upper right corner)
  7. Open File Station
  8. Plex share / Library / Application Support / Plex Media Server
  9. Right - click “Preferences.xml” → Open in Text editor.
  10. Very carefully, remove the complete Name="Value" pairs,
    a. PlexOnlineToken="-value-"
    b. PlexOnlineUsername="-value-"
    c. PlexOnlineMail="-value-"
    d. PlexOnlineHome="value"
  11. Save the file.
  12. Right-click Preferences.xml again and make certain it is still owned by plex
  13. Start Plex
  14. Back in your browser - Open an Incognito window
  15. Open http://ip.addr.of.syno:32400/web
  16. It will ask you to sign in again
  • In case it thinks “We’ve found a new server”, continue with step 17 below.
  1. Expect the “Got It” message and “We Found a new server”.
  2. The setup wizard is also likely to start. We will SKIP through this.
  3. Do not create any new library sections. All your existing media still is there.
  4. Continue forward until you FINISH and get to the dashboard.
  5. You’re done.

Go to Index

4 Likes
Synology NAS - Plex Media Server error (cant connect & “No Soup For You” error)
Getting No Soup For you Error, followed guide to Edit Preferences.xml. none of that info is in my Perferences.xml
Looking for a fix for (No soup for you! The server you're trying to access doesn't want to let you in. Make sure you're signed in as a user with access to this server.)
PMS is not visible in web app, and i cant add media
Media Unavailable - Cant Access 3200
My PMS asks me to install PMS on my Synology
Suddenly Remote access isn't working - Outside network appears and then fails
Plex won't show local server
Your home screen is empty (happening after years of working fine) - SOLVED
Unable to add media folders to NAS (Permissions have been granted)
Install Issue? Files Gone
Is it possible to access Plex (remotely) with no fixed public IP? How?
No soup for you! You do not have access to this server
How to reconnect server after password reset
DS412+ Keeps Asking to Get Plex Media Server
PMS not available with no system changes
How to change where media is stored - re-run wizard to set up new server
PMS can't locate my QNAP server after PMS update on 3/31/2020
Server says accessible, but remote device says it's offline
Can't access Plex Server settings from app.plex.tv on Synology 3018xs
Failed to run the Package Services
Failed to run the Package Services
Plex Password change on a synolgy
Can no longer see qnap on plex
Cannot "Reclaim" Plex Media Server - Help Needed
Plex media server (synology NAS) asks me to install plex server when I try to add media
Trying to Wipe away all the trace of PLEX from my Synology so I can start from scratch
Adding already running Plex-server
Your home screen is empty (happening after years of working fine) - SOLVED
Unable t create libraries
Can’t connect to media server
Can’t connect to media server
Can't Claim My Server after a Reinstall
Synology - DSM 7 Plex Not Up Upgrading
Remote access no longer works
Server missing, unable to claim, unable to setup a new one
Server is not found
Es ist mal wieder passiert - Plex server weg und lässt sich nicht mehr finden
Ich habe mein Plex komplett geschossen. Hilfe!
DSM7 Install server trying to add files, tells me to install plex server
Komplizierter Upgrade von Plex mit DSM7
Synology Not authorized Fresh install
I can not start my Plex Server on my Synology NAS
Unable to access Plex on Synology
Lost Server Access - DSM 7.0
Cannot Access Server Settings
No Soup... on my Synology NAS
Re-connecting Synology to Plex
Need Help with DSM 7.1
Plex Server no longer working after password reset (Synology NAS)
Plex does not find server on Synology
Synology DS1621+ and full reinstalation of Plex = I can't see my media server
No Soup For You - You Do Not Have Access to This Server
Claiming a server that is already claimed
Since Password Reset Can't Access My Content from Synology DS220j
Plex Server Missing From Plex - Synology DS418play DSM 7.1
Managed User not able to access shared libraries on separate servers
Access to server denied in PLEX
Personal media not found after purchasing plex pass
How to reconnect server after password reset
Synology: DSM 7 Installation Archive -- Archived from main thread
Instalar Plex en un Ds220j DE Synology
Cant Claim Server on Synology DS412+
Not authorized on DSM7
Going around in circles with 'permissions'..Help!

FAQ 26 - Migrate from another OS → DSM 7

Migrating from another PMS installaton to Synology DSM 7 requires a little bit of up-front work.

The basic procedure is:

  1. Prepare the existing installation for copying
  2. Create a “Plex” shared folder on DSM which will be the base share for importing.
  3. Create the folders “Plex/Library/Application Support”
  4. Copy the “Plex Media Server” folder and contents into “Application Support”
  5. Manually set permissions of the Plex share, and all files in the shared folder, so it can be read by everyone (which also will include the new PlexMediaServer user when it gets created).
  6. Now we will “Manual Install” Plex (DSM7) on the NAS.
  7. As it installs, it will issue some initial errors because the permissions are not correct.
  8. Follow the instructions given in the pop-up message.
  9. When the installer is satisfied, it will begin “Installing” and sit there.
  10. Let the DSM 7 installer do the heavy-lifting . (It will give instructions as it does its work)
  11. You’ll know when it’s done. Plex/Migration.log will indicate “Cleaning” is complete.

Here we go :grinning_face_with_smiling_eyes:

On the originating host PMS

  1. Turn off all automatic updating
  2. Disable “Empty Trash”
  3. Save those settings
  4. Stop Plex
    (we’re about to clone it)
  5. Create a ZIP file of the “Plex Media Server” folder (the one that contains all the metadata underneath it)

On DSM

  1. Create a shared folder named Plex (case sensitive)
  2. In that shared folder, create this structure (old DSM 6 'cuz it’s easiest)
Plex/
  Library/
    Application Support/
  1. Copy the ZIP file to the “Plex/Library/Application Support” folder

  2. Unzip the ZIP

  3. After unzipping move the contents if needed to produce the following structure

Plex/
  Library/
    Application Support/
      Plex Media Server     <-- this will have come from originating machine
  1. Download PlexMediaServer from https://plex.tv/downloads for your Syno

  2. Manual install that SPK file

  3. As it installs, it will find the “Plex” shared folder and immediately (while installing) start migrating it to the DSM 7 structure.

  • Do not be alarmed if DSM gives you an error (Operation Failed and forces you to sign out).
  • The installer will keep running until it’s completed.
  • The installer will tell you if there is a failure (Popup message window)
  1. Depending on how much data you have, you might be here a few minutes → hours → whenever.
  • DO NOT INTERRUPT OR RESTART DSM. You will invalidate the installation migration.
  1. Open a new window to the Synology, Open the Plex share. Look at the file “Migration.log” . You’ll be able to follow the progress

In case you need to see the steps about granting permissions.

1 Like
Help transfering Metadata from Plex Windows to New Synology NAS using DSM 7.0
Transferring Plex to NAS drive
Question For Synology Server with Windows Files
Testing a NAS installation with existing Plex account/server
Lost thumbnails when indexing: Synology 7.2
Plex on ds423+ trying to transcode everything to flac and most of the time kills stream
Migration from Windows to Synology NAS
Migration from Windows to Synology NAS
Migrating PMS from MacOSX to DSM7
New Server setup Synology DS423+ (already have existing server on PC to be decomissioned)
Reclaiming Migrated Windows Server on DS423+
Plex installation on Synology
Migration from One Synology to Another
Backup custom metadata
Migrate Drobo to Synology
Own covers are vanished after Plex installation moved to new server
Move Plex Server to NAS
Own covers are vanished after Plex installation moved to new server
Drobo to Synology: Libraries missing
Have been running PLEX on a Server 2016, now I've started to run plex on my synology NAS,
MIssing Agents After Migrating to Synology
"NAS" est actuellement indisponible
Moving from WD to Synology - hit a snag with metadata
Nas access
PMS folder structure
Issues with plex migration from windows to synology dsm 7
Migrate server data from Windows to Synology
Moving from rpi5 to synology NAS
Synology: DSM 7 Installation Archive -- Archived from main thread
Moving Metadata from older server (Mac Mini) to new Synology NAS
Migrate from Windows to Docker on DS920+ now HDD constantly works
After resurrecting Plex from W10 crash to Ubuntu 24.04.1 how to reconnect with friends and family?
Plex Media Server Nonfunctional After Migrating Server Folder on old Windows machine
Moving PMS from Mac to Synology 920+
Synology Version: 7.2-64570 Update 1 and plex
ERROR - JobManager: child process returned: 2 (No such file or directory)

FAQ 27 - Migrating an existing PMS from DSM 6 to DSM 7


NOTICE: DSM 5 → [ DSM 6 ] → DSM 7 First Step

If you first started using Plex with DSM 5, then upgraded to DSM 6, because of a change internal to DSM 6, you will need to perform this step before you start the DSM 7 upgrade.

If you never used DSM 5, or deleted the Plex share sometime during DSM 6, you can skip this step and continue with the normal upgrade steps

  1. Rename the existing Plex shared folder to Plex.old
  2. Create a new Plex shared folder
  3. Move the entire contents of Plex.oldPlex
    What you’ve done creates a shared folder which DSM 6 didn’t upgrade.
    DSM 5 didn’t support “Full Control” mode. DSM 6 introduced this.
    With DSM 7, we need Full Control mode for the Plex share due to the added restrictions of DSM 7.

Upgrading PMS from DSM 6 → DSM 7

DSM 7 no longer allows us to go find the metadata directory and use it across volumes before starting PMS (This is the lack of “root” privilege blocking). As such we require the following two conditions are met we will attempt to automatically migrate you;

  1. You have an existing DSM 6-created PMS installation and PMS is installed on the SAME STORAGE VOLUME as the “Plex” shared folder (this is critical)

  2. You have an existing DSM 6-created installation and PMS is uninstalled and reinstalled on the same volume as the existing Plex share.

If you do not meet either of the above conditions we will warn you and advise you.

Scenario 1: Plex Media Server is NOT installed on the same volume as Plex share

  1. If PMS is installed on a volume other than the Plex share’s volume, you will be notified to make your system comply with the new requirements.

  1. At this point, Uninstall the failed package

  1. When re-installing, instruct Package Center to install PMS on the same storage volume as the Plex share. (Check this in Control Panel - Shared Folders if uncertain).

  2. You can now proceed to the next section of instructions in Scenario 2.

Scenario 2: Plex Media Server installed on the same volume as the Plex share

  1. If PMS is installed on the same volume as the Plex share we will detect this and attempt to automatically migrate your Plex Media Server library/preferences to the new DSM7 location.

  2. Migration Bootstrap (This failure is expected during during first installation)

When you first install Plex, because the username and permissions mechanism have changed in DSM 7 to PlexMediaServer, DSM won’t have the proper privileges set. You will need to assign them.

  1. During install / upgrade, it will fail and give you this message:

  1. Change the shared folder permissions using
    a. Open Control Panel
    b. Shared Folders
    c. EDIT the Plex share
    d. Permissions tab
    e. Click Customize
    f. Check all Administration
    g. Check all Read
    h. Check all Write
    i. Click Done
    j. Check ‘Apply to this folder, sub-folders, and files’.
    j. Click Save (Applies shared folder permission changes)
    k. – Now wait until all changes are applied
    l. Click Save again to return to the Shared Folders app.

NOTE: “PlexMediaServer” must have Full Control. Repeat the steps above until DSM shows Full Control for user PlexMediaServer.

  1. Propagate this change throughout the shared folder
    a. Check Apply to this folder, sub-folders, and files (Important)
    b. Click OK
    c. Wait for permissions to be applied to all the files. (2 minutes/1000 items)

Here is a screen capture with everything open and all boxes checked.

When DSM returns to the Shared Folders app, Phase 1 is complete.

You may now continue with Stage 2

Stage 2

  1. Uninstall the failed PMS package..and Install again.
    a. If you attempted Repair, and PMS shows installed, use Remove all data option.

  1. PMS will again check all permissions are in order.

  2. If they are not. you will be instructed to contact us here in the forums for additional support. Otherwise, you will see Installing while all permissions are changed, symbolic links are checked, and your data moved to the new storage location.

  3. If the installer finds no issues with ownership or permissions, it will begin actual migration. The protracted “Installing” spinner is the actual migration in progress.

  1. Migration is not instantaneous. AFTER a significant delay (about 1 minute per 1000 items indexed by Plex) you will now see the final message telling you that your Plex installation has been migrated to DSM 7 and what you still need to do to grant access to your media.

Alternative installation using Claim Token ( Docker container style )

This method supports claiming a server which is:

  1. Remote
  2. On a non-RFC 1918 network
  3. Credentials compromised due to hard server reset or password changed incorrectly.

To use:

  1. Select the option
  2. Click “Get Claim Token”
  3. Authenticate with Plex.tv
  4. Copy the token string
  5. Return to the installer,
  6. Paste the token string into the window
  7. Click Next

(the token is valid for 5 minutes so do not delay)

NOTES:

The migration requires about 1 minute for every 1000 items indexed by Plex.

During this time, we:

a. Correct all malformed agent entries from older PMS versions
b. Assign all new permissions for user PlexMediaServer

Upon completion,

  1. Your Plex Media Server files will have been relocated to the new storage area.

  2. All other Plex-created information files and directories created by Plex in the Plex share will be removed if possible.

  3. There is no risk to any media you may be storing in the Plex shared folder.

1 Like
Can I Upgrade from DSM 6 directly to 7.1?
Is DSM 6->7 upgrade safe now with PMS?
Updated DSM 7 Update and now my Plex libraries are missing
Looking for latest info on upgrading Synology DS220+ to DSM 7 with Plex already installed
After migration to DSM 7 DVR has Problems with permissions
Plex not working after upgrade to DSM7 from 6
Unable to run PlexMediaServer after updating Synology DSM to version 7.1.1
Struggling with migration from DSM 6 to DSM7
DSM Direct Migration from 6.4.2 to 7.2.2 - Plex Server / Media not migrating to 7
NAS upgrading: questions/concerns around DSM 6 to 7 migration, HW Transcoding
Synology just updated to 7.0.1 server gone now
DSM 7 and Plex updates
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Migrating DS1019+ to DSM 7 running plex and docker
Upgrading from Synology DSM 6 to 7 i lost my library data and playlists
Failing to access server after upgrade to DSM 7
All media disappeared and can't choose folders when creating a new library
Question regarding updating from DSM6 to DSM7
Libraries not found after Plex update
Question regarding updating from DSM6 to DSM7
Failing to access server after upgrade to DSM 7
Hardware accelerated transcoding
DSM 6 -> DSM 7 Migration
My new DS224+ wont play media files, and gives differing errors as to why
Color corruption on resize when HW transcoding HEVC content - Synology DS920+
Plex showing two iterations of my Synology NAS server
Plex on ds423+ trying to transcode everything to flac and most of the time kills stream
Re-installing Plex Package on a DS416j NAS running DSM 7.1.1-42962 Update 5
Migrating PMS from Mac to Synology
Syno NAS Plex Media Server Install Fails to Claim or See my Server - HELP!
Does Sonos still work with the latest version of Synology (7.2)
DS720 - Plugins
Upgrade to DSM 7 and upgraded Plex version - now having issues
With Synology NAS, moving from version 6 to 7.2 on new NAS, will Plex work properly afterwards?
Libraries are gone
Fresh install of Plex on DSM 7
Updated DSM, Having Some Issues
Cannot connect to Server locally, able to connect on iOS only periodically
Plex media server not working anymore after not using it some years
Synology DSM 6 to 7 chaos :P
Which version of PMS?
Synology DSM 7 - DiskStation server gone
Can not install PMS on Synology DS3622xs+ (DSM7.2.2-72806)
Can not install PMS on Synology DS3622xs+ (DSM7.2.2-72806)
Plex Media Server for Synology DSM v7.2.2
Migration from Synology DSM 6 to DSM 7 Libraries Empty Issue
High Synology CPU Usage
Plex is NOT working on my Synology DS1618 since the upgrade of both NAS OS and Plex
Cannot access Plex outside home network
Synology DSM 7 + PMS + Goofy Friends = Sad
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Plex library folder search does not work (dsm6 -> 7.2.2)
Synology DSM 7.2.2
HELP! I can't live without Plex
Issues with plex migration from windows to synology dsm 7
Preventing problems with Plex when upgrading to Synology Dsm 7.1 formal release
Weird PMS Synology DSM6 -to-7 upgrade results
Upgraded Synology to DSM 7 → Reinstalled Plex → error and no data moved over
Incorrect warning that an ARMv8 update is available in server management (settings->general)
PlexMediaServer is currently unavailable after upgrade from DSM6 to DSM7
Synology DS1815+ Died, moving to new DS1821+
Hastily updated from DSM 6 - DSM 7 - did not uninstall Plex - plz help
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Unable to access plex with IP address. Plex web still works
Upgraded from DSM 6.2.4 to 7.1.1, Latest Plex Server, now servers are inaccessable
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Upgraded to Synology DSM7 and cannot start/stop nor uninstall Plex
Synology NAS DSM 7 not showing on Plex Web app and no access to media on IOS app
Plex crashing but synoligy showes running?
Upgrade to Synology DSM 7.2.2-72806 broke Plex
Which version of PMS?
Synology DSM 7.2.2 upgrade - Plex no longer working
DSM 6 Latest to DSM 7.0.1 - Plex did not migrate
Where is the "true" latest Plex Media Server for DSM identified?
DSM 7.2 lost all settings, posters, collections etc
New user on Synology NAS with all sorts of problems
Upgraded to DSM7/PackageCenter before reading this forum, all libraries gone, please help
Upgrade to DSM 7
Lost metadata after Synology update. Two Plex folders?
Claim Server Fails on Synology DS1522
Plex Media Server not recognizing files after updating Synology DSM 7.2
Completed messed up upgrading Synology DSM from 6 to 7 and now struggling to recover old Plex data
Upgrade to DSM 7
Libraries not migrating in DMS 6 to 7 upgrade
Plex created a new server after update to DSM 7
Migrating from DSM 6.2 plex 1.24 to DSM 7.2
Synology 7 - Plex not working anymore
Server update seriously messed up Plex
Migrating DSM 6 to 7 without prior notice of advised steps --> no migration happened
Migrating DSM 6 to 7 - PMS failing to migrate
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology NAS upgrade
Restaurar base de datos
Kann PMS nicht mehr auf meiner Synology DS918+ starten
Synology DSM 6 > 7 Upgrade
Synology DSM 6 > 7 Upgrade
Moved Plex Library - Not Playing
DSM7 Broke Plex
Plex update Synology DSM 6.2 to DSM 7 - custom changes
Plex and DSM 7.2.1 compatibility
Failing to access server after upgrade to DSM 7
Can't log into plex from my synology, and app says my synology isn't connected
NAS upgrading: questions/concerns around DSM 6 to 7 migration, HW Transcoding

28. Using Docker for HW trancode & Tone Mapping - How To

WARNING:

This technique is no longer required as of PMS 1.29.1.6240.

PMS 1.29.1.6240 and above installs the needed drivers automatically upon first use

You may now remove the PMS container and image.

=================================================================

OBSOLETE

This How-To (FAQ) will demonstrate how to setup PMS, with HW transcoding and tonemapping support.

Two different methods are presented here
– First method is run via Scheduled Tasks which creates the Tone Mapping configuration
– Second method is for those NAS platforms (ARM based) which do not have HW transcoding capability.

Prerequisite - Get the PlexMediaServer UID/GID information

Get the UID/GID values from DSM 7 for use with PLEX_UID & PLEX_GID

  1. Create a Scheduled Task - User script
  • Run once
  • Email you the output
  • username admin is fine.

  1. In the email, you’ll see lines which looks like this:
chuck@ds418:~$ id PlexMediaServer
uid=297536(PlexMediaServer) gid=297536(PlexMediaServer) groups=297536(PlexMediaServer),937(videodriver)
chuck@ds418:~$ 
  1. The first number (297536) is the value for PLEX_UID or PUID.
  2. The second number (297536) is the value for PLEX_GID or PGID.
  3. The numbers shown here may not match your system. Use only those which come from your system only.

Method 1 - Hardware Transcoding + Tone Mapping

  1. A pms-docker container
  2. Which uses the DSM 7 (/PlexMediaServer/AppData structure) shared folders.
  3. And is fully interoperative & non-destructive of the Native app. (you can run either either as you wish.)

A. Create the HW transcoding container

  1. Create a Scheduled Task , User-Script, run as root which creates the new container. Again, have it email you the results to confirm successful creation.

  2. Substitute your actual values in the environment variables where appropriate.

Use “ID” and “GID” pulled from your system PLEX_UID & PLEX_GID
(You may use PUID & PGID for if you wish)

  • Task “Settings” are:
    – Change /volume1/PlexMediaserver to the appropriate volume only if your PlexMediaServer shared folder isn’t on the default /volume1
docker run \
-d \
--name Plex \
--network=host \
-e TZ="EST" \
-e LANG="en_US.UTF-8" \
-e PUID=297536 \
-e PGID=297536 \
-e PLEX_UID=297536 \
-e PLEX_GID=297536 \
-h dockerplex \
-v /volume1/PlexMediaServer/AppData:"/config/Library/Application Support" \
-v /volume1/PlexMediaServer/AppData/tmp:/tmp \
-v /volume1/PlexMediaServer/AppData/tmp:/transcode \
-v /volume1:/volume1 \
-v /volume2:/volume2 \
--device=/dev/dri:/dev/dri \
plexinc/pms-docker:plexpass

# Set to automatically restart unless stopped
docker update --restart=unless-stopped Plex

B. Run the task to create the container

  1. Run the scheduled task
  2. Check your email to confirm success
  3. Open the Docker app and verify you now have a Docker container.

===========================

Method 2 - Create your new container (ARM processors - No HW transcoding)

A. Define the container in the Docker GUI

  1. Download the pms-inc image
  2. Create the container using these specific settings
  • Volume map: /PlexMediaServer/AppData/config/Library/Application Support

  • Volume map: /PlexMediaServer/AppData/tmp/transcode

  • Environment variable: PLEX_UID and/or PUID = value we obtained above

  • Envirohttps://forums.plex.tv/t/important-information-about-plex-for-smart-tvs-after-september-30-2021/746506nment variable: PLEX_GID and/or PGID = value we obtained above

  • Modify variable: CHANGE_CONFIG_DIR_OWNERSHIP to false

B. Network

  • Set your network. You want to use the Host network - NOT bridged - NOT NAT.

C. Apply the settings to create the container


)

D. Done

That’s it. DSM 7 using the native data without change.

With this configuration, you can stop docker, start native and continue without change.

Please remember – Don’t try to run both at the same time :see_no_evil:

Go to Index

FAQ 28 - DSM Complains Port 32400 In Use When Installing Plex

This error , reported by Package Center, tells you that Plex’s port 32400 is already in use.

The most commonly observed cause of this is having previously installed Plex in Docker but never removing Plex from Docker.

DSM 7 now enforces port usage monitoring and will not allow you to install a program if its main port(s) are in use.

Please open Docker , Check for an old Plex definition / instance, Delete it if no longer in use.

Go to Index

FAQ 29 - DSM 7 - Give PlexMediaServer access to your media

When you migrate to DSM 7, are installing a server for the first time, or just adding a new shared folder / sub-folder for media , folks forget to read the popup at the end of every installation which tells them about how to set permissions.

This FAQ shows in detail how to do what those instructions state.

When might you need to perform these steps?

  • When upgrading, changing permissions from Plex to PlexMediaServer is overlooked.
  • Installing Plex for the first time, new installations must also grant permission for PlexMediaServer to read your media.
  • You copied new media into existing shared folders but it’s not seen.
  • You have 3rd party media tools which don’t understand DSM 7 permissions system

To remedy this:

  1. Open FileStation

  2. Right-click on the shared folder → Properties

  3. Permissions tab

  4. You won’t see PlexMediaServer listed so we need to CREATE a rule

  5. Click Create to open the Permission Editor

  6. The “User or Group” box is blank. Click the scroll down and find PlexMediaServer

  7. Click it

  8. Now click anywhere else inside the editor (over near the Read permissions works)

  9. Click the Read box and click the Write box. PlexMediaServer does not need Administrative permissions

  1. Click Done to save the new rule and return you to the Shared Folder menu

  2. Click “Appy to this folder, sub-folders and files”

  3. Click SAVE and let it apply the new permissions rule for PlexMediaServer

Go to Index

1 Like
Updated DSM 7 Update and now my Plex libraries are missing
Media Libraries not available
Plex is NOT working on my Synology DS1618 since the upgrade of both NAS OS and Plex
Synology Plex libraries not correct
Media not syncing
Migrate from Windows to Docker on DS920+ now HDD constantly works
Plex in Synology is not able to find Metadata until a Stop / Restart is undertaken
New Movie Library No Content
Synology just updated to 7.0.1 server gone now
Plex libraries are not recognizing shared folders and subfolders on a DX517 expansion unit
Plex on Synology DSM 7 - Library Will Not Detect ALL NAS Music Files
Unable to add folders to libraries in PMS
Synology: DSM 7 Installation Archive -- Archived from main thread
Unable to run PlexMediaServer after updating Synology DSM to version 7.1.1
Ill-formed package manifest - install message has HTML cruft
Error displaying photos + no new media detection
Recreate library after delete. Click Add library folders, does not see subfolders
Can you hire Plex for tech support or any Plex Expert recommendations?
Playback Error occurs when trying to play video after editing its file name
I've been Trying to Add Libraries to Plex Media Server on Synology - No media found
Plex shared folder movies not showing on different Volume
MP4 File Won't Transfer To Plex Media Library
My new DS224+ wont play media files, and gives differing errors as to why
Library Missing after replacing drives in Synology NAS
After failed Docker update plex is showing playback error: Please check that the file exists and the
Connect library to new NAS
New PMS Version 1.40.5.8854 stops running after some minutes on Synology DS215j
Can't claim server Synology NAS
Plex crashes a moment after activation in synology ds423+
Migrating PMS from MacOSX to DSM7
Reseting Plex setup on Synology DSM7
Synology migrated to DSM 7.1.1 and plex updated to latest online version - library missing
Re-installing Plex Package on a DS416j NAS running DSM 7.1.1-42962 Update 5
Re-installing Plex Package on a DS416j NAS running DSM 7.1.1-42962 Update 5
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Synology & Plex, add media from second Synology NAS
Even after I Scan (Music) Library files, Plex is only finding three of six Albums of Strauss Family
Plex Media Server library set up problems
Updated Plex server on Synology NAS, can't access media files
Updated Plex server on Synology NAS, can't access media files
So confused .. Why isn't plex indexing my files?
Can't add TV Shows nor Movies
Media Missing. No Access To Media Library
Migrating Plex from old hardware and software Synology (6.2) system to new (7.1)
New User: Plex not finding all movies
Movie folder showing up in plex movie and shows but not showing up in plex library list
Plex not seeing media on different storage pool
Synology - DSM 7 Plex - Empty folders
With Synology NAS, moving from version 6 to 7.2 on new NAS, will Plex work properly afterwards?
Directory had 1 files, database had 0 files, can't skip on Synology DS224+
Plex does not see Synology NAS folder structure
Media not detected on Synology PMS but detected on Mac Mini PMS
DSM423+ libraries do no get scan and no movies appears
Plex sees server but is not accessible. (triangle with exclamation point)
Ripping DVDs to Plex
Should I uninstall and reinstall PMS to get it to work?
Plex not showing TV Show Directory
New Libraries showing has empty
Plex Media Server on Synology Nas not allowing access to Library
Plex can not "see" my media folders
Unable To Add My Content To My Plex Server
DSM 7 and Plex upgrade now Library missing?
PLEX zeigt bei + Deine Medien - Holen sie sich den Medien Server
Plex library not seeing folders or files Synology DSM7
How to configure Plex on Mac Mini and also Plex on Synology NAS
Unable to add folders to libraries in PMS
Plex not recognizing some MKV files on Synology DS423+ (DSM 7.2)
Content of my NAS is not visible
Which Plex scanner to use for .mov files
1.30 update broke my synology DS920+ Plex environment
Movie folder is empty
Media Unavailable message
Filenames changed on NAS but not reflected on Plex; now points to unavailable file
Unable to find media on logged in NAS server
Can't access to TV Shows folder only
Somethings Wrong
Plex not seeing folders on new Volume & new expansion unit
Cloned media to new synology DS920+ but plex did not find database on new server
HELP! I can't live without Plex
Newly downloaded content not showing
Running DSM 7.1 and Plex no longer working
Plex can no longer play my music or add new files (Synology)
Plex not showing content on one particular TV Show in folder
Episode title not detected
Problem with access my media files after upgrading to DSM 7.1-42661
Photography Libraries
Plex doesn't recognizes my new medias anymore
Plex not updating libraries when scanning
Plex not seeing files in new folders
Not detecting some new movie files
Plex failing to recognize media files
Help – My NAS tells me that my files are unavailable
DSM 7 & Plex Server
Can't find my folder in PMS when browsing for it to add in library
Synology NAS setup...anyone free to help me?
Plex on Synology server stopped working
Is it possible PLEX is deleting movie files?
All Files Unavailable After Updating Synology DSM - Not A Permissions Issue
Plex Media Server cannot access media on Synology NAS DSM 7
Plex Media Server cannot access media on Synology NAS DSM 7
Need help fixing permissions on all my folders for synology
Need help fixing permissions on all my folders for synology
Completely remove Plex Media Server from Synology to reinstall
Plex not adding items to library
Metadata Sync Lost after Synology DSM 7.0 update
Plex constantly cannot find files in my library to Play
Plex won't display all my videos
Preventing problems with Plex when upgrading to Synology Dsm 7.1 formal release
Had to reset my Synology NAS, and now I can't see any of my Plex files
Get back libraries after update to DSM 7
Took Synology update to DSM 7.2.2-72806, now Plex no longer working
Movies on the same location ( a NAS ) a re fully detected by the Mac Plex server but Partially by the Sinology DSM 7.0 one
Changed location for my files. How can I redirect Plex to pick them up?
Not all my photos show
Plex not seeing the content of certain folders
All my media is not showing
Synology: DSM 7 Installation Archive -- Archived from main thread
New to Synology NAS, cant find my media
Unable to add folders to libraries in PMS
Unable to add folders to libraries in PMS
Cannot add my NAS libraries to Plex
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
After upgrade to DS7 Plex will not connect to PLex Server
Folders not visible to import music. First setup. Need help!
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
New plex install on docker (NAS)
PlexMediaServer not pulling in media from a second music library folder
Cannot seem to get a TV show recognised
Music files not findable - all other media libraries work flawlessly
Files not being added to only one Library
Synology 1515+ (6 YO) will not power on
No content from added folder to existing library
Accessibility "Make sure that the file exists and that the drive is mounted" error
Accessibility "Make sure that the file exists and that the drive is mounted" error
New user on Synology NAS with all sorts of problems
Synology 7.2.2 just installed on a new 1522+, just getting a blank screen
Trash icon on show & season (but not on episodes) after server move, emptying trash doesn't work
Not all folders are being indexed
How do I get plex to see the media in my shared folder?
Plex won't install on synology
Failed Install - Synology DSM 7.1.1-42962 PlexMediaServer-1.32.0.6973-a787c5a8e-universal.zip
Lost metadata after Synology update. Two Plex folders?
Always the same episode under Last added in series in first place
Plex won't install on synology
Libraries not migrating in DMS 6 to 7 upgrade
Upgraded from 2 to a 4 bay NAS, issues with 2nd Volume
Plex not adding new movies or shows
Plex not seeing certain episodes of a show on Synology NAS
Plex Media Server not recognizing files after updating Synology DSM 7.2
Content unavailable until I manually analyze the library
Plex Scanner - Targeting the right library
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Synology 7 - Plex not working anymore
Server update seriously messed up Plex
Migrating DSM 6 to 7 without prior notice of advised steps --> no migration happened
Unable to clear trash can icon from certain series
PMS won't recognise 4K Media Folders on Synology NAS after updating to DSM 7
Is my NAS tree structure preventing Plex from finding my media?
Synology: DSM 7 Installation Archive -- Archived from main thread
Reinstallation of PlexMediaServer does not work properly
Plex server disappeared from the console after DSM 6 upgrade to 7
Plex will not add all my new folders and shows series i long since deleted. Despite scanning library
Plex doesn't see subfolders on Synology DSM 7.2
Scan Library Files - failure to disclose all TV shows
Going around in circles with 'permissions'..Help!
Moved Plex Library - Not Playing
Libraries not showing up in Plex
DSM7 Broke Plex
Plex no encuentra las carpetas de la biblioteca
Plex doesn't see subfolders on Synology DSM 7.2
Unable to see only Movies subfolders
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
No permission on Sinology Server
DSM 7.1.1-42962 Update 6
Can't log into plex from my synology, and app says my synology isn't connected
NAS upgrading: questions/concerns around DSM 6 to 7 migration, HW Transcoding

FAQ 30 - DSM 7 - Database Repair using a Backup copy

The database can get corrupted for a variety of reasons. The most common are abrupt stopping of PMS (power fail, restart, etc)

When this happens, if there are database backups, we can recover by shuffling around the files using FileStation.

  1. Stop PMS if running

  2. Open FileStation

  3. Navigate to PlexMediaServer / AppData / Plex Media Server / Plug-in Support / Databases.

  4. Rename com.plexapp.plugins.library.db to com.plexapp.plugins.library.db--BAD

  5. Select the most appropriate backup copy of the database and copy it to the “Plug-in Support” folder.


  1. Navigate up to “Plug-in Support” and rename to com.plexapp.plug-ins.library.db

  2. MOVE com.plexapp.plugins.library.db back into the Databases folder.

  3. Cleanup
    – REMOVE com.plexapp.plugins.library.db-wal if it exists
    – REMOVE com.plexapp.plugins.library.db-shm if it exists

  4. Confirm everything back to normal.

  5. Start Plex

  6. Give EXTRA TIME for PMS to update the backup database (schema) if needed

  7. When the CPU is normal again (might take 2-3-4 minutes)
    – Scan files for each section
    – Empty trash
    – Clean bundles
    – Optimize Database

Go to Index

FAQ 31: Reset / Reclaim PMS on DSM 7 (Not Authorized - Locked Out)

  1. Uninstall the app - Use the first radio button (KEEP) option.

  2. Reinstall the same, or newer, SPK (package) version.

Now let it install and get updated credentials for your server.
(Getting new credentials takes a little longer than normal install – 10-15 seconds)

If networking is correct, it will complete and show ‘Claimed by: YourPlexUsername’

You may now open the server normally.

Go to Index

2 Likes
Server Not Authorized
Cannot access server
Plex shows no content after doing the Plex Dance. Server cannot be found
New Plex Synology 7.0 Not Authorized
Admin user losts it's permissions
Unable to Claim on Synology DS1520+. Observed PlexOnlineToken="" from other topic
Can't claim server - token is null in xml
Can't reach server on Synology NAS
Errors with Synology DS223
PMS not working
Playback Error, No Tags, and Now Can't Claim server
Server unreachable through web app but working on all tv devices
Unable to run PlexMediaServer after updating Synology DSM to version 7.1.1
Unable to access server after password reset
Unable to access server after password reset
Cannot find my server in Setup Wizard
Unable to access server after password reset
On a new network/router, how can I transfer plex server over without creating a new one?
Geen toegang meer na nieuw wachtwoord
Unable to access server after password reset
Suddenly cannot connect to my Plex server
Unable to access plex library on synology dsm 7.0 nas after plex password reset
Can't find my library on server
Unable to access server after password reset
Not able to see anymore my librairies and server
Unable to Access Server on Asustor after Password reset
Lost access to my Plex media server, it may have been deleted
“Server Is Currently Unavailable”
Cannot See My Libraries from Anywhere
Unable to access server after password reset
Can't Claim My Server After Password Change
Lost Synology Plex Server after PW Change
DSM 6 -> DSM 7 Migration
After password change
Terrible performance
Server disappeared out of nowhere
Terrible performance
My Plex Server Won't Show Up At All
Still Cannot Claim My Server After the Password Reset
Unable to access server after password reset
Plex Server not showing in Plex Client
Unable to access server after password reset
Reclaiming Server on Synology strange issue
Can't claim server on Synology NAS (DSM 7.2.2-72806 Update 3)
Unable to access Libraries - may need to "claim" my Plex server again?
Plex media server unreachable, after password reset and logout
Server no longer accessible / Reclaim server not possible
Cannot connect to Plex server after I updated my password
Not Authorized after changing password
Cannot claim Plex Server
Cannot add Server Synology plex server running
Plex Media Server - Unclaimed Server Issue
Plex Media Server - Unclaimed Server Issue
Plex Media Server - Unclaimed Server Issue
Erase my Authorized Devices
Can't access my plex services after password reset
Server not recognized
Can't claim server Synology NAS
Server settings unavailable
Admin cannot see server media but Home users can
New Plex Synology 7.0 Not Authorized
Lost server connection after password change
New Server setup Synology DS423+ (already have existing server on PC to be decomissioned)
Plex server no option to add library
Media Missing. No Access To Media Library
PMS does not see NAS after changing password
HELP: Synology DSM 7 cannot claim server, everything is up to date
Diskstation DS415+ appears offline in Plex app
Uninstalled and reinstalled Plex server and now I'm not authorized to access my server
My mediaserver disappeared after "You do not have permission to access this server" message
Plex media server (synology NAS) asks me to install plex server when I try to add media
Plex media server (synology NAS) asks me to install plex server when I try to add media
Need help after DSM 6 to 7 Migration
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Plex Media Server on Synology - no way to add personal library
Broken Server
Locked out of network - server unreachable
Server Stopped Working
Synology DSM 7.2.2 Unable to change ownership to new account
Unable to claim server on completely wiped synology
Can't access newly installed Plex server on synology NAS
Content of my NAS is not visible
Content of my NAS is not visible
Plex v.1.41.0.8992-8463ad060 and DSM 7.2.2-72806 NO access outside network
How can I use an existing PMServer (on a Synology) with a new Plex account (account, not user)?
Can not find my Library and server
Server/library section disappeared…
Library missing after latest update on Synology DSM7.1
Plex Server not authorized
Was fine but stopped working today on my DS 418Play
Plex server down after power cut
Plex support articles do not help
Incorrect warning that an ARMv8 update is available in server management (settings->general)
[New Router] Reclaim lost server and set up port forwarding for it
Where is the "true" latest Plex Media Server for DSM identified?
My Plex server is no longer showing up when I log in
My Plex server is no longer showing up when I log in
Where is the "true" latest Plex Media Server for DSM identified?
Media library has disappeared after the latest app update
Can't claim my server?
Can't seem to support local media with Plex for Synology
Unable To Download
Server unclaimed randomly and cannot reclaim
My servers are just gone, both on plex.tv and locally
DSM 7.2.2-72806 Update 2 made my MediaServer unavailable
New setup on Synology
Cannot claim server after reset attempt
Can't Access Plex Media Server on Synology NAS after changing Plex account password
Poor App performance - Apple TV - TVShows (MP4) Plays Audio Not Video and more
Synology: DSM 7 Installation Archive -- Archived from main thread
Can't Log Into or Claim Server
Remote Access of my PMS on Sysonolgy 214+ not possible
I don't see any option to add my local library
Plex library suddenly not showing despite working yesterday and no system changes
Plex library suddenly not showing despite working yesterday and no system changes
I clicked "Unclaim Server" and unwittingly screwed myself
Synology NAS DSM 7 not showing on Plex Web app and no access to media on IOS app
Plex won't let me add my media server After I some how disconnected my Remote Access
Synology 7.2.1 Plex app won't run
Media Settings Option Gone after fix for DSM 7.1.1 Update 7
Plex server won't connect to Synology media library
Plex Server 'Lost'
Synology DSM 7.2.2 upgrade - Plex no longer working
No more Server nor librairies on my Plex Server since yesterday
Can not claim server
Plex Media Server 1.41.3.9314-72009314 Missing all my media libraries
Connection to NAS
NAS Server deleted from authorized devices
Not authorised - You do not have access to this server (when migrating to new server)
Synology 7.2.2 just installed on a new 1522+, just getting a blank screen
Unable to connect to server after DSM 7.2.2 update
Unable to claim server in Plex or during installation running on Synology DS1522+
NAS (synology) found on Epson (Android) projector, but not on any iOS device
No more Server nor librairies on my Plex Server since yesterday
Claim Server
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Locked out of Plex (Synology NAS), Preferences.xml doesn't contain the attributes/key pairs
Installing Plex on synology
Plex admin account doesn't connect to server but other users can, also plex install seems corrupted
Can't claim plex server
Cannot open plex on windows via synology
After updating email and password PlexAmp no longer finds Media Server on my Synology NAS
Failed Install - Synology DSM 7.1.1-42962 PlexMediaServer-1.32.0.6973-a787c5a8e-universal.zip
Claim Server Fails on Synology DS1522
Reinstall?
Not authorized - You do not have access to this server
Not authorized - You do not have access to this server
My server and libraries have all disappeared
Server running on Synology NAS doesn't seen even in internal web
Synology device not in authorized devises list?
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Migrating DSM 6 to 7 without prior notice of advised steps --> no migration happened
Synology: DSM 7 Installation Archive -- Archived from main thread
Synology: DSM 7 Installation Archive -- Archived from main thread
Server completely gone?
Cannot access libraries in the Plex app and web from app.plex.tv
DS218PLAY update to DSM 7.2 and lost libraries
DSM7 Broke Plex
I am being told the my server is unauthorized despite removing everything and starting again
Claim Server Nightmare (Synology)
Running Plex Media Server on Synology NAS fails
No permission on Sinology Server
How to add a synology server to plex account again?
Can't reclaim Plex Media Server
Live TV Browse: Something Went Wrong (500 Error) in latest version

FAQ 32: Repairing the PlexMediaServer shared folder

While DSM 7 manages the permission of the PlexMediaServer shared folder itself, it does not manage the permission of files placed inside.

This means any modification of permissions can cause PMS to fail.
Frequent causes:

  1. Placing media in the shared folder – Which should NEVER be done. This is for PMS internal (metadata) use only.
  2. Special allowed case of adding plug-ins but must be installed correctly.

One of the biggest confusion points with DSM 7 over DSM 6 is username change

DSM 6 uses regular username Plex
DSM 7 forced the name to be changed to System Internal User (application) PlexMediaServer

Mistaking these two leads to dire results.

In the event anything is awry in the shared folder (as viewed using FileStation),
an easy method to confirm all file system ownership and permissions are correct is to create and run this task in Task Scheduler.

Create the task in Task Scheduler → User-defined Script

  1. Username to run as: root
  2. Email you the results:
  3. Task settings (script) contents:
#!/bin/sh
cd /var/packages/PlexMediaServer/shares/PlexMediaServer
chown -R PlexMediaServer:PlexMediaServer  AppData &
find AppData -type d -exec chmod 755 {} \; &
find AppData -type f -exec chmod 644 {} \; &
wait

Run the task

  1. Run the task
  2. Wait for it to send you results in your email
  3. (re) Start PMS.

Go to Index

1 Like
DSM 7.1.1 - DS920+ - Failed to Start Plex Server (yet another one of these)
Trouble migrating Plex to new volume on same NAS
Unable to run PlexMediaServer after updating Synology DSM to version 7.1.1
Synology DSM7 Plex "manually stopped" after a few seconds
My Plex server crashes immediately on my Synology DS418 DSM 7.1.1
How To Restore Plex Using PlexMediaServer Folder
Unable to connect to server opening from Synology NAS
Metadata transfer issues
Plex.tv cannto see server
I have lost all my Library and system telling me I am not authorized to sign on to my library!
Terrible performance
My new DS224+ wont play media files, and gives differing errors as to why
Unable to open library but work around to view
Restaure old plex server
Can't get Plex install to move successfully to Volume 2 on DS920
Problem nach Update 1.40.3.8555-7000
DS918 will not launch PMS since update
Broken Server
PMS not running on SYNOLOGY NAS
Reinstating server after storage pool removal
How to configure Plex on Mac Mini and also Plex on Synology NAS
PMS shut down every time I want to launch it
Plex can't find previous metadata after re-installation
Plex library folder search does not work (dsm6 -> 7.2.2)
Plex Media Server keeps stopping after a few seconds
Newly added files do not appear in libraries anymore
I don't see any option to add my local library
Plex not discovering Photos after 5 april 2025
PMS will not run on Synology
PMS will not run on Synology
Plex Media Server on SYNOLOGY DSM 7.1.1-42962 Update 5 wont run
Would it be possible to get some help with -[Req#a34/Database optimization/com.plexapp.plugins.libra
Hardware Transcoding issue (quicksync) in docker
PMS stops running after a few seconds after upgrade to DSM 7
Synology NAS upgrade
Migrating Plex database from old nas to new nas
Going around in circles with 'permissions'..Help!
Moved Plex Library - Not Playing
Synology - DSM 7.0 Release - Plex Installation (Not Operational) Issues
Moved PMS to New NAS- Transcode of Intros Unable to find Codec

FAQ 33: How to backup your Synology database

The recommended method of backing up PMS is to use Hyper Backup where the entire server’s files plus their ownership, permissions, including date/time stamp is preserved

This FAQ applies to those who want to backup only the databases.

  1. Create a scheduled task → User Script
  2. It must run as user: root
  3. It emails you the results so you have confirmation
  4. Set the ‘Dest’ folder (keep within quotes) to where you want the backup to go.
  5. The body of the script is as follows:
#!/bin/sh

# Set destination  (Set this value)
Dest="/volume1/My Shared Folder"


# Stop Plex
synopkg stop PlexMediaServer
Result=$?

if [ $Result -ne 0 ]; then
  echo ERROR $Result when stopping PlexMediaServer.
  echo Backup aborted.
  exit 1
fi

# Dest exists ?
[ ! -w "$Dest" ] && echo ERROR: Cannot write to '$Dest' && exit 2

# Get into the databases directory  (this is now volume independent)
cd "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Plug-in Support/Databases"

# Create filename using Date/Time  (yyyy-mm-dd_hh-mm)
# Backup
tar cvzf "$Dest/Plex-Database-Backup_$(date +%Y-%m-%d_%H-%M).tar.gz" .
Result=$?

# Check result
[ $Result -ne 0 ] && echo ERROR Got exit code $Result from tar.  Please check && exit 

# Restart Plex
synopkg start PlexMediaServer

Go to Index

FAQ 34: Upgrading Plex to DSM 7.2.2+

Server Version#: 1.41.0.8992 +
Player Version#: N/A

DSM 7.2.2 (Package Center) introduced a breaking change to how the SPK file is created and its internal contents. Normally, these type changes occur on major version updates however Synology, this time, released it in a minor update.

While the upgrade can be performed multiple ways, the safest (most reliable) method is:

  1. Stop Plex
  2. Uninstall Plex (select the first radio button – UNINSTALL ONLY; KEEP)
  3. Perform the DSM 7.x → 7.2.2 upgrade
  4. Go to the Downloads Page
  5. Select and download the SPK for your machine
    – If you are uncertain which binary form to use for your machine, go to Control Panel - Info Center
  6. As confirmation, the new SPK file will have DSM72 in the file name.
    – e.g. PlexMediaServer-1.41.2.9092-94c4cffca-x86_64_DSM72.spk
  7. Go to Package Center and perform a Manual Install in the same manner as previously done for all other Plex SPK files.

Go to Index

2 Likes

FAQ 35: Start/Stop Plex using Task Scheduler

Due to a failure in Synology DSM 7.1 Update 7, manual start/stop is below

Synology has stated this will be fixed with their update at the end of February 2025.

Below is how you can start / stop PlexMediaServer without resorting to using SSH


Stop Plex

  1. Create a Task Scheduler task → User Script
  2. Runs as ‘root’
  3. has the command

STOP - Step 1

STOP - Step 2

Command to use:

synopkg stop PlexMediaServer

START - Step 1

Start Plex

  1. Create a Task Scheduler task → User Script
  2. Runs as ‘root’

START - Step 2

Command to use:

synopkg start PlexMediaServer

To Use:

  1. Open Control Panel - Task Scheduler
  2. Select :white_check_mark: the Stop or Start command
  3. Click “Run”
2 Likes