Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Unable to destroy/retrigger failed builds on Payload Cloud

default discord avatar
gabe.algo2 years ago
15

I have a few builds that failed in Payload Cloud, but it looks like the UI is stuck and I'm not able to access the "settings" tab to destroy them.



Is there a way around this? Should I open a support ticket?

  • discord user avatar
    jmikrut
    2 years ago
    @281120856527077378

    let's look into this ASAP

  • default discord avatar
    dbssd2 years ago

    This is the same issue I was referring to in

    #967097582721572937

    . Thanks!

  • discord user avatar
    jarrod_not_jared
    2 years ago
    @1095987858617151568

    @249649086968496128

    could either of you give me the names of your project? I would like to see what state the project is in!

  • default discord avatar
    dbssd2 years ago
    PAYLOAD-CMS-4A6FCD9
  • default discord avatar
    gabe.algo2 years ago

    I've got several in this state. I'll DM you my account details

  • default discord avatar
    nball2 years ago

    I am experiencing this this morning (May 13) where build and deploy logs display however the "initial deployment in progress" bar has stalled at halfway for several hours. Deploy shows

    [18:48:31] INFO (payload): Payload Admin URL: /admin

    however the cms is not in fact deployed.

  • discord user avatar
    jmikrut
    2 years ago
    @511305637959827459

    can you DM me with your project info? We will check into this immediately

  • default discord avatar
    nball2 years ago

    Sent just now.



    @364124941832159242

    I think I know what's happening here but need to test to be sure. The initialization for the stalled projects was missing critical build scripts. Adding them after initialization does not appear to correct the issue. Will know more shortly.



    @364124941832159242

    I was correct (incorrect?) that the build scripts were wrong, and docker stuff missing. Oops. Nonetheless I now have a stray project which I cannot delete.

  • discord user avatar
    jmikrut
    2 years ago

    hey

    @511305637959827459

    I am back in action here. I was in meetings all morning but will get on this immediately

  • default discord avatar
    nball2 years ago
    @364124941832159242

    I am 99% certain this project is DOA due to missing build scripts AND dockerfile … oops



    https://payloadcms.com/cloud/gravyboat/gravyboat

    Although build seems to be delayed/stopped on it's replacement:

    https://payloadcms.com/cloud/gravyboat/edit

    That one, "edit" is about 4 commits out of date. When I try to manually trigger redeployment I get "failed toast"



  • discord user avatar
    denolfe
    2 years ago

    Hey

    @511305637959827459

    I sent you a DM with some info, but I'll post here for others to see



    The reason your deploy is failing appears to be because of a failed health check. Our system checks for a 200 response on the root

    /

    of the project.



    Are you serving anything from the root? Can you check if that is the case for your project?



    If not, you can add a simple redirect from

    /

    to

    /admin

    by putting this snippet in your

    server.ts

    app.get('/', (_, res) => {
      res.redirect('/admin');
    });


    It sounds like we need to surface these failed health checks to the user properly - as it is not evident that this is what is happening behind the scenes.

  • default discord avatar
    nball2 years ago

    Awesome. I missed that. This is an adaptation of the preview example. Thank you for pointing this out! It would have taken me forever to find.

  • discord user avatar
    denolfe
    2 years ago

    We're discussing internally what is the best option for this moving forward to avoid this type of issue

  • default discord avatar
    nball2 years ago

    So, yes, there's a cms directory beneath src



    Thank you, you're all doing amazing work. I don't know how you keep up with everything, but please don't stop!

  • discord user avatar
    denolfe
    2 years ago

    No problem, let me know if you run into anything else after adding that snippet.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.