Scrypted camera feeds keep failing on a Mac Mini M4 server

A server that had run Scrypted without trouble for several months started losing camera feeds over the last day or two. The failure sometimes affected one or two cameras and sometimes all five. The new NVR beta first looked like the likely cause, but rolling back to the did not stop the problem. Trying to quit or restart Scrypted caused more and more Scrypted sessions to appear, along with a JavaScript error.

The server could only be stopped by a forced power-button reboot or by running sudo reboot. Node permission in macOS settings had already been checked. Two Node versions were installed: 24.18.0 for Homebridge and 26.5.0 through Homebrew for Prismcast, a DVR service. It was unclear which Node version Scrypted was actually using, though the likely path was the 24.x version in /usr/local/bin.

after the camera failure showed a long error during the GPU Decode step, even though no other server task seemed to be using the GPU. The setup was a with 16GB of memory on .2.

Key points

  • Scrypted camera feeds began dropping on a after months of stable use.
  • Rolling back from the NVR beta to the did not fix the issue.
  • Restarting Scrypted created repeated sessions and JavaScript errors.
  • The server had both Node 24.18.0 and Node 26.5.0 installed for other services.
  • pointed to a GPU Decode failure after the camera feeds stopped.
Read original