[DRE-maint] Bug#815133: Gitlab installation fails: Errno::EEXIST: File exists @ sys_fail2 - /usr/share/gitlab-shell/.gitlab_shell_secret

Rahulkrishnan R A rahulkrishnanfs at gmail.com
Sat Feb 20 17:05:20 UTC 2016


Hi,

I tried to install 8.4.3+dfsg-9 and the error is comming.

root at server:/usr/share/gitlab# apt-get install gitlab
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  apt-file g++-4.9 libavcodec56 libavformat56 libavresample2 libavutil54
libbytes-random-secure-perl
  libclass-inspector-perl libconfig-file-perl libconvert-binhex-perl
libcrypt-random-seed-perl libcrypt-ssleay-perl
  libexporter-lite-perl libfile-listing-perl libfont-afm-perl libglew1.10
libhtml-form-perl libhtml-format-perl
  libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl
libhttp-negotiate-perl libio-sessiondata-perl
  libio-stringy-perl libisl10 libjasper1 libllvm3.5
libmath-random-isaac-perl libmath-random-isaac-xs-perl
  libmime-tools-perl libnet-http-perl libossp-uuid-perl libossp-uuid16
libpostproc52 libpython3.4-minimal
  libpython3.4-stdlib libregexp-assemble-perl libstdc++-4.9-dev libswscale3
libtask-weaken-perl libtie-ixhash-perl
  libuuid-perl libvpx1 libwww-robotrules-perl libx264-142 libxi6 libxmu6
libxt6 python-cheetah python-configobj
  python-json-pointer python-jsonpatch python-oauth python-prettytable
python-pycurl python-serial
  python-software-properties python-urllib3 python-yaml python3-bcdoc
python3-blinker python3-cffi-backend
  python3-colorama python3-configobj python3-cryptography python3-dateutil
python3-idna python3-jinja2 python3-jmespath
  python3-json-pointer python3-jsonpatch python3-jwt python3-markupsafe
python3-oauthlib python3-prettytable
  python3-pyasn1 python3-rsa python3-serial python3-urllib3 python3-yaml
