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 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 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": [ 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 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 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