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
Post a Comment