I am getting an error when submitting an image from django admin.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @ahmedhassana007,
This sounds like an ownership or permission issue.
First, I’ll recommend trying to fix your permissions, most probably, each directory needs to have 755 permissions and each file 644. Try with that.
You can try and use the following command:
find /path/to/app -type d -exec chmod 755 {} \; find /path/to/app -type f -exec chmod 644 {} \;
Remember to change /path/to/app with the actual path to your website.
If that doesn’t work, you’ll need to change the ownership of the files. Let me know which WebService you are running so that I can further help out.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.