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
José,
I was re-reviewing own cloud today with the latest changes the db-relation- departed fails with a different error.
$ juju deploy mysql
agent- state: error
agent- state-info: 'hook failed: "db-relation- departed" '
$ juju add-relation mysql owncloud
$ juju remove-relation mysql owncloud
$ juju status
...
units:
owncloud/0:
..
$ 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 departed mv: cannot stat `/var/www/ owncloud/ config/ config. php': No such file or directory
2014-05-16 17:03:43 INFO db-relation-
2014-05-16 17:03:43 ERROR juju.worker.uniter uniter.go:490 hook failed: exit status 1