<p dir="ltr">Glad that was it! When I opened it on vim, it said [dos] at the bottom, and after googling the error I saw what it was.</p>
<p dir="ltr">About the command, what happens is right. You should not be able to execute any of those commands. The commands are only executable in a 'hook environment', meaning only hooks will be able to run them. If you really want to execute one of them, you can use 'juju run --service wordpress-single "command goes here"'.</p>
<p dir="ltr">Why do you want to run that manually? Anything missing?</p>
<p dir="ltr">--<br>
José Antonio Rey</p>
<br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 29, 2016, 19:22 Ney Moura <<a href="mailto:neymourac@gmail.com">neymourac@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Thanks everyone!<br><br></div>José Antonio, you were right!<br><br></div>How did you discover that?<br><br><br></div><div>But let me challenge you guys even more!<br><br></div><div>I need to install something in the VM before using the juju commands, like status-set? I'm asking this because I wasn't able to run these commands in there.<br><br><br></div><div>Thanks again!<br></div></div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-29 19:15 GMT-03:00 José Antonio Rey <span dir="ltr"><<a href="mailto:jose@ubuntu.com" target="_blank">jose@ubuntu.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is because you are using Windows line breaks instead of Linux/Unix line breaks. Try saving your file with Linux/Unix line breaks and give it a go.<div><div><br>
<br>
On 02/29/2016 05:12 PM, David Britton wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Feb 29, 2016 at 07:02:08PM -0300, Ney Moura wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
But I keep having erros with the install hook. It says file not found.<br>
<br>
</blockquote>
<br>
Maybe I missed it in the tarball -- could you attach a juju debug-log<br>
capture while you deploy it?<br>
<br>
Or, /var/log/all-machines.log from the bootstrap node is the same thing.<br>
<br>
Thanks!<br>
<br>
</blockquote>
<br>
-- <br></div></div><span><font color="#888888">
José Antonio Rey<br>
</font></span></blockquote></div><br><br clear="all"><br></div><div class="gmail_extra">-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><b>Ney Moura Conceição</b><br></div></div></div></div></div></div></div>
</div></blockquote></div>