reza152
01/17/2024, 11:58 PM*
query I cannot run spicedb
server. It crashes frequently. (I removed *
from schema)
js
spicedb-migrate_1 | {"level":"error","error":"unable to migrate to `head` revision: unable to get current revision: unable to load alembic revision: no rows in result set","time":"2024-01-17T23:59:30Z","message":"terminated with errors"}
...
spicedb_1 | {"level":"error","error":"unable to initialize telemetry collector: unable to query DB stats: unable to query unique ID: no rows in result set","time":"2024-01-17T23:55:18Z","message":"terminated with errors"}
spicedb_spicedb_1 exited with code 1
spicedb_spicedb-migrate_1 exited with code 1
Deleted database and tried again:
js
spicedb_1 | {"level":"error","module":"pgx","pgx":{"args":[],"err":"ERROR: relation \"metadata\" does not exist (SQLSTATE 42P01)","pid":2967,"sql":"SELECT unique_id FROM metadata","time":0.680149},"time":"2024-01-18T00:01:31Z","message":"Query"}
spicedb_1 | {"level":"error","error":"unable to initialize telemetry collector: unable to query DB stats: unable to query unique ID: ERROR: relation \"metadata\" does not exist (SQLSTATE 42P01)","time":"2024-01-18T00:01:31Z","message":"terminated with errors"}