Could not push to own server with https. At "could not find addressable 2.3.5 in any of the sources."
Created by: chyuaner
I use Gitlab 7.4.3. Is upgraded from 7.3 to 7.4.3 with watch doc https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/7.3-to-7.4.md.
Web server is use Apache.
In Gitlab 7.3. I push project to own server with https is OK.
In Gitlab 7.4. I push project to own server with https. Appear error:
kobayashi@DBLAB6249 /C/Users/kobayashi/Desktop/HTML_to_image (master)
$ git push origin master
Username for 'https://git.dblab.csie.chu.edu.tw': kobayashi
Password for 'https://[email protected]':
Counting objects: 68, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (65/65), done.
Writing objects: 100% (68/68), 25.20 KiB | 0 bytes/s, done.
Total 68 (delta 27), reused 0 (delta 0)
remote: /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/spec_set.r
b:92:in `block in materialize': Could not find addressable-2.3.5 in any of the s
ources (Bundler::GemNotFound)
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/spec_set.rb:85:in `map!'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/spec_set.rb:85:in `materialize'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/definition.rb:132:in `specs'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/definition.rb:177:in `specs_for'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/definition.rb:166:in `requested_specs'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/environment.rb:18:in `requested_specs'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/runtime.rb:13:in `setup'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler.rb:121:in `setup'
remote: from /usr/local/lib/ruby/gems/2.1.0/gems/bundler-1.7.3/lib/bundler/setup.rb:17:in `<top (required)>'
remote: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
remote: from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
To https://git.dblab.csie.chu.edu.tw/kobayashi/html_to_image.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.dblab.csie.chu.edu.tw/kobayashi/html_to_image.git'
But I push with SSH is OK.
In server info:
[ 12:18上午 ] [ yuan@DBLab159:/home/git/gitlab(7-4-stable✗) ]
$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
Checking Environment ...
Git configured for git user? ... no
Try fixing it:
sudo -u git -H "/usr/bin/git" config --global user.name "GitLab"
sudo -u git -H "/usr/bin/git" config --global user.email "[email protected]"
sudo -u git -H "/usr/bin/git" config --global core.autocrlf "input"
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 2.0.1 ? ... OK (2.1.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ...
4/1 ... ok
3/3 ... repository is empty
2/5 ... ok
4/6 ... ok
4/7 ... ok
4/8 ... ok
4/9 ... ok
2/10 ... ok
5/11 ... ok
9/13 ... repository is empty
4/14 ... ok
2/15 ... ok
2/16 ... ok
5/17 ... repository is empty
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: /home/git/gitlab-shell/lib/gitlab_net.rb:122:in `read': No such file or directory @ rb_sysopen - /home/git/gitlab-shell/.gitlab_shell_secret (Errno::ENOENT)
from /home/git/gitlab-shell/lib/gitlab_net.rb:122:in `secret_token'
from /home/git/gitlab-shell/lib/gitlab_net.rb:79:in `get'
from /home/git/gitlab-shell/lib/gitlab_net.rb:39:in `check'
from /home/git/gitlab-shell/bin/check:11:in `<main>'
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ...
4/1 ... yes
3/3 ... yes
2/5 ... yes
4/6 ... yes
4/7 ... yes
4/8 ... yes
4/9 ... yes
2/10 ... yes
5/11 ... yes
9/13 ... yes
4/14 ... yes
2/15 ... yes
2/16 ... yes
5/17 ... yes
Projects have satellites? ...
4/1 ... yes
3/3 ... can't create, repository is empty
2/5 ... yes
4/6 ... yes
4/7 ... yes
4/8 ... yes
4/9 ... yes
2/10 ... yes
5/11 ... yes
9/13 ... can't create, repository is empty
4/14 ... yes
2/15 ... yes
2/16 ... yes
5/17 ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.7.10)
Checking GitLab ... Finished