diff --git a/bundles/nextcloud/items.py b/bundles/nextcloud/items.py index 9752e17..be66de9 100644 --- a/bundles/nextcloud/items.py +++ b/bundles/nextcloud/items.py @@ -33,10 +33,17 @@ directories['/opt/nextcloud'] = {} directories['/opt/nextcloud/config'] = { 'owner': 'www-data', 'group': 'www-data', + 'mode': '0770', + 'needs': [ + 'action:extract_nextcloud', + ], } directories['/opt/nextcloud/apps'] = { 'owner': 'www-data', 'group': 'www-data', + 'needs': [ + 'action:extract_nextcloud', + ], } directories['/var/lib/nextcloud'] = { 'owner': 'www-data', @@ -119,5 +126,6 @@ actions['nextcloud_add_missing_inidces'] = { 'triggered': True, 'triggered_by': [ f'action:extract_nextcloud', + f'action:upgrade_nextcloud', ], }