From cf5b6ec99ba5a77bf89de56374900f66d44d6e6c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 17 Jan 2022 09:44:05 +0100 Subject: [PATCH] chown after cron https://github.com/alexbelgium/hassio-addons/issues/162 --- fireflyiii/rootfs/templates/cronupdate | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fireflyiii/rootfs/templates/cronupdate b/fireflyiii/rootfs/templates/cronupdate index 41eba4659..04b58ebd2 100644 --- a/fireflyiii/rootfs/templates/cronupdate +++ b/fireflyiii/rootfs/templates/cronupdate @@ -7,3 +7,6 @@ bashio::log.warning "Silent mode activated. Only errors will be shown. Please di else /usr/local/bin/php /var/www/html/artisan firefly:cron fi + +chown -R www-data:www-data /config/addons_config/fireflyiii +chown -R www-data:www-data /var/www/html/storage