PMS routinely crashing on DSM

Aug 23, 2022 12:56:51.102 [0x7fa28c948b38] ERROR - Couldn't check for the existence of file "/volume1/video/Kids BR/.grab": boost::filesystem::status: Permission denied: "/volume1/video/Kids BR/.grab"

Aug 23, 2022 12:57:35.077 [0x7fa28de20b38] ERROR - [Notify] Failed to add watch for "/volume1/photo/#snapshot/GMT-04-2022.08.12-02.15.01/2013/2013" (28: No space left on device)

Media Location & Permissions

It appears you are using the default Synology folders for your media (/volume1/video, /volume1/photo). This will cause permission problems. Synology is known to overwrite folder/file permissions in those locations. When this happens, Plex may not be able to read the files.

Recommend you move your media out of the default Synology locations if possible.

See FAQ 6: Recommended Media Organization and Adding Media to Plex.

Whether or not you move the media files, double check permissions. Make sure the system internal user PlexMediaServer has at least read only permission to the necessary folders & files.

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

IMPORTANT: Be sure to check the Apply to this folder, subfolders, and files box.

FYI, I know you do not want to add the .grab file. But still a good idea to check folder/file permissions anyway.


Exceeding Linux inotify table limits

Linux has a limit on the number of folders it can watch. When exceeded, Plex will not add those devices to the system. It appears in the log file with a “No space left on device” error message.

First, make sure you are scanning the correct directories.

Do you need Plex to scan the /photos/#snapshot directories?

After correcting locations, permissions, and which folders are scanned, restart Plex Media Server, wait 3 - 4 minutes for it to fully start, then pull a fresh set of log files.

Look for the “No space left on device” error message in Plex Media Server.log. If it still exists, follow the directions in Synology FAQ #16.

FAQ 16: Increase the number of folders Plex can monitor

Edit: You can try using a .plexignore file to tell Plex to not scan the #snapshot folder. I’ve used it for movies. Unsure if it works with photos (I don’t have photos on my Plex server).

See Special Keyword File/Folder Exclusion

In /volume1/photos, create a text file named .plexignore, with no .txt, etc extension, containing (see example in support document):

# Ignore directories called "#snapshot"
*#snapshot/*

Then stop/restart Plex Media Server in Synology Package Manager.