-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can pull, can't push, although terminal push works #1073
Comments
update to the latest release https://github.com/shiftkey/desktop/releases and then try signing out and back in (in account settings in the app) and report back if your issue is fixed or not |
Unfortunately it still doesn't work. Even tested on 2 different PCs with Ubuntu 23.10 (the 2nd one was a new installation). The log writes just this line when showing the popup:
|
/I need more details from the application to be able to troubleshoot further. Please check the logs created at You might need to close the app to flush the log files to disk. |
I've already provided the logs. The first copy of the logs is the entire log from a "launch the app > commit code > push code" process. The second log (with the latest release of the app) was also the same, I just copied the last line if it makes any sense. |
For brevity, here's a fresh copy of the log:
For the time being I'm just using the app to commit code but I push code through the terminal only. |
I am having the same issue . I am using Kali Linux . I installed the latest version recently , I am trying this for 2 days , i have tried installing and uninstalling it over and over , also i cleared my git log , tried installing git and uninstalling it again . i can pull , push , fetch from vs code git and ssh but not from the desktop software . well i can pull and push my own rep , but when i try to pull rep from my office it gives me "this rep not exist or name changed " type error . even though i can pull the same rep from my vs code git and ssh . i am new to this kali linux environment . |
The latest release fixed this for me, I have to say I had issues with the After the update signing in didn´t work (something like #768) so I had to fix the mime type Checking out the github sign-in link it's So I checked the arch wiki and it pointed to the mimeapps.list file In the file it's
duplicated the auth line and changed it
Logged back into linux and the everything worked again endeavourOs with KDE 6 and wayland, app installed from aur |
Can you help me doing this , I tried but still its not working . I guess I made some mistake while editing the mime app list , there was no github on my mimelist |
This is to fix the browser not opening back github desktop after authorizing it, not for the pull/push issue, anyway:
You could try adding the ones I posted, but do you have a |
i am using kali linux 2024.2 , I installed github desktop by terminal, from shiftkey repo , i just uninstalled it , trying to install it for the last time |
The problem
On Ubuntu 23.10, in a brand new setup for GitHub Desktop (not the first time using on Ubuntu though), I authenticated to my GH account via browser and I could clone and fetch projects just fine. As an aside, I have also configured SSH integration via GH CLI. WHich works just fine, meaning I can authenticate via SSH (as well).
Unfortunately, I can't push code through the app. I get the dreaded can't authenticate error, although I'm already logged in.
I tried logging out and back in, nothing. I checked permissions, not an issue.
I can also clone a repo just fine, but I can't push any changed code to it.
If do "git push --all" through the terminal though, code is pushed just fine to the repo.
To be honest, I hadn't used the app for some time. I occasionally used it without an issue, but that could be more than a year ago. A few months ago (hence the 23.10 version) I went full on Ubuntu Desktop (after ditching MacOS use for 15+ years). Yesterday I setup the app to push some code to GH and got the dreaded "can't authenticate" error.
I don't have any customizations on my global .gitconfig file, beyond what GH CLI configured.
The repos I tried pushing code are not private and yes I have the correct permissions to push code (I'm the repo owner either way). Tried reboots, verified file permissions... nothing...
I'm truly baffled.
If there's a way I can debug this (beyond logging), please let me know.
In any case, I really appreciate your work and I thank you in advance for the effort you put in.
Release version
3.3.12-linux2 (x64)
Operating system
Ubuntu Desktop 23.10
Steps to reproduce the behavior
No response
Log files
// I cleaned up the logs and did a commit and then push - this is what was logged. Personal/repo details redacted.
2024-05-31T15:47:26.430Z - info: [ui] [AppStore] loading 73 repositories from store
2024-05-31T15:47:26.433Z - info: [ui] [AppStore] found account: USERNAME (My Name)
2024-05-31T15:47:26.473Z - info: [ui] [BranchPruner] Last prune took place 6 hours ago - skipping
2024-05-31T15:47:27.054Z - info: [ui] Subscribed 'USERNAME' to Alive channel
2024-05-31T15:47:27.198Z - info: [ui] launching: 3.3.12-linux2 (Linux 6.5.0-35-generic)
2024-05-31T15:47:27.199Z - info: [ui] execPath: '/usr/lib/github-desktop/github-desktop'
2024-05-31T15:47:58.406Z - info: [ui] [Timing] Action 'create commit' for 'orgX/repoY' took 0.140s
2024-05-31T15:48:00.863Z - info: [ui] [AppStore.withAuthenticatingUser] account found for repository: repoY - USERNAME (has token)
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: