Updating Frigate
The current stable version of Frigate is 0.15.0. The release notes and any breaking changes for this version can be found on the Frigate GitHub releases page.
Keeping Frigate up to date ensures you benefit from the latest features, performance improvements, and bug fixes. The update process varies slightly depending on your installation method (Docker, Home Assistant Addon, etc.). Below are instructions for the most common setups.
Before You Begin
- Stop Frigate: For most methods, you’ll need to stop the running Frigate instance before backing up and updating.
- Backup Your Configuration: Always back up your
/config
directory (e.g.,config.yml
andfrigate.db
, the SQLite database) before updating. This ensures you can roll back if something goes wrong. - Check Release Notes: Carefully review the Frigate GitHub releases page for breaking changes or configuration updates that might affect your setup.
Updating with Docker
If you’re running Frigate via Docker (recommended method), follow these steps:
-
Stop the Container:
- If using Docker Compose:
docker compose down frigate
- If using
docker run
:docker stop frigate
- If using Docker Compose:
-
Update and Pull the Latest Image:
- If using Docker Compose:
- Edit your
docker-compose.yml
file to specify the desired version tag (e.g.,0.15.0
instead of0.14.1
). For example:services:
frigate:
image: ghcr.io/blakeblackshear/frigate:0.15.0 - Then pull the image:
docker pull ghcr.io/blakeblackshear/frigate:0.15.0
- Note for
stable
Tag Users: If yourdocker-compose.yml
uses thestable
tag (e.g.,ghcr.io/blakeblackshear/frigate:stable
), you don’t need to update the tag manually. Thestable
tag always points to the latest stable release after pulling.
- Edit your
- If using
docker run
:- Pull the image with the appropriate tag (e.g.,
0.15.0
,0.15.0-tensorrt
, orstable
):docker pull ghcr.io/blakeblackshear/frigate:0.15.0
- Pull the image with the appropriate tag (e.g.,
- If using Docker Compose:
-
Start the Container:
- If using Docker Compose:
docker compose up -d
- If using
docker run
, re-run your original command (e.g., from the Installation section) with the updated image tag.
- If using Docker Compose:
-
Verify the Update:
- Check the container logs to ensure Frigate starts successfully:
docker logs frigate
- Visit the Frigate Web UI (default:
http://<your-ip>:5000
) to confirm the new version is running. The version number is displayed at the top of the System Metrics page.
- Check the container logs to ensure Frigate starts successfully:
Notes
- If you’ve customized other settings (e.g.,
shm-size
), ensure they’re still appropriate after the update. - Docker will automatically use the updated image when you restart the container, as long as you pulled the correct version.
Updating the Home Assistant Addon
For users running Frigate as a Home Assistant Addon:
-
Check for Updates:
- Navigate to Settings > Add-ons in Home Assistant.
- Find your installed Frigate addon (e.g., "Frigate NVR" or "Frigate NVR (Full Access)").
- If an update is available, you’ll see an "Update" button.
-
Update the Addon:
- Click the "Update" button next to the Frigate addon.
- Wait for the process to complete. Home Assistant will handle downloading and installing the new version.
-
Restart the Addon:
- After updating, go to the addon’s page and click "Restart" to apply the changes.
-
Verify the Update:
- Check the addon logs (under the "Log" tab) to ensure Frigate starts without errors.
- Access the Frigate Web UI to confirm the new version is running.
Notes
- Ensure your
/config/frigate.yml
is compatible with the new version by reviewing the Release notes. - If using custom hardware (e.g., Coral or GPU), verify that configurations still work, as addon updates don’t modify your hardware settings.
Rolling Back
If an update causes issues:
- Stop Frigate.
- Restore your backed-up config file and database.
- Revert to the previous image version:
- For Docker: Specify an older tag (e.g.,
ghcr.io/blakeblackshear/frigate:0.14.1
) in yourdocker run
command. - For Docker Compose: Edit your
docker-compose.yml
, specify the older version tag (e.g.,ghcr.io/blakeblackshear/frigate:0.14.1
), and re-rundocker compose up -d
. - For Home Assistant: Reinstall the previous addon version manually via the repository if needed and restart the addon.
- For Docker: Specify an older tag (e.g.,
- Verify the old version is running again.
Troubleshooting
- Container Fails to Start: Check logs (
docker logs frigate
) for errors. - UI Not Loading: Ensure ports (e.g., 5000, 8971) are still mapped correctly and the service is running.
- Hardware Issues: Revisit hardware-specific setup (e.g., Coral, GPU) if detection or decoding fails post-update.
Common questions are often answered in the FAQ, pinned at the top of the support discussions.