Gitlab-ce migration centos7 to ubuntu22 tls

Hello guys,
i have centos 7 with gitlab 8.12.3 , i migrationed to ubuntu 22 tls with the same version, i used getting backup and restore it was successfull, it opens login page on ubuntu server but when i trying login it give 500 error , someting went wrong.
have you got any idea?
centos:

System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.1p112
Gem Version: 2.6.6
Bundler Version:1.13.1
Rake Version: 10.5.0
Sidekiq Version:4.1.4

GitLab information
Version: 8.12.3
Revision: 467e1ca
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://10.100.4.141:8080
HTTP Clone URL: http://10.100.4.141:8080/some-group/some-project.git
SSH Clone URL: git@10.100.4.141:some-group/some-project.git
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version: 3.6.1
Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories
    Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
    Git: /opt/gitlab/embedded/bin/git
    On ubuntu
System:         Ubuntu 22.04
Current User:   git
Using RVM:      no
Ruby Version:   2.3.1p112
Gem Version:    2.6.6
Bundler Version:1.13.1
Rake Version:   10.5.0
Sidekiq Version:4.1.4

GitLab information
Version:        8.12.3
Revision:       467e1ca
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     postgresql
URL:            http://10.100.4.15:8090
HTTP Clone URL: http://10.100.4.15:8090/some-group/some-project.git
SSH Clone URL:  git@10.100.4.15:some-group/some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        3.6.1
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
Hooks:          /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:            /opt/gitlab/embedded/bin/git

type or paste code here

Gitlab 8 on Ubuntu 22.04? That’s like a really old version of Gitlab, especially since we are now on Gitlab 16.9.1. Ubuntu 22.04 didn’t even exist when Gitlab 8 was around. Probably a lot of libraries, etc will not even work due to the age of that version of Gitlab.

You would be far better upgrading your CentOS 7 install as far as it will go until you are at the latest version possible, and then do a migration to Ubuntu 22.04.