Hi dudoo,
It looks like the path to Git (as well as MySQL) isn’t being found by Apache.
This can happen when you install Git and don’t select the option to make it available to other programs.
It’s an easy fix now with Revisr, you can define the path to Git in your wp-config.php or functions.php like so:
define( 'REVISR_GIT_PATH', '/usr/bin/git' );
Where ‘/usr/bin/git’ is the install path to Git on your system, which you can find by opening up a terminal/command prompt and typing which git.
Then to get backups to work, you’ll need run which mysql and enter that path into the Revisr settings under “Database Settings”.
Let me know if you have any questions, thanks!
Thread Starter
dudoo
(@dudoo)
Hey, I should have mentioned that everything is working (Git commits and sql backups [perfectly I might add!]), except the push part which never completes, so I think GIT is being used correctly.
Also, I tried to define both, but I got no dashboard->help changes regardless of which I tried.
define( ‘REVISR_GIT_DIR’, ‘/usr/bin/git’ );
define( ‘REVISR_GIT_PATH’, ‘/usr/bin/git’ );
Hi @duduoo,
I just saw your response to this. Were you able to get this resolved?
If everything’s working except pushes and pulls, it sounds like an authentication issue to me.