-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FailedPrecondition desc = could not lookup caveat is_not_expired
#1450
Comments
@avevlad Did you make sure to run |
@josephschorr Thank you for your quick response. I run brew install authzed/tap/spicedb authzed/tap/zed
psql
CREATE USER spicedb_user WITH PASSWORD 'spicedb_user_pwd' CREATEDB;
CREATE DATABASE spicedb OWNER spicedb_user;
spicedb serve --grpc-preshared-key "somerandomkeyhere"
# CTRL+C (stop server)
spicedb migrate head --datastore-engine postgres --datastore-conn-uri "postgres://spicedb_user:spicedb_user_pwd@localhost:5432/spicedb?sslmode=disable"
spicedb serve --grpc-preshared-key "somerandomkeyhere" \
--datastore-engine postgres --datastore-conn-uri "postgres://spicedb_user:spicedb_user_pwd@localhost:5432/spicedb?sslmode=disable" After your response I tried this:
But I still have the same problem (now on screenshot) |
I'm unable to reproduce locally; I've tried with a fresh install twice. Can you run SpiceDB with |
|
@avevlad any updates? |
@avevlad Closing; please reopen if you are able to reproduce |
Apple M1 MAC OS 13.2.1 (22D68)
Input:
Output:
10:03PM FTL failed to write schema error="rpc error: code = FailedPrecondition desc = could not lookup caveat `is_not_expired` for relation `viewer`: caveat `is_not_expired` not found"
The text was updated successfully, but these errors were encountered: