Giter Club home page Giter Club logo

gitlab-ce's People

Contributors

bish0polis avatar toshi0123 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gitlab-ce's Issues

busybox pkill doesn't have '-u' option

error as follows.

# busybox pkill -u
pkill: unrecognized option: u
BusyBox v1.27.2 (2017-10-20 05:56:33 GMT) multi-call binary.

Usage: pkill [-l|-SIGNAL] [-fnovx] [-s SID|-P PPID|PATTERN]

Send a signal to process(es) selected by regex PATTERN

        -l      List all signals
        -f      Match against entire command line
        -n      Signal the newest process only
        -o      Signal the oldest process only
        -v      Negate the match
        -x      Match whole name (not substring)
        -s      Match session ID (0 for current)
        -P      Match parent process ID

yarn cache size is too big

clean up is required.

/home/git # du -h -d 1
53.6M   ./gitlab-workhorse
303.5M  ./.cache
8.0K    ./.yarn
20.9M   ./gitaly
964.3M  ./gitlab
18.5M   ./.bundle
4.0K    ./repositories
8.0K    ./.ssh
72.1M   ./gitlab-shell
8.0K    ./build
1.4G   

v9.5.10 failed to build

error messages are shown as follows.

warning Error running install script for optional dependency: "/home/git/gitlab/node_modules/node-zopfli: Command failed.
Exit code: 1
...
gyp ERR! stack Error: Can't find Python executable \"python\", you can set the PYTHON env variable.

I didn't try python3 for this.
This issue said "I downgraded the python from 3.6.1 to 2.7.13 and it works now",
so I use python2.
angular-fullstack/generator-angular-fullstack#2545

gitlab-shell failed to rake

error messages as follows.

LoadError: cannot load such file -- bigdecimal/util
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/core_ext/big_decimal/conversions.rb:2:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/core_ext/big_decimal/conversions.rb:2:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/core_ext/object/json.rb:4:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/core_ext/object/json.rb:4:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/core_ext/object.rb:12:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/activesupport-4.2.8/lib/active_support/core_ext/object.rb:12:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/configuration.rb:2:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/configuration.rb:2:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/railtie.rb:2:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/railtie.rb:2:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/engine.rb:1:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/engine.rb:1:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/application.rb:7:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/application.rb:7:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails.rb:11:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails.rb:11:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/all.rb:1:in `require'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/railties-4.2.8/lib/rails/all.rb:1:in `<top (required)>'
/home/git/gitlab/config/application.rb:3:in `require'
/home/git/gitlab/config/application.rb:3:in `<top (required)>'
/home/git/gitlab/Rakefile:5:in `require'
/home/git/gitlab/Rakefile:5:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/bin/bundle:23:in `load'
/usr/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)

gpgme failed to install

error messages as follows.

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/gpgme-2.0.13/ext/gpgme
/usr/bin/ruby -r ./siteconf20171025-14-1ozpwln.rb extconf.rb
************************************************************************
IMPORTANT!  gpgme gem uses locally built versions of required C libraries,
namely libgpg-error, libassuan, and gpgme.

If this is a concern for you and you want to use the system library
instead, abort this installation process and reinstall gpgme gem as
follows:

    gem install gpgme -- --use-system-libraries

************************************************************************
Extracting libgpg-error-1.27.tar.bz2 into
tmp/x86_64-alpine-linux-musl/ports/libgpg-error/1.27... OK
Running 'configure' for libgpg-error 1.27... OK
Running 'compile' for libgpg-error 1.27... OK
Running 'install' for libgpg-error 1.27... OK
Activating libgpg-error 1.27 (from
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/gpgme-2.0.13/ports/x86_64-alpine-linux-musl/libgpg-error/1.27)...
Extracting libassuan-2.4.3.tar.bz2 into
tmp/x86_64-alpine-linux-musl/ports/libassuan/2.4.3... OK
Running 'configure' for libassuan 2.4.3... OK
Running 'compile' for libassuan 2.4.3... ERROR, review
'/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/gpgme-2.0.13/ext/gpgme/tmp/x86_64-alpine-linux-musl/ports/libassuan/2.4.3/compile.log'
to see what happened. Last lines are:
========================================================================
In file included from assuan.c:28:0:
assuan-defs.h:362:23: error: unknown type name 'cookie_read_function_t'
                       cookie_read_function_t *readfn,
                       ^~~~~~~~~~~~~~~~~~~~~~
