• n

    Nils Israel

    2 years ago
    Hi, I am having a problem installing prefect server on Ubuntu 20.04. The UI can't connect to the backend. I tried the hello using curl and got a response. But the default connect to http://localhost:4200/graphql isn't working. Can someone help?
    n
    Dylan
    21 replies
    Copy to Clipboard
  • c

    Chandra Manginipalli

    2 years ago
    When I stop my prefect local server and restart, the flows I registered (and projects created) are gone. Are they not persisted in the backend like the cloud?
    c
    Dylan
    13 replies
    Copy to Clipboard
  • m

    matt forbes

    2 years ago
    has anyone had success running prefect server on kubernetes directly (rather than docker-compose)?
    m
    Dylan
    +1
    6 replies
    Copy to Clipboard
  • c

    Chandra Manginipalli

    2 years ago
    Is there a way to run the prefect agent in detached mode like this. Just so if shell is closed the agent continues to run? That way I can run the flows on a local server.
    c
    Dylan
    7 replies
    Copy to Clipboard
  • Dave

    Dave

    2 years ago
    Hi, Is it correct that we aren't able to set an interval lower than one minute if you're running Prefect Core? I just tried to register a flow and got the following:
    "Interval can not be less than one minute when deploying to Prefect Cloud."
    I'm running the latest version of Prefect.
    Dave
    nicholas
    4 replies
    Copy to Clipboard
  • v

    Vipul

    2 years ago
    I am having issue while running with Flow within Flow which has Parameter that are determined at run time.
    with Flow("MasterFlow") as master_flow:
        cobdate = Parameter("cobdate")
        staging_area = FlowRunTask(flow_name='staging_area',
                                   parameters=dict(cobdate=cobdate),
                                   project_name="SubFlow")
        business_logic_layer = FlowRunTask(flow_name='business_logic_layer',
                                           project_name="SubFlow")
        data_mart = FlowRunTask(flow_name='data_mart',
                                project_name="SubFlow",
                                wait=True)
        staging_area.set_downstream(data_mart)
        business_logic_layer.set_downstream(data_mart)
  • v

    Vipul

    2 years ago
    Sorry, pressed enter too early. The issue I am seeing is that • From UI, when I run MasterFlow, it does not give me an option to populate cobdate
    v
    m
    +1
    10 replies
    Copy to Clipboard
  • m

    matt forbes

    2 years ago
    I've got prefect server and all its components deployed and talking to each other, now trying to interact w/ it from the cli and running into 400 errors trying to do the first few steps (create tenant)
    m
    nicholas
    25 replies
    Copy to Clipboard
  • m

    matt forbes

    2 years ago
    this issue to override the default apollo url was closed a few days ago but I am still unable to get this to default to anything other than localhost: https://github.com/PrefectHQ/ui/issues/99
    m
    nicholas
    49 replies
    Copy to Clipboard
  • Jovan Visnjic

    Jovan Visnjic

    2 years ago
    Hello everyone! I have a question about having an option of running the same workflow both with the prefect server and without it. For example, when we just want to evaluate the correctness of the workflow and write some unit tests for it, we run it in a console without the server, using
    LocalResult
    . But then we'd like to register the same workflow on the server and run it there on a large scale, using
    PrefectResult
    and cache to the database. We're struggling to get the
    LocalResult
    and
    PrefectResult
    behave in the same way, so we could just switch between one and the other. Does this make sense at all - to have a switch between offline and server run? Or should one result class handle all cases, perhaps a custom one?
    Jovan Visnjic
    Kyle Moon-Wright
    5 replies
    Copy to Clipboard