Heroku django project read-only file system -


i'm deploying django project on heroku, works fine, in django admin, when i'm trying upload image got error:

oserror @ /admin/blocks/block/add/  [errno 30] read-only file system: '/home/goldwedd' 

this design.

your app compiled slug fast distribution dyno manager. filesystem slug read-only, means cannot dynamically write filesystem semi-permanent storage. the following types of behaviors not supported:

  • caching pages in public directory
  • saving uploaded assets local disk (e.g. attachment_fu or paperclip)
  • writing full-text indexes ferret
  • writing filesystem database sqlite or gdbm
  • accessing git repo app git-wiki

https://devcenter.heroku.com/articles/read-only-filesystem

if want upload files, need s3 or of other storage backends supported django-storages.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -