diff --git a/nextcloud/actions/occ b/nextcloud/actions/occ index 7c7a2db..e394fea 100755 --- a/nextcloud/actions/occ +++ b/nextcloud/actions/occ @@ -19,8 +19,12 @@ if ! [ -e "$SERVICE_DATASTORE/var/www/html/occ" ]; then ## Last, we do not want the relation web-proxy to run in this ## bare-minimum nextcloud run AND we will use occ to set some info ## in this very same relation. - compose --without-relation="$SERVICE_NAME":web-proxy run \ + compose --debug --without-relation="$SERVICE_NAME":web-proxy run \ --rm --entrypoint /entrypoint.sh "$SERVICE_NAME" apache >&2 || true + if ! [ -e "$SERVICE_DATASTORE/var/www/html/occ" ]; then + err "Expected last command to create /var/www/html/occ" + exit 1 + fi fi