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.

Publishing with Payload Cloud

default discord avatar
sassycoder2 years ago
7

Hi everyone!



I am trying to set my Payload backend on PayloadCloud but keep running into issues.



The "initial deployment" process stops about halfway through and hangs there. There are no other messages indicating what's going on.



I am not sure what other information I can provide but please let me know and I will!



Thank you in advance.

  • discord user avatar
    denolfe
    2 years ago

    Hey

    @421513725049307136

    , I can give you a hand here



    I'll DM you

  • default discord avatar
    sassycoder2 years ago

    Needed to set any references to

    process.env.PAYLOAD_SECRET_KEY

    to

    process.env.PAYLOAD_SECRET

    and also change the mongodb url to

    process.env.MONGODB_URI

    Thanks to

    @967118574445547650

    for the help!

  • discord user avatar
    jarrod_not_jared
    2 years ago

    Hey!

    @421513725049307136

    did the build logs appear below the "initial deployment" screen by chance when it was stuck earlier?

  • default discord avatar
    sassycoder2 years ago

    They did!

  • discord user avatar
    jarrod_not_jared
    2 years ago

    Ok thanks! Sounds like it failed to deploy, we just need to expose deploy logs and propagate those errors to that same screen

  • default discord avatar
    sassycoder2 years ago

    Yes, the only logs I saw weren't actually related to the error Elliot found

  • discord user avatar
    jmikrut
    2 years ago

    yep, sounds like the errors you had were runtime errors, and not build errors. we will try and figure out a way to surface initial runtime errors on that screen as well

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.