From e4dda5e46ecc8dcbfe1be0205bbe673f3a3b3777 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 23 Feb 2024 02:57:33 +0100 Subject: [PATCH] trying to fix smarty errors --- manifest.toml | 2 +- scripts/upgrade | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 0c6a3b0..c9b947d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Friendica" description.en = "Decentralized Social Network" description.fr = "Réseau social décentralisé" -version = "2023.12~ynh3" +version = "2023.12~ynh4" maintainers = [ "" ] diff --git a/scripts/upgrade b/scripts/upgrade index 4a1ca5b..5396ec8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,6 +38,11 @@ fi chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" +# clear the smarty cache +# cf: https://github.com/friendica/friendica/issues/11212#issuecomment-1046051750 +ynh_secure_remove --file="$install_dir/view/smarty3/compiled" +chmod -R 775 "$install_dir/view/smarty3" + #================================================= # REAPPLY SYSTEM CONFIGURATIONS #=================================================