The repositories have symlinks to the old gitlab-shell binary. Try to recreate the hooks:
sudo -u git /opt/gitlab/embedded/service/gitlab-shell/bin/create-hooks Then run: sudo gitlab-rake gitlab:check On Wed, Oct 14, 2015 at 5:49 PM, yenzi <yenz...@googlemail.com> wrote: > Hi, > > I have migrated our gitlab server to another machine. Gitlab was still > version 7.10 on the old machine installed from sources. So I set up a 7.10 > server on the new machine (ubuntu) using the omnibus package. I created a > backup on the old machine and transformed the sql file from mysql to > postgresql and finally imported the backup successfully on the new machine. > Then I have upgraded the gitlab version to 8.0.5. > > Everything is working on the Web side of things. But when I try to clone a > repository I get this error message : > > git clone g...@myserver.com:mygroup/myproject.git > > Cloning into 'myproject'... > > sh: 1: /home/git/gitlab-shell/bin/gitlab-shell: not found > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > > I don't know why it tries to run gitlab-shell from the location when it > was installed on the old machine. > > > Any ideas ? > > > Thanks, > > > YenZi > > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to gitlabhq+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/aacaac25-9a05-4a4c-bb40-f5316652f9f1%40googlegroups.com > <https://groups.google.com/d/msgid/gitlabhq/aacaac25-9a05-4a4c-bb40-f5316652f9f1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAMBWrQkax-NTxTRTTr65KDPC0FVZnwerXc54umT9zZK0u%3DBcNA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.