if you encounter an error that says: `database is ...
# pacc-clearcover-june-12-2023
n
if you encounter an error that says:
database is locked
๐Ÿงต
please try
Copy code
rm ~/.prefect/prefect.db && prefect server database reset
let me know if that does not solve
p
getting
Copy code
(prefect_training_venv) โžœ  prefect_training rm ~/.prefect/prefect.db && prefect server database reset
rm: /Users/preyna/.prefect/prefect.db: No such file or directory
but i see
Copy code
(prefect_training_venv) โžœ  prefect_training ll ~/.prefect
total 4312
-rw-r--r--     1 preyna  staff   230B Dec  2  2021 auth.toml
-rw-r--r--     1 preyna  staff    93B Jun  9 12:11 memo_store.toml
-rw-r--r--     1 preyna  staff   1.6M Jun 12 12:51 orion.db
-rw-r--r--     1 preyna  staff    32K Jun 12 12:58 orion.db-shm
-rw-r--r--     1 preyna  staff     0B Jun 12 12:51 orion.db-wal
-rw-r--r--     1 preyna  staff   259B Jun  9 12:11 profiles.toml
drwxr-xr-x  1058 preyna  staff    33K Oct 17  2022 storage
should I kill
orion.db
n
ah, lets delete all those with
~/.prefect/orion*
๐Ÿ‘ 1
p
ran it, and the
database is locked
error popped up once more, but now able to run flows again + no longer getting the error. Thanks!
n
huh - okay! probably some cruft associated with the old db version you had - not sure ๐Ÿค”
๐Ÿ‘ 1
p
cool yeah if it pops up more Iโ€™ll re-raise
๐Ÿ™ 1