Closed Jensilein closed 7 months ago
Having the same issue.
2024-01-31 08:52:29.233023071 *************************************************************
2024-01-31 08:52:29.233026561 *************************************************************
2024-01-31 08:52:29.233031141 *** Your config file is not valid! ***
2024-01-31 08:52:29.233033211 *** Please check the docs at ***
2024-01-31 08:52:29.233034545 *** https://docs.frigate.video/configuration/index ***
2024-01-31 08:52:29.233050185 *************************************************************
2024-01-31 08:52:29.233051508 *************************************************************
2024-01-31 08:52:29.233053104 *** Config Validation Errors ***
2024-01-31 08:52:29.233054349 *************************************************************
2024-01-31 08:52:29.233176109 1 validation error for FrigateConfig
2024-01-31 08:52:29.233178451 detect -> stationary -> interval
2024-01-31 08:52:29.233179967 ensure this value is greater than 0 (type=value_error.number.not_gt; limit_value=0)
2024-01-31 08:52:29.233987867 Traceback (most recent call last):
2024-01-31 08:52:29.233990306 File "/opt/frigate/frigate/app.py", line 645, in start
2024-01-31 08:52:29.233991519 self.init_config()
2024-01-31 08:52:29.233992698 File "/opt/frigate/frigate/app.py", line 112, in init_config
2024-01-31 08:52:29.233993857 user_config = FrigateConfig.parse_file(config_file)
2024-01-31 08:52:29.233995019 File "/opt/frigate/frigate/config.py", line 1333, in parse_file
2024-01-31 08:52:29.233996045 return cls.parse_obj(config)
2024-01-31 08:52:29.233997211 File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj
2024-01-31 08:52:29.233998376 File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
2024-01-31 08:52:29.233999610 pydantic.error_wrappers.ValidationError: 1 validation error for FrigateConfig
2024-01-31 08:52:29.234001826 detect -> stationary -> interval
2024-01-31 08:52:29.234003100 ensure this value is greater than 0 (type=value_error.number.not_gt; limit_value=0)
2024-01-31 08:52:29.234030049
2024-01-31 08:52:29.234031389 *************************************************************
2024-01-31 08:52:29.234032481 *** End Config Validation Errors ***
2024-01-31 08:52:29.234043517 *************************************************************
I commented out the full stationary config block and frigate starts now.
# Optional: Configuration for stationary object tracking
# stationary:
# Optional: Frequency for confirming stationary objects (default: shown below)
# When set to 0, object detection will not confirm stationary objects until movement is detected.
# If set to 10, object detection will run to confirm the object still exists on every 10th frame.
# interval: 10
# Optional: Number of frames without a position change for an object to be considered stationary (default: 10x the frame rate or 10s)
# threshold: 50
# Optional: Define a maximum number of frames for tracking a stationary object (default: not set, track forever)
# This can help with false positives for objects that should only be stationary for a limited amount of time.
# It can also be used to disable stationary object tracking. For example, you may want to set a value for person, but leave
# car at the default.
# WARNING: Setting these values overrides default behavior and disables stationary object tracking.
# There are very few situations where you would want it disabled. It is NOT recommended to
# copy these values from the example config into your config unless you know they are needed.
# max_frames:
# Optional: Default for all object types (default: not set, track forever)
# default: 3000
# Optional: Object specific values
# objects:
# person: 1000
see patch notes
see patch notes
Changing interval from 0 to 10 (which is the example value) didnt work for me. I will try it again now the UI loads...
I would recommend removing it from your config so it will use the default values.
I would recommend removing it from your config so it will use the default values.
Thank Blake. I deleted my conflicting advice
I just set the interval to 50 and it works again. Thanks a lot.
Describe the problem you are having
Hello, I upgraded to 0.13.0 but Frigate doesn‘t start anymore since. Any idea how to solve it?
Version
0.13.0
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Reolink
Any other information that may be helpful
No response