Please can someone help me install an OLD version of Frigate on Electric Eel?

Hello all

Short version: please can anyone help me with a step-by-step simpleton’s guide to installing “Frigate”, an NVR app, by one of three methods on Electric Eel please?

Background: I’m presently running Dragonfish-24.04.2.5 (“DF”) and on it an original TN community app which is Frigate v0.13.2 which utilises a USB Coral TPU.

I did recently succeed in u/g to Electric Eel 24.10.1 (“EE”) but the Frigate version which it uses - 0.14.1 - demands much greater CPU resource (>30% for this app alone) from my TrueNAS box than I can cope with, frequently spiking the total CPU use to >90%.

This has meant I have downgraded back to DF where the CPU use is always below 50% (with the demand from Frigate 0.13.2 itself only amounting to 10% or so).

I note that there is an option in DF to u/g Frigate to a later version - 0.14 - which I have not embraced because I expect the resource demand to again be too high.

What I hope to be able to do is upgrade TN to EE and then by one of three methods install Frigate 0.13.2 and not install a later Frigate version. I can do it either by

  1. A custom app via the TN UI: Apps|discover apps|custom app

  2. Jailmaker running dockge, c/o the excellent video guides from @Stux, and my adding a docker compose yaml to it

  3. Dockge running as an official TN app, and my adding a docker compose yaml to it

I tried option 1, copying the settings from the Frigate app (0.13.2) UI noted on DF, and got very muddled and I ultimately failed.

I also tried option 2 but I get errors which I can’t work out - something to do with the Coral USB TPU not being seen

I haven’t tried 3 due to my already coming unstuck with option 2.

There has already been some great help here in the forums for which I have been grateful and it has got me some way towards success but the gap between my knowledge and that needed to complete the process successfully means that victory continues to elude me!

Thanks in advance for anyone who’s able to lend a hand !

An update: I am unable to install Frigate on DF other than by the official app. My jailmaker/dockge approach has failed because the docker compose just starts and restarts and I have no idea why. The Frigate log errors don’t tell me anything I can understand and dockge doesn’t seem to show any docker compose logs are not verbose:

The docker compose file simply says:

version: "3.9"
services:
  frigate:
    container_name: frigate013
    privileged: true # this may not be necessary for all setups
    restart: unless-stopped
    image: ghcr.io/blakeblackshear/frigate:0.13.2
    shm_size: 64mb # update for your cameras based on calculation above
    devices:
      # HOST : CONTAINER
      - /dev/bus/usb:/dev/bus/usb
      - /dev/dri/renderD128:/dev/dri/renderD128
    volumes:
      # HOST : CONTAINER
      - /etc/localtime:/etc/localtime:ro
      - /opt/frigate/config:/config
      - type: tmpfs
        target: /tmp/cache
        tmpfs:
          size: 1000000000
    ports:
      - 8971:8971
      - 8554:8554 # RTSP feeds
      - 8555:8555/tcp # WebRTC over tcp
      - 8555:8555/udp # WebRTC over udp
    environment:
      PLUS_API_KEY: #############
networks: {}

For example, I have no idea whether the USB Coral is mounted to/from the correct location - /dev/bus/usb:/dev/bus/usb

Anyway, this all means I can’t test the dockge approach on DF prior to u/g to EE and I have already discovered that EE’s offical Frigate app installs v0.14 which is too high a version number.

Conclusion: I have to stick with Dragonfish to be able to run Frigate 0.13 because it seems it can’t be run on EE.

I’ll leave this here in the hope that someone might later stumble upon the solution to this problem.

I never did solve this problem directly but see here for an update (posted in case it helps others in the future).

This part is problematic, since I doubt you store your frigate config in the TrueNAS folder /opt.
A likelier place would be somewhere under /mnt where pools and their datasets are stored. For this yaml to work you would at have had to fix that. I can’t answer to the rest.

I think I tried something like -mnt/mainraid/docker/data/frigate/config but I got so muddled up , I may have made a mistake and anyway it is worth trying again with a known good path (with confirmed rw permissions for apps I suppose, to be confident).

Thanks for highlighting this as being an error - I thought it might be, but I wasn’t sure. Now I am!