diff --git a/scripts/upgrade b/scripts/upgrade index cf057cc..8d3778b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -193,6 +193,7 @@ ynh_use_logrotate --non-append # Set permissions to app files chown -R root "$final_path" chmod 644 "$final_path/htdocs/conf/conf.php" +mkdir -p "$datadir" chown -R $app "$datadir" chmod go-w $datadir