I was wondering if any of you guys has experience with making Statamic's git work on Laradock?
Statamic > Utilities > Git throws the following error:
The provided cwd "sh: 1: exec: git: not found/" does not exist.
I've spent hours looking into it but cannot fix it.
The problem is with the permissions on /usr/bin/git (where laradock installs git) for the Symphony Process Class (which runs as user www-data).
I tried adding
chmod 755 /usr/bin/git to laradock/workspace/Dockerfile as well as
chown -R www-data:www-data /usr/bin/git.
And although I can successfully use git from the nginx, php-fmp and workspace containers (or during build via)
RUN if ! command -v git &> /dev/null; then \
echo -e "\033[31mgit could not be found\e[0m" \
I cannot get it work from Statamic.
Any help would be greatly appreciated ...