Results 1 to 2 of 2

Thread: SVN post-commit hook failed after Ubuntu upgrade from 11.04 to 12.04

  1. #1
    Join Date
    Sep 2006
    Beans
    67

    Unhappy SVN post-commit hook failed after Ubuntu upgrade from 11.04 to 12.04

    After Ubuntu upgrade from 11.04 to 12.04 all my SVN post-commit hooks doesn't work throwing errors:

    Code:
    post-commit hook failed (exit code 1) with output:
    sudo: no tty present and no askpass program specified
    Any clue what can be wrong?

  2. #2
    Join Date
    Sep 2006
    Beans
    67

    Re: SVN post-commit hook failed after Ubuntu upgrade from 11.04 to 12.04

    More info regarding that issue.

    Error comes on TortoiseSVN.

    My post-commit hook looks like:

    Code:
    sudo svn update /var/www/site/html >> /usr/local/svn/repos/site/logs/exampleup.log
    and working sudoers from 11.04:
    Code:
    www-data ALL=NOPASSWD:/usr/bin/svn

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •