Add new comment
Want to support HowtoForge? Become a subscriber!
|
Yes, content of post-commit was the problem, cause it has been launched under user apache:apache which has /sbin/nologin option in /etc/passwd, at least on my system. So no one ever accessed /usr/bin/svn update and enetered user and pass for svn repo using user apache. In this case this helps: chown -Rv apache.apache /usr/local/subversion/ /usr/local/apache2/ and in post-commit you type: /usr/bin/svn update /usr/local/apache2/htdocs/ --username svn_user --password svn_pwd --non-interactive >> /usr/local/subversion/repository/logs/post-commit.log Cheers!
Reply |



Recent comments
18 hours 30 min ago
23 hours 20 min ago
1 day 4 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 6 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 21 hours ago