Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • omnibus-gitlab omnibus-gitlab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 981
    • Issues 981
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 58
    • Merge requests 58
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • omnibus-gitlabomnibus-gitlab
  • Issues
  • #6347
Closed
Open
Created Aug 22, 2021 by Gena Makhomed@makhomed

Error: Transaction test error: file /opt/gitlab/embedded/service/gitlab-rails/db/ci_migrate from install of gitlab-ce-14.2.0-ce.0.el8.x86_64 conflicts with file from package gitlab-ce-14.1.3-ce.0.el8.x86_64

Summary

CentOS 8, omnibus package, when updating (yum update) from 4.1.3 to 4.2.0 installation failer with error:

Error: Transaction test error: file /opt/gitlab/embedded/service/gitlab-rails/db/ci_migrate from install of gitlab-ce-14.2.0-ce.0.el8.x86_64 conflicts with file from package gitlab-ce-14.1.3-ce.0.el8.x86_64

Steps to reproduce

  1. install CentOS 8
  2. install gitlab-ce 4.1.3
  3. run "yum update"
  4. see error message

What is the current bug behavior?

can't update gitlab from 4.1.3 to 4.2.0

What is the expected correct behavior?

correct update

Relevant logs

Relevant logs

[root@gitlab ~]# yum clean all ; yum update 8 files removed CentOS Linux 8 - AppStream 28 MB/s | 8.8 MB 00:00 CentOS Linux 8 - BaseOS 25 MB/s | 5.6 MB 00:00 CentOS Linux 8 - Extras 130 kB/s | 10 kB 00:00 Extra Packages for Enterprise Linux Modular 8 - x86_64 1.6 MB/s | 927 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 16 MB/s | 10 MB 00:00 gitlab_gitlab-ce 212 kB/s | 846 kB 00:03 gitlab_gitlab-ce-source 90 B/s | 296 B 00:03 Dependencies resolved.

Package Architecture Version Repository Size

Upgrading: gitlab-ce x86_64 14.2.0-ce.0.el8 gitlab_gitlab-ce 903 M

Transaction Summary

Upgrade 1 Package

Total download size: 903 M Is this ok [y/N]: y Downloading Packages: gitlab-ce-14.2.0-ce.0.el8.x86_64.rpm 91 MB/s | 903 MB 00:09

Total 91 MB/s | 903 MB 00:09 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'yum clean packages'. Error: Transaction test error: file /opt/gitlab/embedded/service/gitlab-rails/db/ci_migrate from install of gitlab-ce-14.2.0-ce.0.el8.x86_64 conflicts with file from package gitlab-ce-14.1.3-ce.0.el8.x86_64

[root@gitlab ~]#

Details of package version

Provide the package version installation details
[root@gitlab ~]# rpm -qa | grep 'gitlab'
gitlab-ce-14.1.3-ce.0.el8.x86_64

Environment details

  • Operating System: CentOS Linux release 8.4.2105
  • Installation Target, remove incorrect values:
    • VM: KVM
  • Installation Type, remove incorrect values:
    • Upgrade from version gitlab-ce-14.1.3-ce.0.el8.x86_64 to version gitlab-ce-14.2.0-ce.0.el8.x86_64
  • Is there any other software running on the machine: No
  • Is this a single or multiple node installation? Single Node
  • Resources
    • CPU: Intel Xeon Processor (Skylake, IBRS)
    • Memory total: 32 GiB

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb`
No relevant configuration sections found.
Assignee
Assign to
Time tracking