Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8053973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:01:35+00:00 2026-06-05T08:01:35+00:00

I switched servers, so I simply rsynced the remote git repository to which I

  • 0

I switched servers, so I simply rsynced the remote git repository to which I was pushing and pulling changes from over to new server. Now I tried to fetch from it and am getting error:

ssh://user@domain.com:1234/home/user/gitrepos/project.git: 
cannot execute: git-upload-pack '/home/user/gitrepos/project.git'

What could be causing this problem? How can I troubleshoot?

P.S. domain and ports, along with file repo dir location are all correct.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:01:36+00:00Added an answer on June 5, 2026 at 8:01 am

    When you’re using git on a remote server, the remote peer also needs git installed. (It’s a bit like rsync — having software on the remote endpoint allows for computing details on the remote peer to avoid needless network traffic.)

    So, be sure that a fully-functional git is installed on the remote peer, the commands are located on the PATH when you log in via ssh normally as georgebrock points out, and your user account has privileges to execute the commands (in case your login shell is confined with a mandatory access control tool such as AppArmor, SELinux, TOMOYO, or SMACK).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've recently switched over a rails app to a new server. For some reason,
We just switched our website over to a new server. There is a part
Just switched over from eclipse to vs 2008 for debugging javascript, i feel more
I just recently switched out our repository and context from Linq-to-SQL to Entity Framework
We have switched from sqlite to FireBird embedded server, because FB seems to support
I have this simple hook on /hooks/post-update inside a bare repository: #!/bin/sh git-update-server-info GIT_WORK_TREE=/home/user/apps/application-site/dev
I just switched from mysql to postgres (yay!) but now on my postgres server
Pyzor uses UDP/IP as the communication protocol. We recently switched the public server to
I recently switched to a new setup that is reporting PHP Notices; my code
We just switched to our new website redesign. We have a copy of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.