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.

Issue with PayloadCMS File Upload on Digital Ocean VPS

default discord avatar
juliandm1995last year
1

Hi everyone, I'm running into an unusual problem with PayloadCMS. It works perfectly for local image uploads, but on my Digital Ocean VPS (Droplet) in production, I consistently encounter a 'There was a problem uploading the file' error, specifically when attempting to upload images. The rest of the app operates without any trouble on the VPS – creating, deleting, and modifying collections all work fine. Do you have any insights into why this might be occurring? Thanks!



Nevermind. Just had to sudo

sudo yarn build - sudo yarn build - sudo yarn serve
  • discord user avatar
    seanzubrickas
    last year

    Hey julian - glad you got that figured out. I thought it might have been a permissions issue with your media folder.



    Happy building!

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.