Is it a good idea to run Frigate under TrueNAS #7775
-
I have been trying to get Frigate to run stable on TrueNAS for a couple of weeks now, and have been having numerous problems. I am migrating over from running Blue Iris on a virtual Windows machine, and initially had great results with Frigate, but have been running into difficulties. The system should be powerful enough. It's running on a Ryzen 5600G with 32G of memory and TrueNAS Scale. A number of other apps are running on the system, but nothing demanding. I currently have 8 IP cameras attached. I have a PCIe card with a dual TPU Coral installed, but I've never been able to access it. I also have a USB Coral attached, and I have gotten it to work, but it tends to crash unrecoverably within 24 hours. Running with CPU detectors the system seems to function, but I've also gotten some annoying crashes. Is there anything inherently wrong with running Frigate as an app under TrueNAS scale? Aside from the fact that there seems to be no way for me to access my PCIe Coral device(s) from inside a TrueNAS app, is there something that is causing unrecoverable ffmpeg crashes? Or is there a better way to install Frigate under TrueNAS? I'm currently using the TrueCharts app, but there are other catalogs out there... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 29 replies
-
Unfortunately there are some reports that TrueNAS scale makes things difficult a user details that they were able to get it to work https://www.reddit.com/r/frigate_nvr/comments/11yaykx/using_coral_m2_version_with_truenas_scale/ |
Beta Was this translation helpful? Give feedback.
-
Ok, I made the mods to the underlying TrueNAS, and I now have three TPUs that appear to work. (The PCI dual TPU unit appears to be a good deal faster than the USB!) I'm guessing that's more than enough muscle for eight cameras... Startup looks good:
Let's see how long it lasts before everything goes to hell... |
Beta Was this translation helpful? Give feedback.
-
I've disconnected the USB Coral, and have been running with just the PCIe dual TPU Coral for the past couple of days, and it seems to be stable. I am getting some occasional ffmpeg crashes from one camera or another every few hours, but it doesn't last more than a minute or so and the ffmpeg process appears to recover. These could be just glitches from the cameras which cause ffmpeg to fail. Is this common for other people? The big point about my TrueNAS installation is the understanding that it is going to break. Eventually TrueNAS will send out an update that erases the apex drivers and brings down my frigate installation until I manually go in and reinstall them. This is not a long-term solution. |
Beta Was this translation helpful? Give feedback.
-
Posted this in the other thread, my Frigate is running as a Docker within TrueNAS Scale 23.10-beta1. Frigate version: 0.13.0-9185753 |
Beta Was this translation helpful? Give feedback.
Unfortunately there are some reports that TrueNAS scale makes things difficult
a user details that they were able to get it to work https://www.reddit.com/r/frigate_nvr/comments/11yaykx/using_coral_m2_version_with_truenas_scale/