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