diff --git a/README.md b/README.md index 73e9c9c..1eb60b2 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ BookStack is an opinionated wiki system that provides a pleasant and simple out - Diagrams.net Integration -**Shipped version:** 23.06.1~ynh1 +**Shipped version:** 23.06.1~ynh2 **Demo:** https://demo.bookstackapp.com diff --git a/README_fr.md b/README_fr.md index eecfbf9..b65c900 100644 --- a/README_fr.md +++ b/README_fr.md @@ -27,7 +27,7 @@ BookStack est un système wiki simple prête à l'emploi. Les nouveaux utilisate - Multilingue -**Version incluse :** 23.06.1~ynh1 +**Version incluse :** 23.06.1~ynh2 **Démo :** https://demo.bookstackapp.com diff --git a/manifest.toml b/manifest.toml index 70b33c1..5dfe325 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "BookStack" description.en = "Platform to create documentation/wiki content" description.fr = "Plateforme pour créer du contenu de documentation/wiki" -version = "23.06.1~ynh1" +version = "23.06.1~ynh2" maintainers = ["eric_G"] diff --git a/scripts/_common.sh b/scripts/_common.sh index a6dc845..d387e9f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -YNH_COMPOSER_VERSION=2.4.2 +YNH_COMPOSER_VERSION=2.5.8 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 5bc5ef2..8a23e4d 100644 --- a/scripts/install +++ b/scripts/install @@ -39,6 +39,8 @@ ynh_setup_source --dest_dir="$install_dir" # Set permissions to app files chmod -R o-rwx $install_dir +chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads + chown -R $app:www-data $install_dir #================================================= @@ -74,7 +76,7 @@ app_url_domain="https://$domain${path%/}" ynh_add_config --template=../conf/.env.example --destination=$install_dir/.env -chmod 600 $install_dir/.env +chmod 640 $install_dir/.env chown $app:$app $install_dir/.env #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 4602a18..0d5d5d1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,6 +51,7 @@ then fi chmod -R o-rwx $install_dir +chmod -R 775 $install_dir/storage $install_dir/bootstrap/cache $install_dir/public/uploads chown -R $app:www-data $install_dir #=================================================