Comment 3 for bug 1315091

Revision history for this message
Matt Bruzek (mbruzek) wrote :

José,

I was re-reviewing own cloud today with the latest changes the db-relation-departed fails with a different error.

$ juju deploy mysql
$ juju add-relation mysql owncloud
$ juju remove-relation mysql owncloud
$ juju status
...
    units:
      owncloud/0:
        agent-state: error
        agent-state-info: 'hook failed: "db-relation-departed"'
..

$ tail ~/.juju/local/log/unit-owncloud-0.log
...
2014-05-16 17:01:19 INFO juju-log db:3: Writing ownCloud config file

2014-05-16 17:03:43 INFO db-relation-departed + mv /var/www/owncloud/config/config.php /var/www/owncloud/config/config.php.bakmysql
2014-05-16 17:03:43 INFO db-relation-departed mv: cannot stat `/var/www/owncloud/config/config.php': No such file or directory
2014-05-16 17:03:43 ERROR juju.worker.uniter uniter.go:490 hook failed: exit status 1