In case of gitautodeploy stops working
- ssh to the TS server
cd /var/log
To check the owner of git-auto-deploy.log file
ls -l
- if owner is someone else than www-data:
chown www-data:www-data git-auto-deploy.log
systemctl restart git-auto-deploy
cd /var/log
To check the owner of git-auto-deploy.log file
ls -l
chown www-data:www-data git-auto-deploy.log
systemctl restart git-auto-deploy