On Thu, Oct 23, 2014 at 04:09:31PM +0400, Vasiliy Tolstov wrote:
> Hi =)!
> 
> I have succeseful deployed wordpress on precreated lxc containers.
> After deploy to vps i have all services in error state with message
> about install hook failed.
> 

First, look on the unit in /var/log/juju:

  juju ssh <unit>
  ls -l /var/log/juju/unit-*

The unit-* logs are the intersting ones if you have gotten as far as
running hooks.

If that is not revealing, you can step through hook execution, see the
following link (thought this is typically not necessary to just see how
something failed, it's more if you are developing a charm):

  https://juju.ubuntu.com/docs/authors-hook-debug.html

HTH!

-- 
David Britton <[email protected]>

-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev
  • debug hooks Vasiliy Tolstov
    • Re: debug hooks David Britton

Reply via email to