Hello,
The following issue has been updated:
786 - Check for `at' command during installation / document `at' usage
Project: Indefero
Status: New
Reported by: Steddy Smit
# By Steddy Smit, May 15, 2013:
Hi Andrew
I can't remember excatly what I did to identify the problem, but I think I did the following:
Edit the following file in your indefero installation:
indefero/scripts/git-post-update
At the bottom you should see a line that looks like:
echo php $PHP_POST_UPDATE $FULL_GIT_DIR | at now > /dev/null 2>&1
replace it with echo php $PHP_POST_UPDATE $FULL_GIT_DIR | at now
i.e. remove the redirect to /dev/null
Do the push again, hopefully you'll get some more useful debug.
# By Andrew Aikman, May 14, 2013:
Hi Keith, www-data existed in the at.deny file, i removed it and created an at.allow file including the www-data line with the same mod and grp settings as the deny file. I have indefero configured to use www-data. I restarted the server to be sure that at picked up the changes. Still no luck.
I have a feeling it is permissions on something too, but the error message doesn't give me any real indication as to where the issue is. I have used grep to try and find where in Indefero the message is output to give me a better idea of the script that throws the error, but no luck with that either.
Thank you for your response.
# By Keith Constable, May 13, 2013:
Andrew, try adding "www-data" to /etc/at.allow.
# By Andrew Aikman, May 1, 2013:
^ i am using Indefero version 1.3.3
# By Andrew Aikman, May 1, 2013:
I had exactly the same issue with Ubuntu 10.04: "error: cannot run hooks/post-update: No such file or directory". Installing "at" fixed this.
I am now trying to set up indefero on ubuntu 12.04, I have followed the instructions and double checked them against my working install of 10.04.
I am getting the error when pushing: "error: cannot run hooks/post-update: No such file or directory". "at" is installed, the actual changes are saved to the repository but the database / timeline are not updated. I can create a new project fine, I can clone fine, I can pull fine, it is just the final part of pushing. I have never got the local-git-daemon to work but this never worked on my previous install (10.04). I have looked through the scripts to try and get to the bottom of this but no luck so far.
I will post my findings if I solve.
# By Thomas Keller, Feb 21, 2012:
Definitely both.
Labels: Type:Enhancement -Type:Defect
Summary: Check for `at' command during installation / document `at' usage
Relations: is related to 211
# By Steddy Smit, Feb 21, 2012: