git push issue #6068
stephenmeehanuk
started this conversation in
General
git push issue
#6068
Replies: 1 comment
-
Hmm, this is out of scope for Statamic, and more of a Github auth + Ploi thing, but maybe you can...
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Occasionally
git push
will stop working, and I'm not entirely sure why?Setup
php artisan horizon:terminate
The problem
git push
sometimes stops working? Issh
into the staging server and I rungit status
I see this messageIf I try to manually
git push
I see this messageEven though the credentials usually do work… Statamic happily pushes commits to
origin/staging
when it works.This problem seems to happen when I've not pushed any
local
commits toorigin/staging
for a while, I ran into this issue yesterday (about 12 hours ago).I have a feeling the issue might be related to Redis and Horizon. I have to admit I don't know enough about the inner workings of this to know for sure.
daemon
logorigin/staging
Temporary fix
This is my process for temporarily fixing it
ssh
into servergit remote -v
https
ssh
git push
now works in the terminal and changes made in Statamic are being pushed as expected.I’m not sure what’s happening behind the scenes when I change the origin path, as when I use the deploy script in Ploi, the origin path reverts back to
https
. So perhaps the origin path isn’t related to this issue.Something is forgetting or ignoring the credentials, as they work one day and not the other?
Open to suggestions!
Beta Was this translation helpful? Give feedback.
All reactions