DVR not enabling (slow boot on macOS 10.13)

I just installed the new OS update and now my DVR won’t enable. I’m getting the following error in the Log:

Failed to read directory: readdirent: result too large

It finally started after 12 minutes. I hope that isn’t the case each time I restart my iMac now. Here’s the log:

2017/08/01 20:11:33 [SYS] Starting Channels DVR v2017.07.29.2103 (darwin-x86_64) in /Users/Greg/channels-dvr/data
2017/08/01 20:11:35 [HDR] Found 1 devices
2017/08/01 20:11:41 [SYS] Started HTTP Server
2017/08/01 20:18:46 [ERR] Failed to read directory: readdirent: result too large
2017/08/01 20:23:04 [DVR] Recording engine started in /Volumes/Seagate Backup Plus/Channels-dvr

Having the same experience. Its really frustrating.

Are you getting the same “readdirent” error in your log? Or something else?

Yep, exact same thing. I ended up spawning multiple instances with nohup ./channels-dvr & not realizing it was just hung up starting. A true mac app would really help.

Running ./channels-dvr directly is not recommended, as it needs to be run from the data directory to function correctly.

I assume this is on macOS 10.13?

Can you please post your logs?

From @GregCCrowe’s log, it looks like the HTTP server starts up right away but the server is busy doing something until the DVR engine starts.

Can you check Activity Monitor to see if CPU usage for channels-dvr is high during this time? Please visit http://127.0.0.1:8089/debug/stack while it’s starting and copy/paste the results to [email protected]

I upgraded to 10.13 today and things are still working as expected.

Are you folks still having issues? I’d love to get to the bottom of this and fix it if I could get some more details…