Commit cc01ff7a59ca943d7b754c87cf94d657500e2807
1 parent
956367c9
bug fix
Showing
1 changed file
with
3 additions
and
0 deletions
spod-manager.sh
... | ... | @@ -276,6 +276,8 @@ echo "SPOD MANAGER Action: $ACTION ..." |
276 | 276 | git remote rm origin |
277 | 277 | git init |
278 | 278 | git remote add origin http://$GITUSER:$GITPASSWORD@$GITSPOD/isislab/spod-themes.git |
279 | + | |
280 | + chown www-data:www-data -R /var/www | |
279 | 281 | service apache2 start |
280 | 282 | |
281 | 283 | ;; |
... | ... | @@ -305,6 +307,7 @@ echo "SPOD MANAGER Action: $ACTION ..." |
305 | 307 | wget -q -O /dev/null http://localhost/ |
306 | 308 | rm -f /var/www/ow_includes/config.php |
307 | 309 | echo $CONFIG0$HOSTNAMESPOD$CONFIG1$CONFIG3 >> /var/www/ow_includes/config.php |
310 | + chown www-data:www-data -R /var/www | |
308 | 311 | service apache2 restart |
309 | 312 | else |
310 | 313 | echo "Your SPOD installation is corrupt, please uninstall and istall it again. Your database will be erased." | ... | ... |