https://prefect.io logo
Title
t

Tuoyi Zhao

01/04/2023, 8:39 PM
Hi all, I just updated the prefect to 2.7.5 but all of my flow run state now becomes unknown.....how should I fix it?
z

Zanie

01/04/2023, 8:53 PM
Hi! I’ve raised this with our UI team and we are investigating.
❤️ 1
:thank-you: 1
j

justabill

01/04/2023, 9:07 PM
Thanks for letting us know @Tuoyi Zhao. What version of prefect were you using previously?
t

Tuoyi Zhao

01/04/2023, 9:14 PM
Hi @justabill, I don't remember exactly, but i believe it's around 2.7.2
j

justabill

01/04/2023, 9:15 PM
Thank you. I've opened a bug issue here. We'll report back if/when we've resolved the issue.
❤️ 1
Could you please run
prefect flow-run ls
and let us know whether you can see the state of each flow run in the CLI?
t

Tuoyi Zhao

01/04/2023, 9:18 PM
Here's the result....an exception occured
j

justabill

01/04/2023, 9:19 PM
Thank you
😄 1
z

Zanie

01/04/2023, 9:27 PM
What’s the output of
prefect version
?
t

Tuoyi Zhao

01/04/2023, 9:28 PM
message has been deleted
:thank-you: 1
z

Zanie

01/04/2023, 9:29 PM
What’s the output of that on your server hosting the API? Is your API the same version? Are you using SQLite or Postgres?
t

Tuoyi Zhao

01/04/2023, 9:30 PM
the API is hosted locally....i use the default the backend database, should be SQLite in this case
z

Zanie

01/04/2023, 9:31 PM
Great thanks!
And you’ve restarted the API since you upgraded?
t

Tuoyi Zhao

01/04/2023, 9:32 PM
yes, i terminated the API, and restarted it with
prefect orion start
:thank-you: 1
z

Zanie

01/04/2023, 9:35 PM
Great thanks!
If you run a new flow, does the state appear?
t

Tuoyi Zhao

01/04/2023, 10:12 PM
Sorry i was in a meeting....going to test it now
j

justabill

01/04/2023, 10:19 PM
@Tuoyi Zhao, we believe that this issue was cause by a database migration error in the 2.7.5 release impacting SQLite users. We'll share more information as soon as possible.
👍 1
t

Tuoyi Zhao

01/04/2023, 10:31 PM
I just ran a simple test to print current time.....I can see the pending tag in Deployment and Flow Runs, but that pending task is hanged and will not be executed. I checked the agent, and it shows:
i can run this flow successfully if run directly without deploy it first.....was the deployment from python changed in the new version?
message has been deleted