First time running fab deploy, error on missing static folder #617

rmutter opened this Issue Mar 28, 2013 · 2 comments

2 participants


We just switched our stack over to run on nginx/gunicorn (yay) from apache/mod_wsgi (boo) and tried out launching a new django app using mezzanine's fabfile.

This worked without a hitch except for backing up the static folder in deploy() @ line 482. This was the first time running through this so there is no static folder created yet since collectstatic hasn't been run for the first time. I had to ssh into my server, run the command, then rerun fab deploy and everything worked great.

Should there be a check here if the folder exists before backing it up? or am I doing something wrong? If it's the former I'll gladly code up a fix to check for the static folder's existence.


I actually hit this as well the other day and just haven't gotten around to it.

Just a simple check for it existing sounds spot on - if you'd like to get it working and set up a pull request that would be awesome.


Fixed in 08d3493

@stephenmcd stephenmcd closed this Apr 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment