I migrated gitlab from EKS(helm installation) to EC2(Omnibus). I did a backup and restore using gitlab-rake utility. Everything in new gitlab works fine, except for groups.
when clicking on groups, I get 500 : Internal Server Error. Need urgent help on it.
Thank you very much in Advance !!
Below is detailed error-
Processing by ProjectsController#show as HTML
Parameters: {“namespace_id”=>“mim”, “id”=>“mim-oem”}
Completed 500 Internal Server Error in 361ms (ActiveRecord: 67.4ms | Elasticsearch: 0.0ms)
ActionView::Template::Error (Object Storage is not enabled):
1: - page_title @project.full_name
2: - page_description @project.description unless page_description
3: - header_title project_title(@project) unless header_title
4: - nav “project”
5: - @left_sidebar = t
Thank you very much @atanayno for your response. Below are the answers to your questions -
Gitlab version - GitLab Enterprise Edition [12.2.4-ee]
I cant list (explore groups/your groups) groups . I get - An Error occurred, Please try again…However, I can list projects and from there, I can go to some of the groups
I cant create groups as I cant go to groups list page (and hence, dont see that button)
I can open some of the projects and navigate to their group through breadcrumbs, not all
@saurabh thanks for sharing the details. Seems that the objects were not properly migrated to the local storage. Do you still have the old GitLab EKS instance and object storage available. We don’t yet have a fully documented guide for migrating from a Helm chart instance to Omnibus but in short, the migration can be performed in the following way:
install GitLab Omnibus
create a clone of your original object storage and connect it to your GitLab Omnibus instance
create a backup of your original GitLab instance and move it to GitLab Omnibus instance together with secrets and GitLab configuration file
sudo gitlab-rake gitlab:artifacts:migrate_to_local
I, [2021-02-06T07:54:47.310910 #10980] INFO – : Starting transfer of artifacts to local storage
E, [2021-02-06T07:54:47.357946 #10980] ERROR – : Failed to transfer artifact of type trace and ID 1 with error: Object Storage is not enabled for JobArtifactUploader
Do you have object storage connected to this GitLab instance? What’s inside your /etc/gitlab/gitlab.rb file? Please make sure to sanitize it before sharing here.