Open mkha98 opened 5 months ago
@mkha98 I like the irony of your first sentence :-)
I've no experience with post-commit
but the error is basically "php: not found".
What I expect is that the hook is called from SVN which runs within the Docker container. And that the Docker container doesn't contain PHP. Or that it is installed in a different path (or file name, for example Synology uses names like php74
), than that it expects.
Since I'm not a Linux guru, I have no concrete steps for you how to debug. But maybe these assumptions might provide you ideas how to continue.
Fascinating that we are discussing an SVN workaround using a workaround on GIT.
This migration documentation has been great. I have one challenge - I had post-commit PHP files that previously ran but are not being run now. I can call the PHP files directly; I can even call
post-commit a b c
from the command line, and the underlying PHP file is called. However, when I run a commit, I get an error :/var/opt/svn/MY_SVN/hooks/post-commit: line 60: php: not found
It is strange because my PHP file is called after
php
, but the error message doesn't show the name of the file. I've tried to reference my PHP file with absolute reference in the post-commit file and to play around with the mapped folder settings. All for no success. I'm wondering if there is one more configuration required in this migration?