I have a seemingly stable instance of Frigate running via the Home Assistant addon for a supervised installation. Restarting Frigate via HA settings -> Add-ons -> Frigate -> red RESTART button works fine. I see camera processors starting, an epoll message, the TPU starting, then the log usually stops.
Restarting Frigate via the HA Frigate sidebar -> three dots in the top right -> Restart Frigate does not work. Logs below.
After a failed restart, going into the Add-ons and clicking the red START works fine.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-10-13 12:07:41] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
[2022-10-13 12:07:41] frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
[2022-10-13 12:07:41] peewee_migrate INFO : Starting migrations
There is nothing to migrate
[2022-10-13 12:07:41] peewee_migrate INFO : There is nothing to migrate
[2022-10-13 12:07:41] detector.coral INFO : Starting detection process: 216
[2022-10-13 12:07:41] frigate.app INFO : Output process started: 218
[2022-10-13 12:07:41] ws4py INFO : Using epoll
[2022-10-13 12:07:41] frigate.app INFO : Camera processor started for Front_Door_Camera: 227
[2022-10-13 12:07:41] frigate.app INFO : Camera processor started for Patio_Camera: 228
[2022-10-13 12:07:41] frigate.app INFO : Camera processor started for Driveway_Camera: 229
[2022-10-13 12:07:41] frigate.app INFO : Capture process started for Front_Door_Camera: 231
[2022-10-13 12:07:41] frigate.app INFO : Capture process started for Patio_Camera: 235
[2022-10-13 12:07:41] frigate.app INFO : Capture process started for Driveway_Camera: 237
[2022-10-13 12:07:42] ws4py INFO : Using epoll
[2022-10-13 12:07:41] frigate.edgetpu INFO : Attempting to load TPU as usb
[2022-10-13 12:07:44] frigate.edgetpu INFO : TPU found
[2022-10-13 12:08:00] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48866]
[2022-10-13 12:09:52] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:48866]
[2022-10-13 12:14:16] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58856]
[2022-10-13 12:15:00] frigate.app INFO : Stopping...
[2022-10-13 12:15:00] ws4py INFO : Closing all websockets with [1001] 'Server is shutting down'
[2022-10-13 12:15:00] frigate.record INFO : Exiting recording maintenance...
[2022-10-13 12:15:00] frigate.watchdog INFO : Exiting watchdog...
[2022-10-13 12:15:00] frigate.object_processing INFO : Exiting object processor...
[2022-10-13 12:15:00] frigate.stats INFO : Exiting watchdog...
[2022-10-13 12:15:00] frigate.record INFO : Exiting recording cleanup...
[2022-10-13 12:15:00] frigate.events INFO : Exiting event cleanup...
[2022-10-13 12:15:09] frigate.events INFO : Exiting event processor...
[2022-10-13 12:15:09] peewee.sqliteq INFO : writer received shutdown request, exiting.
[2022-10-13 12:15:09] root INFO : Waiting for detection process to exit gracefully...
/usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 9 leaked shared_memory objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
[cmd] python3 exited 0
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Describe the problem you are having
I have a seemingly stable instance of Frigate running via the Home Assistant addon for a supervised installation. Restarting Frigate via HA settings -> Add-ons -> Frigate -> red RESTART button works fine. I see camera processors starting, an epoll message, the TPU starting, then the log usually stops.
Restarting Frigate via the HA Frigate sidebar -> three dots in the top right -> Restart Frigate does not work. Logs below.
After a failed restart, going into the Add-ons and clicking the red START works fine.
Version
0.11.1 Full Access
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Debian
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Amcrest IP5M-T1179EW and IP8M-T2599EW
Any other information that may be helpful
No response