diff --git a/scripts/upgrade b/scripts/upgrade index 6d4e9a5..37548c5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -36,7 +36,9 @@ then ynh_setup_source --dest_dir="$install_dir" --keep="$install_dir/config.toml" fi +chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" +chmod +x "$install_dir/meilisearch" #================================================= # SETUP SYSTEMD