assuan-defs.h:363:23: error: unknown type name 'cookie_write_function_t'
                       cookie_write_function_t *writefn,
                       ^~~~~~~~~~~~~~~~~~~~~~~
assuan-defs.h:364:23: error: unknown type name 'cookie_seek_function_t'
                       cookie_seek_function_t *seekfn,
                       ^~~~~~~~~~~~~~~~~~~~~~
assuan-defs.h:365:23: error: unknown type name 'cookie_close_function_t'
                       cookie_close_function_t *closefn);
                       ^~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:709: libassuan_la-assuan.lo] Error 1
make[3]: Leaving directory
'/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/gpgme-2.0.13/ext/gpgme/tmp/x86_64-alpine-linux-musl/ports/libassuan/2.4.3/libassuan-2.4.3/src'
make[2]: *** [Makefile:480: all] Error 2
make[2]: Leaving directory
'/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/gpgme-2.0.13/ext/gpgme/tmp/x86_64-alpine-linux-musl/ports/libassuan/2.4.3/libassuan-2.4.3/src'
make[1]: *** [Makefile:443: all-recursive] Error 1
make[1]: Leaving directory
'/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/gpgme-2.0.13/ext/gpgme/tmp/x86_64-alpine-linux-musl/ports/libassuan/2.4.3/libassuan-2.4.3'
make: *** [Makefile:374: all] Error 2
========================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/bin/$(RUBY_BASE_NAME)
	--clean
	--use-system-libraries
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:402:in
`block in execute': Failed to complete compile task (RuntimeError)
from
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:373:in
`chdir'
from
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:373:in
`execute'
from
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:115:in
`compile'
from
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb:154:in
`cook'
	from extconf.rb:99:in `block in <main>'
	from extconf.rb:85:in `tap'
	from extconf.rb:85:in `<main>'

extconf failed, exit code 1

gitaly failed to install

error messages as follows.

** Invoke gitlab:gitaly:install (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gitlab:gitaly:install
rake aborted!
Gitlab::TaskFailedError: env: invalid number 'RUBYOPT'
/home/git/gitlab/lib/tasks/gitlab/task_helpers.rb:86:in `run_command!'
/home/git/gitlab/lib/tasks/gitlab/gitaly.rake:28:in `block (5 levels) in <top (required)>'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler.rb:293:in `block in with_original_env'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler.rb:540:in `with_env'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler.rb:293:in `with_original_env'
/home/git/gitlab/lib/tasks/gitlab/gitaly.rake:28:in `block (4 levels) in <top (required)>'
/home/git/gitlab/lib/tasks/gitlab/gitaly.rake:24:in `chdir'
/home/git/gitlab/lib/tasks/gitlab/gitaly.rake:24:in `block (3 levels) in <top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/task.rb:251:in `block in execute'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/task.rb:251:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/task.rb:251:in `execute'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/task.rb:195:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/task.rb:188:in `invoke_with_call_chain'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/task.rb:181:in `invoke'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:153:in `invoke_task'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:109:in `block (2 levels) in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:109:in `each'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:109:in `block in top_level'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:118:in `run_with_threads'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:103:in `top_level'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:81:in `block in run'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:179:in `standard_exception_handling'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/lib/rake/application.rb:78:in `run'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/bin/rake:23:in `load'
/home/git/gitlab/vendor/bundle/ruby/2.4.0/bin/rake:23:in `<top (required)>'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:75:in `load'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:75:in `kernel_load'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/cli/exec.rb:28:in `run'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/cli.rb:424:in `exec'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/cli.rb:27:in `dispatch'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/cli.rb:18:in `start'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/exe/bundle:30:in `block in <top (required)>'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/usr/lib/ruby/gems/2.4.0/gems/bundler-1.16.0/exe/bundle:22:in `<top (required)>'
/usr/bin/bundle:23:in `load'
/usr/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:gitaly:install

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.