I have only 3 folders of data that were generated via docker.
/etc/gitlab
/var/log/gitlab
/var/opt/gitlab
I don't remember which gitlab-ee version I used and any version always fails running.
---- End output of /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/alertmanager ----
Ran /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/alertmanager returned 1
Notes:
Found old initial root password file at /etc/gitlab/initial_root_password and deleted it.
Running handlers complete
[2025-03-06T02:06:03+00:00] ERROR: Exception handlers complete
Infra Phase failed. 440 resources updated in 01 minutes 55 seconds
Notes:
Found old initial root password file at /etc/gitlab/initial_root_password and deleted it.
[2025-03-06T02:06:03+00:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/cinc-stacktrace.out
[2025-03-06T02:06:03+00:00] FATAL: ---------------------------------------------------------------------------------------
[2025-03-06T02:06:03+00:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2025-03-06T02:06:03+00:00] FATAL: ---------------------------------------------------------------------------------------
[2025-03-06T02:06:03+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: runit_service[alertmanager] (monitoring::alertmanager line 76) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/alertmanager ----
STDOUT: timeout: down: /opt/gitlab/service/alertmanager: 0s, normally up, want up
STDERR:
---- End output of /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/alertmanager ----
Ran /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/alertmanager returned 1
I don't have time to waste debugging gitlab.
How can I find the version of my files so that I can run the right version without having to migrate my data and failing.
Note: None of the answers under How to check the version of GitLab? is possible in my case, I don't have /opt/gitlab
.
I'm also surprised Gitlab's guys didn't think it was a good idea to display the version of the data before automatically migrate...