Failed to deploy owncloud-13 charm

Bug #1346051 reported by Shang Wu on 2014-07-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
owncloud (Juju Charms Collection)
José Antonio Rey

Bug Description

Tried to deploy owncloud-13 charm today. The charm failed at install hook.

log: machine-1.log

log: unit-owncloud-0.log

Looking into debug-hooks and error occurred at the following stage:

<...updating source>
Hit precise-security/universe TranslationIndex
Ign precise/main TranslationIndex
Hit precise-security/main Translation-en
Hit precise-security/universe Translation-en
Ign precise-updates/cloud-tools/main Translation-en
Ign precise/main Translation-en
Reading package lists... Done
+ apt-get install -qqy charm-helper-sh apache2 libapache2-mod-php5 php5-gd php5-mysql php5-sqlite curl libcurl3 php5-curl rpcbind nfs-common
+ juju-log 'Downloading and validating ownCloud'
+ . /usr/share/charm-helper/sh/
++ CH_WGET_ARGS='-q --content-disposition'
+ LHASH=a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
++ ch_get_file a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
++ local FILE=
++ local HASH=a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
+++ mktemp -d /tmp/ch-downloads.XXXXXX
++ local CH_DOWNLOAD_DIR=/tmp/ch-downloads.Qy3oAr
+++ ch_is_url
+++ local DIRTY=
+++ case "$DIRTY" in
+++ echo true
+++ return 0
++ '[' true ']'
++ wget -q --content-disposition --directory-prefix=/tmp/ch-downloads.Qy3oAr/
+++ ls -tr /tmp/ch-downloads.Qy3oAr
+++ head -n 1
++ FILE=/tmp/ch-downloads.Qy3oAr/owncloud-6.0.2.tar.bz2
++ '[' '!' -f /tmp/ch-downloads.Qy3oAr/owncloud-6.0.2.tar.bz2 ']'
++ '[' -z a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f ']'
+++ ch_is_url a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
+++ local DIRTY=a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
+++ case "$DIRTY" in
+++ return 1
++ '[' ']'
++ '[' -f a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f ']'
+++ ch_type_hash a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
+++ local DIRTY=a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f
+++ case $DIRTY in
+++ case ${#DIRTY} in
+++ echo sha256
++ local HASH_TYPE=sha256
++ '[' -z sha256 ']'
+++ sha256sum /tmp/ch-downloads.Qy3oAr/owncloud-6.0.2.tar.bz2
+++ awk '{ print $1 }'
++ local FILE_HASH=49b576bf9e7131c08f0437bbbaafdcd900b37010eb90b23048b69dbbb6c01532
++ '[' 49b576bf9e7131c08f0437bbbaafdcd900b37010eb90b23048b69dbbb6c01532 '!=' a5a194ad07fca7cbf158b660cc098c6364590bdd15d086069221faf4386b713f ']'
++ return 4
+ source_file=
+ juju-log Downloaded
+ juju-log 'Creating ownCloud DocRoot'
+ tar -xjf --directory /var/www
tar (child): --directory: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
+ chown www-data:www-data -R /var/www/owncloud
chown: cannot access `/var/www/owncloud': No such file or directory
++ config-get port
+ port=80
+ open-port 80/tcp
owncloud/0:install %

Related branches

Changed in charms:
status: New → Triaged
importance: Undecided → High
assignee: nobody → José Antonio Rey (jose)
José Antonio Rey (jose) wrote :


As you mentioned, deployment of owncloud-13 failed. owncloud-13 is the old version of the charm. At the current time, a merge proposal ( which includes many fixes is on the review queue. I will be setting this bug to "Fix Committed" and link it to the branch, and we can re-open it in the case the merge does not fix the error. From what I can see on EC2, it does fix it. If you want to try owncloud now, you can use my personal branch and deploy it from a local repository, though it's not 100% recommended.

Please, let me know if you find any other bugs on the ownCloud charm. Thanks for letting us know about this!

Changed in charms:
status: Triaged → Fix Committed
José Antonio Rey (jose) on 2014-07-22
Changed in charms:
status: Fix Committed → Fix Released
affects: charms → owncloud (Juju Charms Collection)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers