When creating a new product in the Magento2 admin I get an error upon saving.

It says:

The file "/path/to/folder/pub/media/tmp/catalog/product/p/productimage.jpg" doesn't exist or not a file.

I can't create new products. Please help.

  • 1
    check permissions for pub/media. You should have permissions for save Commented Feb 16, 2017 at 14:06

2 Answers 2


check permissions for pub/media. You should have permissions for save.

If you want to read about permissions more (you should. Everyone should:D) visit Magento devdocs: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html


I had the same problem and figured out that it is a Magento bug.

There was already a image, but it was missing, since I setup a new magento installation without media and imported a database, and there was an image previously, but it can't load since the media folder is missing.


I deleted the image by clicking on the trash bin and uploaded a new one. But after saving it was gone.

Solution 1

Don't delete missing image, just upload new one by clicking "Browse to find ..."

Solution 2

Delete Missing image -> Save -> Upload new image -> Save

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.