From ba0d9f961a62ffeabf4af552db87bbfdad9a4e78 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 16 Jun 2021 18:14:48 +0200 Subject: [PATCH 1/6] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 36f03b7..be3db14 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:www-data "$final_path" +chown -R $app:$app "$final_path" #================================================= # NGINX CONFIGURATION @@ -154,7 +154,7 @@ mkdir -p "$datadir" chmod 750 "$datadir" chmod -R o-rwx "$datadir" -chown -R $app:www-data "$datadir" +chown -R $app:$app "$datadir" #================================================= # BUILD YARN DEPENDENCIES From 92a11c274cc6904a651e5575d28f27506df09400 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 16 Jun 2021 18:16:09 +0200 Subject: [PATCH 2/6] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a307da6..5212ef6 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:www-data "$final_path" +chown -R $app:$app "$final_path" #================================================= # NGINX CONFIGURATION @@ -221,7 +221,7 @@ mkdir -p "$datadir" chmod 750 "$datadir" chmod -R o-rwx "$datadir" -chown -R $app:www-data "$datadir" +chown -R $app:$app "$datadir" #================================================= # UPDATE A CONFIG FILE From 95b345524715380eb10266daf7f8f420b9e856d9 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 16 Jun 2021 18:17:59 +0200 Subject: [PATCH 3/6] Update restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 908d617..219f03e 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:www-data "$final_path" +chown -R $app:$app "$final_path" #================================================= # SPECIFIC RESTORATION @@ -89,7 +89,7 @@ mkdir -p "$datadir" chmod 750 "$datadir" chmod -R o-rwx "$datadir" -chown -R $app:www-data "$datadir" +chown -R $app:$app "$datadir" #================================================= # OPEN A PORT From 86e542ccd6a0358c1510a3062b8b67603f61edc4 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 16 Jun 2021 18:18:50 +0200 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4c43f8..52832c5 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Servers are run independently by different people and organizations. They can ap By watching a video, you help the hosting provider to broadcast it by becoming a broadcaster of the video yourself. Each instance doesn’t need much money to broadcast the videos of its users. -**Shipped version:** 3.1.0 +**Shipped version:** 3.2.1 ## Important points to read before installing From b439c9d7bc1b3d0d1bd7514f87b465ea743f3ee2 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 16 Jun 2021 18:19:36 +0200 Subject: [PATCH 5/6] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 23bdc74..c37e206 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~ynh1", + "version": "3.2.1~ynh2", "url": "https://github.com/Chocobozzz/PeerTube", "license": "AGPL-3.0-only", "maintainer": [ From 479722da8b10c8a82c6e030a0f31ba16e9963e7a Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 16 Jun 2021 18:58:49 +0200 Subject: [PATCH 6/6] Update check_process --- check_process | 36 ++---------------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/check_process b/check_process index c8f409b..e37bf40 100644 --- a/check_process +++ b/check_process @@ -12,23 +12,7 @@ setup_private=1 setup_public=1 upgrade=1 - # 2.1.0 - # upgrade=1 from_commit=d049b71061d12ffab92bbf106af200e7d8a69572 - # 2.1.1~ynh1 - # upgrade=1 from_commit=63f076db215f8f438dbdcd2966c12d9ee7976121 - # 2.2.0~ynh1 - # upgrade=1 from_commit=2b24ab443dc95fc78654e8232351933491cf04b4 - # 2.3.0~ynh1 - upgrade=1 from_commit=141e5a370e552760b83066fbfe044ca3e5283a72 - # 2.4.0~ynh1 - upgrade=1 from_commit=10d79175a8a45137d271931cbd6d14e927400729 - # 3.0.1~ynh1 - upgrade=1 from_commit=5a74f4033eafa657fcd32a9713cd77ba0f4f79c9 - # 3.1.0~ynh2 - upgrade=1 from_commit=1be4caaaf2787e614cd315ca8564573d4268032a - # 3.1.0~ynh5 - upgrade=1 from_commit=343f2b80e0f3bddc87ad8ed143411a0920c21150 - # 3.2.1~ynh6 + # 3.2.1~ynh1 upgrade=1 from_commit=f4b43fd85ad3a169d27c53865a13548e44f17ebf backup_restore=1 multi_instance=0 @@ -38,22 +22,6 @@ Email=anmol@datamol.org;yalh@yahoo.com Notification=yes ;;; Upgrade options - ; commit=d049b71061d12ffab92bbf106af200e7d8a69572 - name=2.1.0 - ; commit=63f076db215f8f438dbdcd2966c12d9ee7976121 - name=2.1.1~ynh1 - ; commit=2b24ab443dc95fc78654e8232351933491cf04b4 - name=2.2.0~ynh1 - ; commit=141e5a370e552760b83066fbfe044ca3e5283a72 - name=2.3.0~ynh1 - ; commit=10d79175a8a45137d271931cbd6d14e927400729 - name=2.4.0~ynh1 - ; commit=5a74f4033eafa657fcd32a9713cd77ba0f4f79c9 - name=3.0.1~ynh1 - ; commit=1be4caaaf2787e614cd315ca8564573d4268032a - name=3.1.0~ynh2 - ; commit=343f2b80e0f3bddc87ad8ed143411a0920c21150 - name=3.1.0~ynh5 ; commit=f4b43fd85ad3a169d27c53865a13548e44f17ebf - name=3.2.1~ynh6 + name=3.2.1~ynh1