homerun connect.
I think I have the same issue with Plex 1.9.7.4460 on my Synology DS1515+ (Dsm 6.0.3-8754 update 6) and homerun connect. If I turn the dvr off Plex stays up but with dvr on the Plex service stops. I notice that the epg is trying to refresh but seems to get stuck.
I strongly recommend upgrading to DSM 6.1. Device access rules (udev
) for DVR changed in DSM 6.1. The ruleset I distribute is intended for DSM 6.1
This evening I successfully updated to DSM 6.1 and Plex 1.10. I will check on Plex in the morning and report back.
The Plex service stopped again last night. Let me try turning off the dvr to see if Plex stays up overnight.
I’m experiencing the same issues, but am running DSM 6.1.6-15266 Update 1 with PMS 1.12.3.4973. Did anyone find a resolution?
May I have your log files please ? (the ZIP file)
I also need to know which version of DSM + Update level you are using
@ChuckPa
Here is DSM info, log file attached. I have tried uninstalling PMS and reinstalling to no avail.
I opened your logs and was immediately greeted by a “HEY!” followed by a bunch of down-stream errors.
Apr 26, 2018 12:14:19.013 [0x7efd36d11700] WARN - SLOW QUERY: It took 220.000000 ms to retrieve 9 items.
That’s alarming but even worse are all other errors in Plex Media Server.log
Your error is unlike anything I’ve seen with exception of my development system, which coincidentally also just suffered a fatality of some sort. I’m working with Synology now to figure out what happened to mine.
Yours however doesn’t have to wait. First and foremost Optimize Database
and then restart the NAS… Let it all come back up clean.
@ChuckPA
Thanks. I optimized the database and restarted the NAS.
- Should I Optimize Database occasionally? I have the “Optimize database every week” scheduled task enabled …
- Shall I wait to see if it crashes again or would you like to see the latest logs since the optimize/restart?
@ChuckPA
Looks like she crashed again last night. Logs attached.
DSM 6.1.6-12566 Update 1
PMS Version 1.12.3.4973
@ChuckPA More logs from PMS crash after update to Version 1.13.0.5023, DSM still version 6.1.6-12566 Update 1.
If you’re going to use the DVR, may i suggest you complete or re-initialize it?
It’s spamming the logs saying there is no provider (television / cable / postal code) information
May 12, 2018 01:03:53.163 [0x7f2461fff700] WARN - DVR:Subscription: No container available for /tv.plex.providers.epg.onconnect:2/metadata/com%2Egracenote%2Eonconnect%3A%2F%2Fshow%2F8314079
@ChuckPA I did a complete uninstall / reinstall of Plex, which included rebuilding libraries and setting up DVR again. Still crashing, but hopefully the logs are cleaner.
Care to try my method please?
- Stop and remove the package
- Control Panel - Delete user
Plex
- Control Panel - Shared Folders - Delete the
Plex
share - Restart the NAS
- Upon restart, Install PMS
- Complete the setup wizard but do not create any libraries as you progress through the wizard. Continue to the Dashboard
- At the Dashboard Settings - Server - Help - Download Logs`
I am doing this to verify everything again has correct permissions.
When DVR can’t schedule a recording that’s a permission problem in the filesystem
@ChuckPa logs from the clean install with no libraries or DVR set up are attachedPlex Media Server Logs_2018-07-05_07-04-22.zip (103.1 KB)
There are no errors in that log set at all but there is also only 1 PMS log file and there is no appreciable activity recorded there.
With DSM 6.2 now public, how about updating to DSM 6.2 before continuing.
After it reboots, Add DVR and schedule something.
Do be certain to verify permissions for user Plex
to the share where DVR records
Ok, I’m running DSM 6.2-23739 Update 1 and PMS 1.13.2.5154
I added only my TV Shows library, two HDHomeRun Extend tuners and scheduled shows to record all day.
Logs attached:
.Plex Media Server Logs_2018-07-05_21-38-30.zip (734.2 KB)
Thanks for the logs. I can now see what’s happening.
You forgot to give user Plex
permission to write (R/W) to the PlexMedia
share.
Jul 05, 2018 07:18:30.068 [0x7f386ec47700] ERROR - Error listing directory [/volume1/PlexMedia] - boost::filesystem::directory_iterator::construct: Permission denied: "/volume1/PlexMedia"
This has the ripple effect here
Jul 05, 2018 07:20:22.782 [0x7f3867fff700] ERROR - Failed to calculate available disk space for path '"/volume1/PlexMedia/TV/.grab"': 1 (Operation not permitted)
Jul 05, 2018 07:20:22.782 [0x7f3867fff700] ERROR - IsDirectory failed boost::filesystem::status: Permission denied: "/volume1/PlexMedia/TV/.grab/dd217fcd7824f5e308abee366c71d921727eecaf"
Jul 05, 2018 07:20:22.782 [0x7f3867fff700] ERROR - DVR:Grabber: No write permission.
Jul 05, 2018 07:20:22.869 [0x7f3867fff700] ERROR - DVR:Grabber: Starting media grab failed.
Jul 05, 2018 07:20:32.736 [0x7f386ec47700] INFO - AutoUpdate: no updates available
Jul 05, 2018 07:20:56.710 [0x7f3867fff700] ERROR - QueryParser: Invalid field 'onlyTransient' found, ignoring.
Jul 05, 2018 07:21:14.198 [0x7f38773ff700] ERROR - Failed to calculate available disk space for path '"/volume1/PlexMedia/TV/.grab"': 1 (Operation not permitted)
Jul 05, 2018 07:21:14.198 [0x7f38773ff700] ERROR - IsDirectory failed boost::filesystem::status: Permission denied: "/volume1/PlexMedia/TV/.grab/dd217fcd7824f5e308abee366c71d921727eecaf"
Jul 05, 2018 07:21:14.198 [0x7f38773ff700] ERROR - DVR:Grabber: No write permission.
Jul 05, 2018 07:21:14.226 [0x7f38773ff700] ERROR - DVR:Grabber: Starting media grab failed.
Jul 05, 2018 07:21:14.245 [0x7f3875623700] ERROR - Failed to calculate available disk space for path '"/volume1/PlexMedia/TV/.grab"': 1 (Operation not permitted)
Jul 05, 2018 07:21:14.245 [0x7f3875623700] ERROR - IsDirectory failed boost::filesystem::status: Permission denied: "/volume1/PlexMedia/TV/.grab/6b3806100511586d6992518cdc73b4c2f9f634f0"
Jul 05, 2018 07:21:14.245 [0x7f3875623700] ERROR - DVR:Grabber: No write permission.
Jul 05, 2018 07:21:14.365 [0x7f3875623700] ERROR - DVR:Grabber: Starting media grab failed
- Stop PMS
- Correct the share permissions (Control Panel - Shared Folders )
- Start PMS
- You will need to cancel & reschedule your recordings if they have already “error out” .
Thanks! I noticed the write permissions error this morning and corrected it. The shows starting at 8 AM and after recorded correctly.
In the past, everything would work fine for a day or two and the PMS package would stop on the NAS. Not sure if the logs show any other signs of problems. I can post logs again when PMS crashes.