You are not logged in.
I upgraded to gitlab 11.10.4-1 & gitlab-shell 2:9.0.0-1 recently, and spent many days to finally get gitlab's webpage open. Very happy to say that I eventually got it working and all my projects and issues were there.
Cloning from https works, however push doesn't work for either ssh or https.
When I ssh into the gitlab server, I get:
> ssh -T gitlab@arch_gitlab 1 ↵ no such file or directory
When I push from https I get:
Counting objects: 66, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (66/66), done.
Writing objects: 100% (66/66), 8.45 KiB | 0 bytes/s, done.
Total 66 (delta 38), reused 0 (delta 0)
remote: /usr/bin/env: 'ruby': No such file or directory
To [url]https://gitlab.arch/root/todo.git[/url]
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[url]https://gitlab.arch/root/todo.git[/url]'
git did not exit cleanly (exit code 1) (4087 ms @ 10/05/2019 8:45:10 PM)
When I push using ssh I get:
no such file or directory
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git did not exit cleanly (exit code 128) (484 ms @ 10/05/2019 9:31:08 PM)
Any ideas? I've spent a whole day on this now (and upgrading gitlab itself just so the http interface works has taken me a few days now, nearly gave up along the way).
Last edited by simonzack (2019-05-10 11:33:13)
Offline
Some progress, using the wiki and doing
usermod -s /usr/share/webapps/gitlab-shell/bin/gitlab-shell-ruby gitlab
I get the following error using ssh instead:
git.exe push --progress "arch" master
Counting objects: 66, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (66/66), done.
Writing objects: 100% (66/66), 8.45 KiB | 0 bytes/s, done.
Total 66 (delta 38), reused 0 (delta 0)
remote: /usr/bin/env: 'ruby': No such file or directory
To gitlab.arch:root/todo.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'gitlab@gitlab.arch:root/todo.git'
git did not exit cleanly (exit code 1) (718 ms @ 10/05/2019 9:53:47 PM)
Last edited by simonzack (2019-05-10 11:54:31)
Offline
Ok managed to fixed this myself & open a bug report at https://bugs.archlinux.org/task/62591
Offline
Ok, should be fixed, please test.
Offline