mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Fix write access on plugins dir (#46)
This commit is contained in:
parent
8c0c21b9b9
commit
45502455e5
3 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ sudo sed -i "s/yuno_domain/${domain}/g" ${DESTDIR}/config.php
|
||||||
|
|
||||||
# Set permissions to kanboard and data directory
|
# Set permissions to kanboard and data directory
|
||||||
sudo chown -R root:root ${DESTDIR}
|
sudo chown -R root:root ${DESTDIR}
|
||||||
sudo chown -R www-data:www-data ${DESTDIR}/data
|
sudo chown -R www-data ${DESTDIR}/{data,plugins}
|
||||||
|
|
||||||
# Copy and set php-fpm configuration
|
# Copy and set php-fpm configuration
|
||||||
phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf"
|
phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf"
|
||||||
|
|
|
@ -45,7 +45,7 @@ ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ./db.sql
|
||||||
|
|
||||||
# Restore permissions
|
# Restore permissions
|
||||||
sudo chown -R root:root "$DESTDIR"
|
sudo chown -R root:root "$DESTDIR"
|
||||||
sudo chown -R www-data:www-data "$DESTDIR"/data
|
sudo chown -R www-data ${DESTDIR}/{data,plugins}
|
||||||
|
|
||||||
# Restore configuration files
|
# Restore configuration files
|
||||||
sudo cp -a ./conf/nginx.conf "$nginx_conf"
|
sudo cp -a ./conf/nginx.conf "$nginx_conf"
|
||||||
|
|
|
@ -62,7 +62,7 @@ sudo sed -i "s/yuno_domain/${domain}/g" ${DESTDIR}/config.php
|
||||||
|
|
||||||
# Set permissions to kanboard and data directory
|
# Set permissions to kanboard and data directory
|
||||||
sudo chown -R root:root ${DESTDIR}
|
sudo chown -R root:root ${DESTDIR}
|
||||||
sudo chown -R www-data:www-data ${DESTDIR}/data
|
sudo chown -R www-data ${DESTDIR}/{data,plugins}
|
||||||
|
|
||||||
# Launch database migration
|
# Launch database migration
|
||||||
sudo ${DESTDIR}/cli db:migrate
|
sudo ${DESTDIR}/cli db:migrate
|
||||||
|
|
Loading…
Reference in a new issue