GitLab och Chef Client?
Postat: 15 feb 2021, 10:04
Hoppas ni är bekanta med GitLab!?
https://about.gitlab.com/install/#ubuntu
* * * * * * * * * *
Vi har haft "oväntat besök" och skulle göra en vanlig sudo update för att fixa med det. Men nåt program vid namn Chef Client saknar nåt i nån fil så det går inte att "löpa hela linan ut", så att säga!
https://about.gitlab.com/install/#ubuntu
* * * * * * * * * *
Vi har haft "oväntat besök" och skulle göra en vanlig sudo update för att fixa med det. Men nåt program vid namn Chef Client saknar nåt i nån fil så det går inte att "löpa hela linan ut", så att säga!
Kod: Markera allt
System Info:
------------
chef_version=13.6.4
platform=ubuntu
platform_version=18.04
ruby=ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/chef-client
executable=/opt/gitlab/embedded/bin/chef-client
*** Allt nedanför "Runnung handlers" är markerat i röd text. ***
Running handlers:
There was an error running gitlab-ctl reconfigure:
bash[migrate gitlab-rails database] (gitlab::database_migrations line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20210212-9539-398e8s" ----
STDOUT: rake aborted!
PG::ConnectionBad: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"?
/opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/db.rake:49:in `block (3 levels) in <top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:db:configure
(See full trace by running task with --trace)
STDERR:
---- End output of "bash" "/tmp/chef-script20210212-9539-398e8s" ----
Ran "bash" "/tmp/chef-script20210212-9539-398e8s" returned 1
Running handlers complete
Chef Client failed. 3 resources updated in 36 seconds