Hi there
this is my first post, sorry if this place is incorrect I am just trying to learn and ask for help.
I am trying to upgrade my gitlab version from 13.4.3 to 13.7.6 I am using the following command
sudo rpm -Uvh gitlab-ee-13.7.6-ee.0.el7.x86_64.rpm
I am using Centos 7
Everything went well except at the end, I am receiving this:
> There was an error running gitlab-ctl reconfigure:
*> *
> Multiple failures occurred:
> * Mixlib::ShellOut::ShellCommandFailed occurred in Chef Infra Client run: execute[semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-13.5.0-gitlab-shell.pp] (gitlab::selinux line 32) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
> ---- Begin output of semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-13.5.0-gitlab-shell.pp ----
> STDOUT:
> STDERR: libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp failed with code: 255. (No such file or directory).
> gitlab-13.5.0-gitlab-shell: libsepol.policydb_read: policydb module version 19 does not match my version range 4-17
> gitlab-13.5.0-gitlab-shell: libsepol.sepol_module_package_read: invalid module in module package (at section 0)
> gitlab-13.5.0-gitlab-shell: Failed to read policy package
> libsemanage.semanage_direct_commit: Failed to compile hll files into cil files.
> (No such file or directory).
> semodule: Failed!
> ---- End output of semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-13.5.0-gitlab-shell.pp ----
> Ran semodule -i /opt/gitlab/embedded/selinux/rhel/7/gitlab-13.5.0-gitlab-shell.pp returned 1
> * Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: bash[Set proper security context on ssh files for selinux] (gitlab::selinux line 40) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
> ---- Begin output of “bash” “/tmp/chef-script20210204-25747-19b2by5” ----
> STDOUT:
> STDERR: ValueError: Type gitlab_shell_t is invalid, must be a file or device type
> ValueError: Type gitlab_shell_t is invalid, must be a file or device type
> ValueError: Type gitlab_shell_t is invalid, must be a file or device type
> ValueError: Type gitlab_shell_t is invalid, must be a file or device type
> ValueError: Type gitlab_shell_t is invalid, must be a file or device type
> ---- End output of “bash” “/tmp/chef-script20210204-25747-19b2by5” ----
> Ran “bash” “/tmp/chef-script20210204-25747-19b2by5” returned 1
*> *
*> *
> Running handlers complete
> Chef Infra Client failed. 19 resources updated in 01 minutes 57 seconds
> ===
> There was an error running gitlab-ctl reconfigure. Please check the output above for more
> details.
> ===
seems like Gitlab is installed because I can access to the page but I am receiving that error about gitlab-ctl reconfigure
libsemanage-static libsemanage-devel policycoreutils are updated
can somebody help me please? thanks a lot!!!