Looking back at Prefect 2.0 and trying to get my o...
# prefect-community
t
Looking back at Prefect 2.0 and trying to get my old testing (from alpha days) spun back up. I am getting this error I think with regards to registering my flow?
Copy code
sqlite3.OperationalError: table flow already exists
1
I get it trying to run the flow AND trying to start the UI server. So it might also just be a database issue.
a
You can remove the DB and uninstall Prefect, it would be the easiest
t
Seems like i just need to nuke the SQLLite DB, but I can't find it... where would it be found?
a
Then of course install the latest version:)
In home .prefect
t
I am in a new Venv, so it has installed the latest version, but I think it is trying to recreate the DB over top. Thank you!
Follow up question on this DB when using the cloud. Will there still need to be a local DB running?
a
No - just install Orion, login to Cloud 2.0 with your API key and you should be good to go without worrying about the database
f
I got the same issue on the raspberry pi. Removed the db, renamed the table flow, tried a few things. Then I got another error instead...
a
it looks like it's resolved now for both of you?
t
Yeah, I deleted my SQLite DB and it recreated it no problem.... getting my flow ported before I try to hook up to Cloud 2.0
👍 1
a
nice 🙌