One important thing to understand about deployment with fabric is that it 
will never deploy your content.  It will only deploy your application, 
including static files and templates, but not including any pages, blog 
posts, etc. which you may have added locally to your development site. 
 This is so you can make ongoing deployments without trashing your content 
in production.

With that said, I'm not sure what's happening with your ssh / sudo problem 
via Fabric.  Are you able to ssh to the server where you are deploying?  Do 
other ssh commands via fabric work?  Have you updated the FABRIC settings 
in local_settings.py? 

I have to say I avoided the fabric deployment capabilities for a few years 
and just manually deployed my sites.  Having done it both ways now I can 
definitely say that the fabric method is 1000% better and worth the pain of 
getting it to work!

-Pat

On Sunday, June 18, 2017 at 9:29:55 AM UTC-7, KD wrote:
>
> Hello,
>
> I am trying to understand the deployment process for Mezzanine. 
>  Currently, my site looks like this:
>
>
> <https://lh3.googleusercontent.com/-FOjMUEgoh_w/WUaoFmJOjAI/AAAAAAAAAaw/8cqYB1-QHuYPknb2JPY045NZAWQDt112wCLcBGAs/s1600/Screen%2BShot%2B2017-06-18%2Bat%2B12.18.10%2BPM.png>
>
>
>
>  and I don't quite understand why the content that I wrote hasn't 
> transferred over to the website. 
>
> The few guides that I have come across say to run fab all, which I 
> understand to be the command that installs what is necessary for the 
> website and deploys it.  However, when I run fab all, I get an error:
>
> Fatal error: sudo() received nonzero return code 1 while executing!
>
>
> Requested: psql -c "CREATE USER ***** WITH ENCRYPTED PASSWORD '*****';"
>
> Executed: sudo -S -p 'sudo password:'  -u "postgres"  /bin/bash -l -c 
> "psql -c \"CREATE USER ***** WITH ENCRYPTED PASSWORD '*****';\""
>
>
>
> I'd appreciate any insight into what the problem is.  Thanks for your time.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to