Viestit paikassa Gitlab

Checksum mismatch in .gitlab_kas_secret post-install & gitlab-ctl reconfigure

4. joulukuuta 2021 klo 12.57
Sijainti: Vianhallintajärjestelmät: Gitlab
Avainsanat: Debian, Ubuntu

Summary

I’m running debsums -c daily, hoping to catch file corruption and/or other abnormalities early. (The Debian package even provides a pre-made cronjob for this task.)

debsums -c gitlab-ce reports .gitlab_kas_secret as deviating from the provided md5sum.

Steps to reproduce

  1. apt install gitlab-ce
  2. vi /etc/gitlab/gitlab.rb # set external URL
  3. gitlab-ctl reconfigure
  4. debsums -c gitlab-ce

What is the current bug behavior?

# debsums -c gitlab-ce
/opt/gitlab/embedded/service/gitlab-rails/.gitlab_kas_secret

What is the expected correct behavior?

# debsums -c gitlab-ce
#

Details of package version

Provide the package version installation details
ii  gitlab-ce      14.5.1-ce.0  amd64        GitLab Community Edition (including NGINX, Postgres, Redis)

Environment details

  • Operating System: Ubuntu 20.04
  • Installation Target, remove incorrect values:
    • VM
  • Installation Type, remove incorrect values:
    • New Installation
  • Is there any other software running on the machine: plenty
  • Is this a single or multiple node installation? single

Configuration details

Provide the relevant sections of `/etc/gitlab/gitlab.rb`
external_url 'http://localhost'

Related issues

#2635 is basically the same, but I’ve never seen debsums complain about schema.rb.

Vastaa viestiin sen kontekstissa (Gitlab)

All right, I rebased and then regenerated the .pot

24. helmikuuta 2021 klo 16.31
Sijainti: Vianhallintajärjestelmät: Gitlab

@ohoral All right, I’ve now rebased, and then regenerated the .pot again. I didn’t know whether you want the commits squashed, so I left them as separate.

Vastaa viestiin sen kontekstissa (Gitlab)

Okay, I’ve added that file now

22. helmikuuta 2021 klo 20.49
Sijainti: Vianhallintajärjestelmät: Gitlab

Okay, I’ve added that file now. I actually did install GDK to update the .pot file previously, but this last file I added here in the web IDE again.

Vastaa viestiin sen kontekstissa (Gitlab)

I take it I’ll need to install GDK for that?

20. helmikuuta 2021 klo 12.57
Sijainti: Vianhallintajärjestelmät: Gitlab

@asubramanian1 Sure, I take it I’ll need to install GDK for that? I don’t have it set up yet, as I just edited the commit above here in the web UI.

Vastaa viestiin sen kontekstissa (Gitlab)

Fix ”an one time” typo

18. helmikuuta 2021 klo 13.37
Sijainti: Vianhallintajärjestelmät: kieli

This fixes a typo in the 2FA settings: ”an one time” -> ”a one time”

Vastaa viestiin sen kontekstissa (kieli)

All right, looks like this is VSCode issue #37762 (and MD5 usage is #99760).

2. joulukuuta 2020 klo 18.14
Sijainti: Vianhallintajärjestelmät: Gitlab
Avainsanat: VSCode

All right, looks like this is VSCode issue #37762 (and MD5 usage is #99760).

Vastaa viestiin sen kontekstissa (Gitlab)

.desktop files’ checksums mismatch in deb package

2. joulukuuta 2020 klo 15.14
Sijainti: Vianhallintajärjestelmät: Gitlab

$ md5sum --quiet -c /var/lib/dpkg/info/codium.md5sums
usr/share/applications/codium-url-handler.desktop: FAILED
usr/share/applications/codium.desktop: FAILED
md5sum: WARNING: 2 computed checksums did NOT match

$ apt-cache policy codium
codium:
  Installed: 1.51.1-1605141118
  Candidate: 1.51.1-1605141118
  Version table:
 *** 1.51.1-1605141118 500
        500 https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium/main amd64 Packages
        100 /var/lib/dpkg/status

Vastaa viestiin sen kontekstissa (Gitlab)

”Gitlab has completely removed” should be ”Git-annex support has been completely removed” (owtte)

29. lokakuuta 2019 klo 18.12
Sijainti: Vianhallintajärjestelmät: Gitlab

The git-annex page has a removal warning at the top (introduced here). It currently says ”Warning: GitLab has completely removed in GitLab 9.0 (2017/03/22).”

My guess is it’s actually supposed to say ”Git annex support has been completely removed in GitLab 9.0 (2017/03/22).”

Vastaa viestiin sen kontekstissa (Gitlab)

Why isn’t adding the ’git’ user to the ’redis’ group enough to give it access the socket?

22. huhtikuuta 2018 klo 17.36
Sijainti: Vianhallintajärjestelmät: Gitlab

If the services run under the ’git’ user, why is it that adding the ’git’ user to the ’redis’ group (with access to the socket) isn’t enough to give it access to the socket? Sorry if this is a dumb question.

Vastaa viestiin sen kontekstissa (Gitlab)

Set DirectoryIndex disabled for the Gitlab directory to fix 404

13. syyskuuta 2017 klo 17.40
Sijainti: Vianhallintajärjestelmät: Gitlab
Avainsanat: Apache

With Gitlab 9.5.4-ce.0 and Apache 2.4.18, I had to set `DirectoryIndex disabled` for the Gitlab directory (in the vhost configuration) to fix this when using RewriteRules. (I’ve now switched to using ProxyPass instead.)

Vastaa viestiin sen kontekstissa (Gitlab)