From 1de45f807f7b4426864a40fafb9148f0ed4f8908 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 18 Jun 2021 01:09:44 +0200 Subject: [PATCH 1/4] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index be3db14..36f03b7 100644 --- a/scripts/install +++ b/scripts/install @@ -132,7 +132,7 @@ ynh_setup_source --dest_dir="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R $app:$app "$final_path" +chown -R $app:www-data "$final_path" #================================================= # NGINX CONFIGURATION @@ -154,7 +154,7 @@ mkdir -p "$datadir" chmod 750 "$datadir" chmod -R o-rwx "$datadir" -chown -R $app:$app "$datadir" +chown -R $app:www-data "$datadir" #================================================= # BUILD YARN DEPENDENCIES From aafb23fea769771a07cf0fd40332436a08be19bf Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 18 Jun 2021 01:10:37 +0200 Subject: [PATCH 2/4] Update restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 219f03e..908d617 100644 --- a/scripts/restore +++ b/scripts/restore @@ -73,7 +73,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R $app:$app "$final_path" +chown -R $app:www-data "$final_path" #================================================= # SPECIFIC RESTORATION @@ -89,7 +89,7 @@ mkdir -p "$datadir" chmod 750 "$datadir" chmod -R o-rwx "$datadir" -chown -R $app:$app "$datadir" +chown -R $app:www-data "$datadir" #================================================= # OPEN A PORT From 25c6616cf596f824ed9694600a1f3c1ade3fc8c3 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 18 Jun 2021 01:12:10 +0200 Subject: [PATCH 3/4] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5212ef6..a307da6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -174,7 +174,7 @@ fi chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R $app:$app "$final_path" +chown -R $app:www-data "$final_path" #================================================= # NGINX CONFIGURATION @@ -221,7 +221,7 @@ mkdir -p "$datadir" chmod 750 "$datadir" chmod -R o-rwx "$datadir" -chown -R $app:$app "$datadir" +chown -R $app:www-data "$datadir" #================================================= # UPDATE A CONFIG FILE From 7bbee901f2f9a4c743b338f20aa91ad14e423c54 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 18 Jun 2021 01:17:59 +0200 Subject: [PATCH 4/4] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index c37e206..b547816 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Video streaming platform using P2P directly in the web browser, connected to a federated network", "fr": "Plateforme de diffusion vidéo par P2P directement dans le navigateur, et connectée à un réseau fédéralisé" }, - "version": "3.2.1~ynh2", + "version": "3.2.1~ynh3", "url": "https://github.com/Chocobozzz/PeerTube", "license": "AGPL-3.0-only", "maintainer": [