PMS routinely crashing on DSM

I’ve had a problem with PMS crashing every day or so for quite some time. I’ve looked through the logs but don’t see any clues as to why. I’m hoping someone here can take a look and help me troubleshoot the problem. I’ve attached the logs. I’m running PMS on a DS918+. TIA!!

Server Version#: Version 1.28.0.5999
Player Version#:

Logs 082322.zip (3.7 MB)

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.

Thank you so much! I didn’t realize I had some libraries still looking in that old directory. I had some concern about the #snapshot folder too but didn’t know a workaround without doing some major directory reconstruction. I’ve taken care of those things and restarting Plex now. I"ll post back if needed. Thanks again!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.