[Support]: Users deleted after every update #20108
-
Checklist
Describe the problem you are havingAfter every update I need to re-create the users. I can only reach the UI with the 5000 http port to create the users again. Steps to reproduce
Version0.16.1-e664cb2 In which browser(s) are you experiencing the issue with?Firefox 142.0.1 Frigate config filemqtt:
enabled: true
host: 192.168.1.10
port: 1883
user: doki
password: doki&mqtt
detectors:
coral:
type: edgetpu
device: pci
database:
# The path to store the SQLite DB
path: /media/frigate/frigate.db
go2rtc:
streams:
bejarat:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
#- ffmpeg:bejarat#audio=opus
bejarat_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
nagykapu:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
nagykapu_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
utcafront:
- ffmpeg:bejarat#audio=opus
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
utcafront_sub:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
ffmpeg:
#path: '5.0'
hwaccel_args: preset-nvidia
#input_args: preset-rtsp-restream-low-latency
birdseye:
enabled: true
mode: continuous
width: 1920
height: 1080
cameras:
#############################################################
#Nagykapu kamera config
#############################################################
nagykapu:
enabled: true
webui_url: http://192.168.1.11/
ffmpeg:
inputs:
- path: rtsp://192.168.1.10:8554/nagykapu
input_args: preset-rtsp-restream-low-latency
roles:
- record
- path: rtsp://192.168.1.10:8554/nagykapu_sub
input_args: preset-rtsp-restream-low-latency
roles:
- detect
detect:
enabled: true
width: 704
height: 576
fps: 5
review:
alerts:
required_zones:
- kapualj
- betonplacc
- utca
labels:
- person
- dog
detections:
required_zones:
- kapualj
- utca
- betonplacc
motion:
mask:
0,0,0,1,0.106,1,0.203,0.08,0.243,0.064,0.243,0.241,0.256,0.24,0.27,0.048,0.342,0.009,0.461,0.079,0.543,0.098,0.55,0.153,0.583,0.213,0.626,0.243,0.636,0.166,1,0.531,1,0
zones:
betonplacc:
coordinates: 0.24,0.39,0.19,0.997,1,1,1,0.948,0.646,0.384
inertia: 3
loitering_time: 0
utca:
coordinates: 0.268,0.175,0.529,0.182,0.536,0,0.276,0
inertia: 3
loitering_time: 5
kapualj:
coordinates: 0.244,0.388,0.264,0.181,0.532,0.19,0.648,0.381
loitering_time: 0
inertia: 3
szomszed_hontvari:
coordinates: 0.64,0.186,0.626,0.278,0.658,0.36,1,0.872,0.998,0.537
inertia: 3
loitering_time: 10
objects:
- cat
- dog
- person
objects:
filters:
car:
mask: 0.296,0.043,0.293,0.102,0.415,0.107,0.417,0.04
bejarat:
enabled: true
webui_url: http://192.168.1.12/
ffmpeg:
#output_args:
#record: preset-record-generic-audio-copy
inputs:
- path: rtsp://192.168.1.10:8554/bejarat
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://192.168.1.10:8554/bejarat_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
enabled: true
width: 704
height: 576
fps: 5
review:
alerts:
labels:
- person
- cat
required_zones:
- jarda
- terasz
- hatso_jarda
detections:
required_zones:
- hatso_jarda
- jarda
- terasz
motion:
mask:
- 1,1,0.706,1,0.759,0.746,1,0.748
- 0.301,0,0.3,1,0,1,0,0
zones:
terasz:
coordinates:
0.273,0.849,0.493,0.843,0.487,0.571,0.533,0.572,0.532,0.311,0.447,0.159,0.403,0.161,0.402,0.305,0.321,0.308,0.321,0.003,0.27,0.001
loitering_time: 0
objects:
- person
- dog
- cat
jarda:
coordinates:
0.272,0.857,0.27,0.997,0.857,0.995,0.568,0.397,0.539,0.406,0.544,0.572,0.495,0.58,0.5,0.852
loitering_time: 0
objects:
- cat
- dog
- person
- bicycle
inertia: 3
hatso_jarda:
coordinates: 0.325,0.3,0.4,0.304,0.398,0.084,0.324,0.086
loitering_time: 0
objects:
- bicycle
- cat
- dog
- person
szomszed_epitkezes:
coordinates: 0.866,1,0.401,0,1,0,1,1
inertia: 3
loitering_time: 0
objects:
- cat
- dog
- person
- car
objects:
filters:
bicycle:
mask: 0.541,0.109,0.54,0.279,0.634,0.282,0.635,0.111
#############################################################
#Utcafront config
#############################################################
utcafront:
enabled: true
webui_url: http://192.168.1.13/
ffmpeg:
inputs:
- path: rtsp://192.168.1.10:8554/utcafront
input_args: preset-rtsp-restream-low-latency
roles:
- record
- path: rtsp://192.168.1.10:8554/utcafront_sub
input_args: preset-rtsp-restream-low-latency
roles:
- detect
detect:
enabled: true
width: 704
height: 576
fps: 5
zones:
lepcso:
coordinates:
0.587,0.768,0.687,0.759,0.792,0.83,0.848,0.826,0.866,0.937,0.721,0.936,0.744,1,0.617,0.998
loitering_time: 0
objects:
- cat
- dog
- person
padka_parkolo:
coordinates:
0.173,0.227,0.157,0.308,0.452,0.294,0.755,0.301,0.705,0.214,0.414,0.196
loitering_time: 0
objects:
- bicycle
- car
- motorcycle
- person
inertia: 3
elokert:
coordinates:
0.167,0.51,0.095,0.994,0.592,0.995,0.576,0.76,0.883,0.747,0.838,0.537
loitering_time: 0
objects:
- bicycle
- cat
- dog
- person
kocsibeallo_utca:
coordinates:
0.724,0.214,0.807,0.417,0.849,0.526,0.887,0.728,1,0.675,0.941,0.49,0.868,0.256
loitering_time: 0
motion:
mask:
- 0.437,0.033,0.436,0.086,0.94,0.088,0.942,0.03
- 0.297,0.194,0.289,0.005,0.998,0.001,0.998,0.298,0.868,0.137,0.772,0.216,0.536,0.196,0.48,0.068,0.42,0.188
review:
alerts:
labels:
- person
- car
- motorcycle
required_zones:
- lepcso
- elokert
detections:
required_zones:
- padka_parkolo
- kocsibeallo_utca
- elokert
- lepcso
objects:
filters:
car:
mask: 0,0.056,0,0.187,0.311,0.094,0.3,0
record:
enabled: true
expire_interval: 1440
retain:
days: 7
mode: all
sync_recordings: true
alerts:
retain:
days: 30
detections:
retain:
days: 15
objects:
track:
- person
- car
- dog
- cat
- motorcycle
- bicycle
review:
alerts:
# Optional: labels that qualify as an alert
labels:
- car
- person
detections:
# Optional: labels that qualify as a detection
labels:
- car
- person
- dog
- cat
- motorcycle
- bicycle
snapshots:
enabled: true
# Optional: save a clean PNG copy of the snapshot image (default: shown below)
clean_copy: true
# Optional: print a timestamp on the snapshots (default: shown below)
timestamp: true
# Optional: draw bounding box on the snapshots (default: shown below)
bounding_box: true
# Optional: crop the snapshot (default: shown below)
crop: false
# Optional: height to resize the snapshot to (default: original size)
height: 175
# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
required_zones: []
# Optional: Camera override for retention settings (default: global values)
retain:
# Required: Default retention days (default: shown below)
default: 10
# Optional: Per object retention days
objects:
person: 15
# Optional: quality of the encoded jpeg, 0-100 (default: shown below)
quality: 70
semantic_search:
enabled: true
reindex: false
model_size: small
version: 0.16-0
camera_groups:
Áttekintés:
order: 1
icon: LuUngroup
cameras: birdseye
detect:
enabled: true docker-compose file or Docker CLI commandUnraid template Relevant Frigate log outputNone Relevant go2rtc log outputNone Operating systemUNRAID Install methodDocker Compose Network connectionWired Camera make and modelDahua Screenshots of the Frigate UI's System metrics pages![]() ![]() ![]() ![]() Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Losing users after every update is typically caused by the Frigate SQLite database file being deleted or not persisted between container updates. This usually happens if your Docker configuration does not correctly map a persistent volume for the Frigate database file ( To solve this, make sure your Docker setup mounts a persistent host directory to For example, in your Docker Compose or Unraid configuration, you should have something like:
Replace Check out these potentially useful sources: Lost Users After Update, Full Reference Config, Updating Frigate Would you like a general answer based on my knowledge instead? 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Losing users after every update is typically caused by the Frigate SQLite database file being deleted or not persisted between container updates. This usually happens if your Docker configuration does not correctly map a persistent volume for the Frigate database file (
frigate.db
). When the database is missing or reset, all user accounts are lost and need to be recreated(1).To solve this, make sure your Docker setup mounts a persistent host directory to
/media/frigate
(or wherever yourfrigate.db
is configured to be stored, according to yourdatabase.path
). This ensures the database—and thus your users—persist across updates(1).For example, in your Docker Compose or Unraid configuration…