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.

Cloud initial deployment failed error (new project)

default discord avatar
nballlast year
3

I am getting initial deployment failed error with a MONGODB_URI warning when launching a new project using website template on cloud. The source code example.env indicates DATABASE_URI, rather than MONGO_URI.



It is also complaining about a missing PAYLOAD_SECRET yet that exists in the project settings tab. Does this deserve a Github issue or would flagging it here be sufficient? Or should I delete the project and give it a fresh try?



Thanks! Love everything the team has accomplished so far and I'm unbelievably excited about the future!



:blobshrug:

Tried manually adding the ENV in the settings, no dice. Now trying updating payload config to MONGODB_URI



Nope.

  • default discord avatar
    kz8805last year

    I'm having the same issue. Found this on the Community Hub - not sure if it will help because I'm still working out how to do this, but might be worth a try.

    https://payloadcms.com/community-help/discord/publishing-with-payload-cloud
  • default discord avatar
    nballlast year

    I tried manually adding MONGODB_URI but that had no effect. Trying to manually PAYLOAD_SECRET now.



    Nope! Still not working.



    In case anyone else comes across this, opened a Github issue:

    https://github.com/payloadcms/payload/issues/3823

    Cloud initial deployment failed error (new project)



    Managed to capture build logs…



    Fixed! Thanks

    @969226489549713438

    Spoke too soon. The website template for Payload Cloud does not build in production. It does build locally.

    https://github.com/ballermatic/gb-prime

    @969226489549713438

    successfully tested a new project with the website template and it's a GO! Thank you. Please disregard the follow up comment in Github.

  • discord user avatar
    dribbens
    last year

    Wonderful!

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.