https://prefect.io logo
#prefect-community
Title
# prefect-community
t

Tim Enders

06/08/2022, 3:15 PM
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

Anna Geller

06/08/2022, 3:20 PM
You can remove the DB and uninstall Prefect, it would be the easiest
t

Tim Enders

06/08/2022, 3:21 PM
Seems like i just need to nuke the SQLLite DB, but I can't find it... where would it be found?
a

Anna Geller

06/08/2022, 3:21 PM
Then of course install the latest version:)
In home .prefect
t

Tim Enders

06/08/2022, 3:21 PM
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

Anna Geller

06/08/2022, 4:11 PM
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

flurven

06/08/2022, 6:35 PM
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

Anna Geller

06/08/2022, 9:09 PM
it looks like it's resolved now for both of you?
t

Tim Enders

06/08/2022, 9:10 PM
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

Anna Geller

06/08/2022, 9:45 PM
nice 🙌
4 Views