https://prefect.io logo
Title
s

Samuel James

01/17/2022, 11:24 AM
Hi, looking to install Prefect backend server locally. Is there a release for M1 chips as I am currently having some installation issues
a

Anna Geller

01/17/2022, 11:27 AM
Did you allocate enough memory to your Docker Desktop? Some people had issues with Hasura container due to not enough memory on the Docker Desktop with M1. This thread discusses it in more detail
s

Samuel James

01/17/2022, 11:39 AM
Thank you - I just changed the Memory to 8GB however I am still getting the following error:
graphql_1   | Could not upgrade the database!
graphql_1   | Error: HTTPConnectionPool(host='hasura', port=3000): Max retries exceeded with url: /v1/query (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x400ad95710>: Failed to establish a new connection: [Errno 111] Connection refused'))
a

Anna Geller

01/17/2022, 11:44 AM
Would you mind restarting your laptop and try again? Usually, Docker Desktop changes only take effect after restarting your machine
s

Samuel James

01/17/2022, 11:52 AM
Just restarted & same issue - it just sits in an infinite loop
a

Anna Geller

01/17/2022, 11:54 AM
That’s interesting. Can you share your Prefect version? We’ve recently released a new Server version which is now using Hasura 2.0. I wonder whether this may be related to this upgrade.
could you check if using a lower Prefect version works without errors on M1?
s

Samuel James

01/17/2022, 11:58 AM
I am currently using prefect version 0.15.12. Which version would you recommend
a

Anna Geller

01/17/2022, 12:01 PM
Exactly, this is the latest. I’m curious to see if 0.15.11 throws the same error on M1. I can’t reproduce myself
s

Samuel James

01/17/2022, 12:06 PM
Trying this now! Thank you
It worked!
Thank you so much 🙂
👍 1
a

Anna Geller

01/17/2022, 12:35 PM
I created an issue in the Server repo https://github.com/PrefectHQ/server/issues/336
🙏 3
Update from Michael: “Hasura 2.x is not compatible with M1 yet and the container will fail. Using 
prefect server config
 then modifying the Hasura image to 
hasura/graphql-engine:v2.1.0-beta.3
 is the recommended workaround until they publish 2.1.0 and we can update the default.”
👍 1