Add new comment

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Submitted by Zlatan Momic (not registered) on Wed, 2008-12-17 16:21.

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!

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.