[Bug]: 0.15 - Add user - peewee.IntegrityError: NOT NULL constraint failed: user.notification_tokens #14358
-
Checklist
Describe the problem you are havingHi, Just wanted to let you know guys, that on Frigate 0.15.0-0abd514 there's something fishy with creating new users. Yes, I do understand that I'm using unstable, WIP, development version that is far from done. Just figured this might help anyway :) Steps to reproduce
Version0.15.0-0abd514 In which browser(s) are you experiencing the issue with?Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Frigate config fileDon't think it's relevant here. docker-compose file or Docker CLI commandDon't think it's relevant here. Relevant Frigate log output2024-10-15 13:07:59.924148008 192.168.1.26 - - [15/Oct/2024:13:07:59 +0200] "POST /api/users HTTP/1.1" 500 21 "http://frigate.dom/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36" "192.168.1.22"
2024-10-15 13:07:59.926906956 ERROR: Exception in ASGI application
2024-10-15 13:07:59.926911765 + Exception Group Traceback (most recent call last):
2024-10-15 13:07:59.926912604 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 77, in collapse_excgroups
2024-10-15 13:07:59.926913288 | yield
2024-10-15 13:07:59.926914097 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.926914730 | response_sent.set()
2024-10-15 13:07:59.926915399 | File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 736, in __aexit__
2024-10-15 13:07:59.926919045 | raise BaseExceptionGroup(
2024-10-15 13:07:59.926919771 | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2024-10-15 13:07:59.926920551 +-+---------------- 1 ----------------
2024-10-15 13:07:59.926921170 | Traceback (most recent call last):
2024-10-15 13:07:59.926937179 | File "/usr/local/lib/python3.9/dist-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
2024-10-15 13:07:59.926937986 | result = await app( # type: ignore[func-returns-value]
2024-10-15 13:07:59.926938749 | File "/usr/local/lib/python3.9/dist-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
2024-10-15 13:07:59.926945868 | return await self.app(scope, receive, send)
2024-10-15 13:07:59.926946574 | File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 1054, in __call__
2024-10-15 13:07:59.926947261 | await super().__call__(scope, receive, send)
2024-10-15 13:07:59.926947935 | File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 113, in __call__
2024-10-15 13:07:59.926953463 | await self.middleware_stack(scope, receive, send)
2024-10-15 13:07:59.926954234 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 187, in __call__
2024-10-15 13:07:59.926954803 | raise exc
2024-10-15 13:07:59.926955540 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 165, in __call__
2024-10-15 13:07:59.926956177 | await self.app(scope, receive, _send)
2024-10-15 13:07:59.926956804 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.926963343 | response_sent.set()
2024-10-15 13:07:59.926963941 | File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-10-15 13:07:59.926964710 | self.gen.throw(type, value, traceback)
2024-10-15 13:07:59.926965411 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 83, in collapse_excgroups
2024-10-15 13:07:59.926966018 | raise exc
2024-10-15 13:07:59.926966650 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-10-15 13:07:59.926967271 | response = await self.dispatch_func(request, call_next)
2024-10-15 13:07:59.926967864 | File "/usr/local/lib/python3.9/dist-packages/slowapi/middleware.py", line 136, in dispatch
2024-10-15 13:07:59.926968435 | response = await call_next(request)
2024-10-15 13:07:59.926969103 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-10-15 13:07:59.926969634 | raise app_exc
2024-10-15 13:07:59.926970280 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-10-15 13:07:59.926970823 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-10-15 13:07:59.926979766 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.926980330 | response_sent.set()
2024-10-15 13:07:59.926980940 | File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-10-15 13:07:59.926981500 | self.gen.throw(type, value, traceback)
2024-10-15 13:07:59.926982187 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 83, in collapse_excgroups
2024-10-15 13:07:59.926982832 | raise exc
2024-10-15 13:07:59.926983434 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-10-15 13:07:59.926984029 | response = await self.dispatch_func(request, call_next)
2024-10-15 13:07:59.926984645 | File "/opt/frigate/frigate/api/fastapi_app.py", line 78, in frigate_middleware
2024-10-15 13:07:59.926985242 | response = await call_next(request)
2024-10-15 13:07:59.926985889 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-10-15 13:07:59.927013141 | raise app_exc
2024-10-15 13:07:59.927013885 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-10-15 13:07:59.927014453 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-10-15 13:07:59.927015139 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.927015689 | response_sent.set()
2024-10-15 13:07:59.927016275 | File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-10-15 13:07:59.927016793 | self.gen.throw(type, value, traceback)
2024-10-15 13:07:59.927017532 | File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 83, in collapse_excgroups
2024-10-15 13:07:59.927018060 | raise exc
2024-10-15 13:07:59.927018642 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-10-15 13:07:59.927019212 | response = await self.dispatch_func(request, call_next)
2024-10-15 13:07:59.927019892 | File "/usr/local/lib/python3.9/dist-packages/starlette_context/middleware/context_middleware.py", line 78, in dispatch
2024-10-15 13:07:59.927020439 | response = await call_next(request)
2024-10-15 13:07:59.927021068 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-10-15 13:07:59.927021587 | raise app_exc
2024-10-15 13:07:59.927022194 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-10-15 13:07:59.927022736 | await self.app(scope, receive_or_disconnect, send_no_error)
2024-10-15 13:07:59.927023387 | File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
2024-10-15 13:07:59.927023994 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-10-15 13:07:59.927024603 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app
2024-10-15 13:07:59.927025128 | raise exc
2024-10-15 13:07:59.927025746 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app
2024-10-15 13:07:59.927036646 | await app(scope, receive, sender)
2024-10-15 13:07:59.927037393 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 715, in __call__
2024-10-15 13:07:59.927038008 | await self.middleware_stack(scope, receive, send)
2024-10-15 13:07:59.927038620 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 735, in app
2024-10-15 13:07:59.927039220 | await route.handle(scope, receive, send)
2024-10-15 13:07:59.927039857 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 288, in handle
2024-10-15 13:07:59.927040440 | await self.app(scope, receive, send)
2024-10-15 13:07:59.927041075 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 76, in app
2024-10-15 13:07:59.927041718 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-10-15 13:07:59.927049929 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app
2024-10-15 13:07:59.927050487 | raise exc
2024-10-15 13:07:59.927051149 | File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app
2024-10-15 13:07:59.927051708 | await app(scope, receive, sender)
2024-10-15 13:07:59.927052331 | File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 73, in app
2024-10-15 13:07:59.927052849 | response = await f(request)
2024-10-15 13:07:59.927053464 | File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 301, in app
2024-10-15 13:07:59.927054001 | raw_response = await run_endpoint_function(
2024-10-15 13:07:59.927054665 | File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 214, in run_endpoint_function
2024-10-15 13:07:59.927055218 | return await run_in_threadpool(dependant.call, **values)
2024-10-15 13:07:59.927065313 | File "/usr/local/lib/python3.9/dist-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2024-10-15 13:07:59.927065924 | return await anyio.to_thread.run_sync(func, *args)
2024-10-15 13:07:59.927066563 | File "/usr/local/lib/python3.9/dist-packages/anyio/to_thread.py", line 56, in run_sync
2024-10-15 13:07:59.927067178 | return await get_async_backend().run_sync_in_worker_thread(
2024-10-15 13:07:59.927067840 | File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 2405, in run_sync_in_worker_thread
2024-10-15 13:07:59.927068380 | return await future
2024-10-15 13:07:59.927069002 | File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 914, in run
2024-10-15 13:07:59.927069548 | result = context.run(func, *args)
2024-10-15 13:07:59.927070152 | File "/opt/frigate/frigate/api/auth.py", line 356, in create_user
2024-10-15 13:07:59.927070684 | User.insert(
2024-10-15 13:07:59.927071256 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2036, in inner
2024-10-15 13:07:59.927071819 | return method(self, database, *args, **kwargs)
2024-10-15 13:07:59.927082368 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2107, in execute
2024-10-15 13:07:59.927082987 | return self._execute(database)
2024-10-15 13:07:59.927083598 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2912, in _execute
2024-10-15 13:07:59.927084139 | return super(Insert, self)._execute(database)
2024-10-15 13:07:59.927084751 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2626, in _execute
2024-10-15 13:07:59.927085354 | return self.handle_result(database, cursor)
2024-10-15 13:07:59.927085971 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2921, in handle_result
2024-10-15 13:07:59.927086560 | return database.last_insert_id(cursor, self._query_type)
2024-10-15 13:07:59.927087206 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3824, in last_insert_id
2024-10-15 13:07:59.927087713 | return cursor.lastrowid
2024-10-15 13:07:59.927088390 | File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 88, in lastrowid
2024-10-15 13:07:59.927088943 | self._wait()
2024-10-15 13:07:59.927104208 | File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 63, in _wait
2024-10-15 13:07:59.927104802 | raise self._exc
2024-10-15 13:07:59.927105462 | File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 183, in execute
2024-10-15 13:07:59.927106153 | cursor = self.database._execute(obj.sql, obj.params)
2024-10-15 13:07:59.927106801 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3322, in execute_sql
2024-10-15 13:07:59.927107406 | cursor.execute(sql, params or ())
2024-10-15 13:07:59.927108012 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3088, in __exit__
2024-10-15 13:07:59.927108612 | reraise(new_type, new_type(exc_value, *exc_args), traceback)
2024-10-15 13:07:59.927109183 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 196, in reraise
2024-10-15 13:07:59.927109708 | raise value.with_traceback(tb)
2024-10-15 13:07:59.927110328 | File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3322, in execute_sql
2024-10-15 13:07:59.927110887 | cursor.execute(sql, params or ())
2024-10-15 13:07:59.927111466 | peewee.IntegrityError: NOT NULL constraint failed: user.notification_tokens
2024-10-15 13:07:59.927111966 +------------------------------------
2024-10-15 13:07:59.927112419
2024-10-15 13:07:59.927113005 During handling of the above exception, another exception occurred:
2024-10-15 13:07:59.927113530
2024-10-15 13:07:59.927114097 Traceback (most recent call last):
2024-10-15 13:07:59.927114747 File "/usr/local/lib/python3.9/dist-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
2024-10-15 13:07:59.927115320 result = await app( # type: ignore[func-returns-value]
2024-10-15 13:07:59.927115891 File "/usr/local/lib/python3.9/dist-packages/uvicorn/middleware/proxy_headers.py", line 70, in __call__
2024-10-15 13:07:59.927116443 return await self.app(scope, receive, send)
2024-10-15 13:07:59.927117062 File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 1054, in __call__
2024-10-15 13:07:59.927117625 await super().__call__(scope, receive, send)
2024-10-15 13:07:59.927118261 File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 113, in __call__
2024-10-15 13:07:59.927118825 await self.middleware_stack(scope, receive, send)
2024-10-15 13:07:59.927119478 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 187, in __call__
2024-10-15 13:07:59.927119990 raise exc
2024-10-15 13:07:59.927120600 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 165, in __call__
2024-10-15 13:07:59.927121120 await self.app(scope, receive, _send)
2024-10-15 13:07:59.927121756 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.927122278 response_sent.set()
2024-10-15 13:07:59.927122839 File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-10-15 13:07:59.927123350 self.gen.throw(type, value, traceback)
2024-10-15 13:07:59.927123937 File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 83, in collapse_excgroups
2024-10-15 13:07:59.927124488 raise exc
2024-10-15 13:07:59.927125110 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-10-15 13:07:59.927125673 response = await self.dispatch_func(request, call_next)
2024-10-15 13:07:59.927126281 File "/usr/local/lib/python3.9/dist-packages/slowapi/middleware.py", line 136, in dispatch
2024-10-15 13:07:59.927126773 response = await call_next(request)
2024-10-15 13:07:59.927127396 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-10-15 13:07:59.927127953 raise app_exc
2024-10-15 13:07:59.927128512 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-10-15 13:07:59.927129047 await self.app(scope, receive_or_disconnect, send_no_error)
2024-10-15 13:07:59.927129634 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.927130139 response_sent.set()
2024-10-15 13:07:59.927130693 File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-10-15 13:07:59.927131192 self.gen.throw(type, value, traceback)
2024-10-15 13:07:59.927131786 File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 83, in collapse_excgroups
2024-10-15 13:07:59.927132298 raise exc
2024-10-15 13:07:59.927132900 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-10-15 13:07:59.927133463 response = await self.dispatch_func(request, call_next)
2024-10-15 13:07:59.927134048 File "/opt/frigate/frigate/api/fastapi_app.py", line 78, in frigate_middleware
2024-10-15 13:07:59.927134551 response = await call_next(request)
2024-10-15 13:07:59.927135135 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-10-15 13:07:59.927135618 raise app_exc
2024-10-15 13:07:59.927136230 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-10-15 13:07:59.927136788 await self.app(scope, receive_or_disconnect, send_no_error)
2024-10-15 13:07:59.927137397 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 189, in __call__
2024-10-15 13:07:59.927137929 response_sent.set()
2024-10-15 13:07:59.927138506 File "/usr/lib/python3.9/contextlib.py", line 135, in __exit__
2024-10-15 13:07:59.927139072 self.gen.throw(type, value, traceback)
2024-10-15 13:07:59.927139701 File "/usr/local/lib/python3.9/dist-packages/starlette/_utils.py", line 83, in collapse_excgroups
2024-10-15 13:07:59.927140211 raise exc
2024-10-15 13:07:59.927140835 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 187, in __call__
2024-10-15 13:07:59.927141409 response = await self.dispatch_func(request, call_next)
2024-10-15 13:07:59.927142071 File "/usr/local/lib/python3.9/dist-packages/starlette_context/middleware/context_middleware.py", line 78, in dispatch
2024-10-15 13:07:59.927142618 response = await call_next(request)
2024-10-15 13:07:59.927143239 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 163, in call_next
2024-10-15 13:07:59.927143752 raise app_exc
2024-10-15 13:07:59.927144309 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 149, in coro
2024-10-15 13:07:59.927144834 await self.app(scope, receive_or_disconnect, send_no_error)
2024-10-15 13:07:59.927145419 File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
2024-10-15 13:07:59.927146042 await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-10-15 13:07:59.927146658 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app
2024-10-15 13:07:59.927147182 raise exc
2024-10-15 13:07:59.927147815 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app
2024-10-15 13:07:59.927148343 await app(scope, receive, sender)
2024-10-15 13:07:59.927148921 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 715, in __call__
2024-10-15 13:07:59.927149511 await self.middleware_stack(scope, receive, send)
2024-10-15 13:07:59.927150086 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 735, in app
2024-10-15 13:07:59.927150616 await route.handle(scope, receive, send)
2024-10-15 13:07:59.927151225 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 288, in handle
2024-10-15 13:07:59.927151780 await self.app(scope, receive, send)
2024-10-15 13:07:59.927152365 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 76, in app
2024-10-15 13:07:59.927152905 await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-10-15 13:07:59.927153535 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 62, in wrapped_app
2024-10-15 13:07:59.927154042 raise exc
2024-10-15 13:07:59.927154634 File "/usr/local/lib/python3.9/dist-packages/starlette/_exception_handler.py", line 51, in wrapped_app
2024-10-15 13:07:59.927155195 await app(scope, receive, sender)
2024-10-15 13:07:59.927155782 File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 73, in app
2024-10-15 13:07:59.927156269 response = await f(request)
2024-10-15 13:07:59.927156881 File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 301, in app
2024-10-15 13:07:59.927157424 raw_response = await run_endpoint_function(
2024-10-15 13:07:59.927158022 File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 214, in run_endpoint_function
2024-10-15 13:07:59.927158555 return await run_in_threadpool(dependant.call, **values)
2024-10-15 13:07:59.927159174 File "/usr/local/lib/python3.9/dist-packages/starlette/concurrency.py", line 39, in run_in_threadpool
2024-10-15 13:07:59.927159739 return await anyio.to_thread.run_sync(func, *args)
2024-10-15 13:07:59.927160303 File "/usr/local/lib/python3.9/dist-packages/anyio/to_thread.py", line 56, in run_sync
2024-10-15 13:07:59.927160870 return await get_async_backend().run_sync_in_worker_thread(
2024-10-15 13:07:59.927161533 File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 2405, in run_sync_in_worker_thread
2024-10-15 13:07:59.927162035 return await future
2024-10-15 13:07:59.927162639 File "/usr/local/lib/python3.9/dist-packages/anyio/_backends/_asyncio.py", line 914, in run
2024-10-15 13:07:59.927163148 result = context.run(func, *args)
2024-10-15 13:07:59.927163711 File "/opt/frigate/frigate/api/auth.py", line 356, in create_user
2024-10-15 13:07:59.927164234 User.insert(
2024-10-15 13:07:59.927164850 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2036, in inner
2024-10-15 13:07:59.927165400 return method(self, database, *args, **kwargs)
2024-10-15 13:07:59.927166035 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2107, in execute
2024-10-15 13:07:59.927166567 return self._execute(database)
2024-10-15 13:07:59.927167175 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2912, in _execute
2024-10-15 13:07:59.927167686 return super(Insert, self)._execute(database)
2024-10-15 13:07:59.927168250 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2626, in _execute
2024-10-15 13:07:59.927168818 return self.handle_result(database, cursor)
2024-10-15 13:07:59.927169406 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2921, in handle_result
2024-10-15 13:07:59.927170000 return database.last_insert_id(cursor, self._query_type)
2024-10-15 13:07:59.927170555 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3824, in last_insert_id
2024-10-15 13:07:59.927171087 return cursor.lastrowid
2024-10-15 13:07:59.927171678 File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 88, in lastrowid
2024-10-15 13:07:59.927172172 self._wait()
2024-10-15 13:07:59.927172714 File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 63, in _wait
2024-10-15 13:07:59.927186699 raise self._exc
2024-10-15 13:07:59.927187315 File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 183, in execute
2024-10-15 13:07:59.927187910 cursor = self.database._execute(obj.sql, obj.params)
2024-10-15 13:07:59.927192572 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3322, in execute_sql
2024-10-15 13:07:59.927193139 cursor.execute(sql, params or ())
2024-10-15 13:07:59.927193744 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3088, in __exit__
2024-10-15 13:07:59.927194385 reraise(new_type, new_type(exc_value, *exc_args), traceback)
2024-10-15 13:07:59.927194986 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 196, in reraise
2024-10-15 13:07:59.927195540 raise value.with_traceback(tb)
2024-10-15 13:07:59.927196117 File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3322, in execute_sql
2024-10-15 13:07:59.927196684 cursor.execute(sql, params or ())
2024-10-15 13:07:59.927197276 peewee.IntegrityError: NOT NULL constraint failed: user.notification_tokens Relevant go2rtc log outputIrrelevant. Operating systemProxmox Install methodDocker Compose Network connectionWired Camera make and modelSure Screenshots of the Frigate UI's System metrics pagesSure Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Oct 15, 2024
Replies: 1 comment
-
This is a duplicate of #14351 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mgeeky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a duplicate of #14351