1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Merge pull request #244 from YunoHost-Apps/testing

Fix permissions Plugins & Themes
This commit is contained in:
yalh76 2021-06-17 20:03:12 +02:00 committed by GitHub
commit f69a180bdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 42 deletions

View file

@ -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 doesnt 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

View file

@ -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

View file

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

View file

@ -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

View file

@ -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

View file

@ -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