I’m noticing some errors I don’t totally understan...
# pacc-june-14-2023
j
I’m noticing some errors I don’t totally understand when I have
prefect server start
running 🧵
Copy code
10:32:00.758 | ERROR   | prefect.server.services.flowrunnotifications - Unexpected error in: OperationalError('(sqlite3.OperationalError) database is locked')Traceback (most recent call last):
should I also see a sqlite db file somewhere in my project?
s
clear the root database and start again
generally it will be available at `~/.prefect``
j
I see 4 files here, should I clear them all?
Copy code
ls ~/.prefect
memo_store.toml prefect.db      prefect.db-shm  prefect.db-wal  profiles.toml
j
If you rerun again, it should work.
This should be temporary and should be fixed in the 2.10.14 version that should be going out tomorrow.
j
got it - the flow runs still seem to run fine, but I don’t see any logs in the terminal where my server is - if I just
rm -rf ~/.prefect/
, and then restart the server, am I losing any other config info I might want? Specifically thinking that the profiles / config info might live there
j
profiles lives in .prefect, you can open the file and check it out - there probably isn’t much there.
You shouldn’t need to delete your DB for this issue, though.
It should just be a temporary locking issue. In our next version we retry on that error and it should go away.
👍 1
j
hmmm - tried this
rm -rf
and still seeing errors in the logs after I restart the server. fwiw, the dashboard UI opens up ok