Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#50172 - [gitlab] Incompatibility with gitlab-shell 3.2.0

Attached to Project: Community Packages
Opened by Tiago Peixoto (count0) - Thursday, 28 July 2016, 05:43 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 29 July 2016, 17:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Pushing to a repository with git fails with:

/usr/share/webapps/gitlab-shell/lib/gitlab_shell.rb:185:in `repo_path=': Repository path not provided. Please make sure you're using GitLab v8.10 or later. (ArgumentError)
from /usr/share/webapps/gitlab-shell/lib/gitlab_shell.rb:93:in `verify_access'
from /usr/share/webapps/gitlab-shell/lib/gitlab_shell.rb:33:in `exec'
from /usr/share/webapps/gitlab-shell/bin/gitlab-shell:20:in `<main>'
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Additional info:
gitlab version 8.6.2

Steps to reproduce: Just push to any repository using git.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 29 July 2016, 17:16 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Thursday, 28 July 2016, 14:45 GMT
8.6.2? You're already very, very out of date. Does it work with the current package?

Remember, partial updates are not supported.
Comment by Tiago Peixoto (count0) - Thursday, 28 July 2016, 14:58 GMT
That was a typo. The version is 8.9.6. As the error says, gitlab-shell wants 8.10.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 29 July 2016, 01:56 GMT
Please test now.
Comment by Tiago Peixoto (count0) - Friday, 29 July 2016, 07:17 GMT
I just upgraded to gitlab-shell-3.2.1-1, restarted gitlab, and after trying to do a git push, I get the same error:

/usr/share/webapps/gitlab-shell/lib/gitlab_shell.rb:185:in `repo_path=': Repository path not provided. Please make sure you're using GitLab v8.10 or later. (ArgumentError)
from /usr/share/webapps/gitlab-shell/lib/gitlab_shell.rb:93:in `verify_access'
from /usr/share/webapps/gitlab-shell/lib/gitlab_shell.rb:33:in `exec'
from /usr/share/webapps/gitlab-shell/bin/gitlab-shell:20:in `<main>'
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 29 July 2016, 11:55 GMT
What's your gitlab version?
Comment by Tiago Peixoto (count0) - Friday, 29 July 2016, 16:45 GMT
It was 8.9.6. After upgrading to the new 8.10, the error is gone.

Loading...