Did you run git update-server-info on the server?Posted in Applications -
This post looks at the error "fatal: https://domain/account/filename-plates.git/info/refs not found: did you run git update-server-info on the server?" when trying to access a git repository, doing e.g. a git pull.
Possible reasons for the error
The error is git telling you the repository could not be found. This could be because:
- the repository has been deleted
- the repository has been renamed
- it has been moved from one account to another at your repository provider
- the username has been changed at the repository provider
- you've been removed as a collaborator at the project (although you might see a different type of error in this case)
How to fix it if you've renamed the repository, username, etc
If you've renamed the repository, username or similar, then you need to update the URL in the configuration file. This is at .git/config in the project's root.
The config file will look something like this:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = username@host:repo-account-name/project-name.git [branch "master"] remote = origin merge = refs/heads/master
Update the "url =" line to the correct URL and it should fix the problem. You can also use the "git remote set-url origin [url]" command, replacing [url] with the actual URL instead of editing the configuration file directly.