Git Push Operation Fails from Control Panel #9804
Replies: 2 comments 1 reply
-
This usually happens if the SSH key for the user running the PHP-FPM process hasn't been added to GitHub. Are you able to SSH into the server as the same user the web server runs as, then try running |
Beta Was this translation helpful? Give feedback.
-
@duncanmcclean
So some are running as root and some as www-data, also I tried to create within container the ssh keys and add to the repo, but still same issue. FYI, within a container the ssh keys were created as root user. I also tried to copy from my local env to container with www-data ssh keys but still same problem. |
Beta Was this translation helpful? Give feedback.
-
I am encountering an issue with Git operations through the Statamic Control Panel.
I have committed changes using the Statamic Control Panel, but I'm not able to see commits to my Repository.
I check the logs and it said:
However, this issue is not happening when I run the command:
php please git:commit
Could you please support me in this approach on what is missing?
My doubts are that the ssh key needs to be paired with Statamic somehow.
my .env looks like this:
Beta Was this translation helpful? Give feedback.
All reactions