How does 2.0 work with raspberry pi? 1.0 works fin...
# prefect-community
f
How does 2.0 work with raspberry pi? 1.0 works fine, but I want the new shiny stuff running at home as well. Had some trouble getting Orion to start though.
1
a
I can't help with that since I don't have a Raspberry Pi - what errors do you get?
Can you write down all steps you have taken to set this up and at which step something went wrong? this would help not only with troubleshooting but may help you as well to document your process
f
Thanks! Haven't spent much time on it to be honest, thought I should as if there are any impediments running this on raspberry. Followed the guide on prefect.io. Installed prefect, and tried out the flow described. Pictures show what I get when running prefect version and prefect Orion start.
Might add that raspberry doesn't have sqlite3, so I installed this after installing prefect.
a
keep us posted about your progress as you debug and write down your steps
f
If I get this correctly, Orion shouldn't even have to run to complete basic flows? But I get the error that table flows already exists. So I dropped the Orion database, that didn't help :) will continue...
a
maybe some Raspberry Pi quirkiness, but yes, you shouldn't need to start Orion - running your flow will store the run in the backend using ephemeral API
re the client error, try uninstalling prefect and reinstalling it again - make sure your ~/.prefect/profiles.toml and orion.db are deleted before installing Prefect again
f
Hm, didn't even see the profile file. Maybe that's the problem...
It works! The debug that finally worked was deleting all tables and indeces in the db. But keep the Orion.db file.
a
Oh wow, this is so cool! If you would want to share your experience using Prefect 2.0 on a Raspberry pi in a blog post or even markdown gist, that would be amazing 😍
👍 1