python3.4 python3.4-minimal ruby2.1-dev
  unattended-upgrades
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  gitlab
0 upgraded, 1 newly installed, 0 to remove and 131 not upgraded.
Need to get 0 B/11.5 MB of archives.
After this operation, 20.1 MB of additional disk space will be used.
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Preconfiguring packages ...
sh: 0: getcwd() failed: No such file or directory
Selecting previously unselected package gitlab.
(Reading database ... 68078 files and directories currently installed.)
Preparing to unpack .../gitlab_8.4.3+dfsg-9_all.deb ...
Unpacking gitlab (8.4.3+dfsg-9) ...
Processing triggers for systemd (228-6) ...
Setting up gitlab (8.4.3+dfsg-9) ...
Creating/updating gitlab user account...
Create database if not present
Make gitlab user owner of gitlab_production database...
ALTER DATABASE
Grant all privileges to gitlab user...
GRANT
Verifying we have all required libraries...
Resolving dependencies.........
Using rake 10.4.2
Using CFPropertyList 2.2.8
Using RedCloth 4.2.9
Using ace-rails-ap 3.0.3
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.5.1
Using builder 3.2.2
Using erubis 2.7.0
Using nokogiri 1.6.7.1
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.6
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.3
Using actionview 4.2.5.1
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.5.1
Using globalid 0.3.6
Using activejob 4.2.5.1
Using mime-types 2.6.1
Using mail 2.6.3
Using actionmailer 4.2.5.1
Using activemodel 4.2.5.1
Using arel 6.0.3
Using activerecord 4.2.5.1
Using activerecord-deprecated_finders 1.0.4
Using thor 0.19.1
Using railties 4.2.5.1
Using activerecord-session_store 0.1.1
Using acts-as-taggable-on 3.5.0
Using addressable 2.3.8
Using after_commit_queue 1.3.0
Using allocations 1.0.3
Using multipart-post 1.2.0
Using faraday 0.9.2
Using faraday_middleware 0.10.0
Using multi_json 1.11.2
Using faraday_middleware-multi_json 0.0.6
Using jwt 1.0.0
Using multi_xml 0.5.5
Using oauth2 1.0.0
Using asana 0.4.0
Using asciidoctor 1.5.3
Using encryptor 1.3.0
Using attr_encrypted 1.3.4
Using attr_required 1.0.0
Using execjs 2.6.0
Using autoprefixer-rails 6.0.3
Using descendants_tracker 0.0.4
Using ice_nine 0.11.1
Using axiom-types 0.1.1
Using babosa 1.0.2
Using bcrypt 3.1.10
Using sass 3.4.21
Using bootstrap-sass 3.3.5.1
Using browser 1.0.1
Using bundler 1.10.6
Using cal-heatmap-rails 3.5.1
Using carrierwave 0.10.0
Using charlock_holmes 0.7.3
Using coercible 1.0.0
Using coffee-script-source 1.9.1.1
Using coffee-script 2.4.1
Using coffee-rails 4.1.0
Using colorize 0.7.7
Using concurrent-ruby 1.0.0
Using connection_pool 2.2.0
Using safe_yaml 1.0.4
Using crack 0.4.3
Using creole 0.5.0
Using d3_rails 3.5.6
Using default_value_for 3.0.1
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.3
Using devise 3.5.2
Using devise-async 0.9.0
Using rotp 2.1.1
Using devise-two-factor 2.0.0
Using diff-lcs 1.2.5
Using diffy 3.0.6
Using doorkeeper 2.2.1
Using sprockets 3.3.0
Using sprockets-rails 2.3.2
Using rails 4.2.5.1
Using dropzonejs-rails 0.7.1
Using email_reply_parser 0.5.8
Using equalizer 0.0.10
Using escape_utils 1.1.0
Using eventmachine 1.0.7
Using excon 0.45.1
Using expression_parser 0.9.1
Using fission 0.5.0
Using httparty 0.13.5
Using flowdock 0.7.0
Using formatador 0.2.1
Using net-ssh 3.0.1
Using net-scp 1.2.1
Using fog-core 1.32.1
Using fog-xml 0.1.1
Using fog-atmos 0.1.0
Using fog-json 1.0.0
Using ipaddress 0.8.0
Using fog-aws 0.7.6
Using inflecto 0.0.2
Using fog-brightbox 0.7.1
Using fog-ecloud 0.1.1
Using fog-google 0.0.7
Using fog-local 0.2.1
Using fog-powerdns 0.1.1
Using fog-profitbricks 0.0.1
Using fog-radosgw 0.0.4
Using fog-riakcs 0.1.0
Using fog-sakuracloud 0.1.1
Using fog-serverlove 0.1.1
Using fog-softlayer 0.3.17
Using fog-storm_on_demand 0.1.1
Using fog-terremark 0.0.3
Using fog-vmfusion 0.1.0
Using fog-voxel 0.0.2
Using fog 1.34.0
Using font-awesome-rails 4.3.0.0
Using rugged 0.23.2
Using gemnasium-gitlab-service 0.2.6
Using gemojione 2.1.0
Using github-linguist 4.7.2
Using github-markup 1.3.3
Using posix-spawn 0.3.11
Using grit 2.5.0
Using gitlab-flowdock-git-hook 1.0.1
Using gitlab_emoji 0.2.1
Using gitlab_git 7.2.24
Using gollum-rugged_adapter 0.4.1
Using rouge 1.10.1
Using sanitize 2.1.0
Using stringex 2.5.2
Using gollum-lib 4.1.0
Using request_store 1.1.0
Using gon 6.0.1
Using hashie 3.4.2
Using rack-accept 0.4.5
Using rack-mount 0.8.3
Using virtus 1.0.5
Using grape 0.13.0
Using grape-entity 0.4.5
Using tilt 2.0.1
Using haml 4.0.7
Using sexp_processor 4.4.4
Using ruby_parser 3.6.6
Using html2haml 2.0.0
Using haml-rails 0.9.0
Using mimemagic 0.3.0
Using hipchat 1.5.2
Using html-pipeline 1.11.0
Using http_parser.rb 0.6.0
Using httpclient 2.6.0.1
Using influxdb 0.2.3
Using jquery-atwho-rails 1.3.2
Using jquery-rails 4.0.5
Using jquery-scrollto-rails 1.4.3
Using turbolinks 2.5.3
Using jquery-turbolinks 2.1.0
Using jquery-ui-rails 5.0.5
Using kaminari 0.16.3
Using kgio 2.9.3
Using systemu 2.6.5
Using macaddr 1.7.1
Using mail_room 0.6.1
Using method_source 0.8.2
Using mousetrap-rails 1.4.6
Using nested_form 0.3.2
Using net-ldap 0.8.0
Using nprogress-rails 0.1.6.7
Using oauth 0.4.7
Using sawyer 0.6.0
Using octokit 3.8.0
Using omniauth 1.2.2
Using omniauth-oauth2 1.2.0
Using omniauth-azure-oauth2 0.0.6
Using omniauth-oauth 1.1.0
Using omniauth-bitbucket 0.0.2
Using omniauth-cas3 1.1.3
Using omniauth-facebook 3.0.0
Using omniauth-github 1.1.2
Using omniauth-gitlab 1.0.0
Using omniauth-google-oauth2 0.2.4
Using omniauth-multipassword 0.4.2
Using timfel-krb5-auth 0.8.3
Using omniauth-kerberos 0.3.0
Using pyu-ruby-sasl 0.0.3.3
Using rubyntlm 0.3.4
Using omniauth-ldap 1.0.4
Using uuid 2.3.8
Using ruby-saml 1.0.0
Using omniauth-saml 1.4.1
Using omniauth-shibboleth 1.2.1
Using omniauth-twitter 1.2.1
Using omniauth_crowd 2.2.3
Using rubypants 0.2.0
Using org-ruby 0.9.12
Using paranoia 2.1.3
Using pg 0.18.3
Using rack-attack 4.3.1
Using rack-cors 0.4.0
Using rack-oauth2 1.2.1
Using rack-protection 1.5.3
Using raindrops 0.15.0
Using raphael-rails 2.1.2
Using rdoc 4.2.0
Using recaptcha 0.4.0
Using redcarpet 3.3.3
Using redis 3.2.1
Using redis-store 1.1.6
Using redis-rack 1.5.0
Using redis-actionpack 4.0.0
Using redis-activesupport 4.1.0
Using redis-namespace 1.5.2
Using redis-rails 4.0.0
Using rinku 1.7.3
Using rqrcode 0.4.2
Using rqrcode-rails3 0.1.7
Using ruby-fogbugz 0.2.1
Using rufus-scheduler 3.1.10
Using sass-rails 5.0.3
Using seed-fu 2.3.5
Using select2-rails 3.5.9.3
Using sentry-raven 0.15.3
Using settingslogic 2.0.9
Using sidekiq 4.0.1
Using sidekiq-cron 0.4.2
Using simple_oauth 0.3.1
Using sinatra 1.4.6
Using six 0.2.0
Using slack-notifier 1.2.1
Using state_machines 0.4.0
Using state_machines-activemodel 0.3.0
Using state_machines-activerecord 0.3.0
Using task_list 1.0.2
Using twitter-stream 0.1.16
Using tinder 1.10.1
Using uglifier 2.7.2
Using underscore-rails 1.8.2
Using unf_ext 0.0.7.2
Using unf 0.1.4
Using unicorn 4.9.0
Using unicorn-worker-killer 0.4.2
Using version_sorter 2.0.0
Using wikicloth 0.8.1
Bundle complete! 119 Gemfile dependencies, 252 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Running final rake tasks...
Creating secrets.yml...
Initializing database...
gitlab_production database is not empty, skipping gitlab setup
Precompiling assets...
fatal: Not a git repository (or any of the parent directories): .git
D, [2016-02-20T16:58:09.442231 #18761] DEBUG -- : ** [Raven] Event not sent
due to excluded environment: production
rake aborted!
Errno::EEXIST: File exists @ sys_fail2 -
/usr/share/gitlab-shell/.gitlab_shell_secret
/usr/share/gitlab/config/initializers/gitlab_shell_secret_token.rb:18:in
`<top (required)>'
/usr/share/gitlab/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => environment
(See full trace by running task with --trace)
dpkg: error processing package gitlab (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (228-6) ...
Errors were encountered while processing:
 gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160220/b0f5d5a1/attachment-0001.html>


More information about the Pkg-ruby-extras-maintainers mailing list