Dear Community - New Issue.
I have created an m5.large EC2 instance and I am running conda python 3.8.8 and installed docker, docker-compose, and pip installed prefect. On the EC2 Instance I opened up port 8080 and 4200. I can get to the UI at port 8080 and I can connect to graphql, I can startup the local agent - all that works. But when I try to create a project I get errors on the console for a Foreign Key Violation..... So after a while I fired up a new ssh console and tried to create a project from the command line. And that worked fine. And then I tried to create another project again back from the UI - and this time it worked. What exactly happened? Is this normal?
b
bastianwegge
05/05/2021, 5:56 PM
Did you create a tenant (using the CLI) after firing up the server? That’s an initial thing that you have to do which confuses people a lot.
t
Todd Lindstrom
05/05/2021, 5:57 PM
I thought it used a default tenant???
b
bastianwegge
05/05/2021, 5:57 PM
As far as I know, and I’m only a few weeks in, you need to execute
prefect server create-tenant --name default --slug default
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.