Cannot install gitlab-ee on Ubuntu: Problem with public attributes

Does the issue has been solved in 2022? I am still facing the same issue

It looks like there was a problem with public attributes; run gitlab-ctl reconfigure manually to fix.
dpkg: error processing package gitlab-ee (–configure):
installed gitlab-ee package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
gitlab-ee
E: Sub-process /usr/bin/dpkg returned an error code (1)

@DulalSandip you should have opened a new post instead of posting in an existing one that was solved since your error is completely different to the original thread.

@iwalker Thanks, I have split the original topic and moved this question into a new topic here.

@DulalSandip Please provide more details on how you attempted to install GitLab, including

  1. Ubuntu version
  2. GitLab package repository configuration
  3. Installation steps to reproduce (CLI commands)
  4. Full error logs (please follow Community, first steps: Code, config, log block formatting in topics and replies)

I follow the gitlab documentation for installation and my ubuntu version is 20.

Gitlab Documentation : Download and install GitLab | GitLab

My error:

Setting up gitlab-ee (15.7.5-ee.0) …
It looks like there was a problem with public attributes; run gitlab-ctl reconfigure manually to fix.
dpkg: error processing package gitlab-ee (–configure):
installed gitlab-ee package post-installation script subprocess returned error exit status 1
Processing triggers for dbus (1.12.2-1ubuntu1.4) …
Processing triggers for mime-support (3.60ubuntu1) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Errors were encountered while processing:
gitlab-ee
E: Sub-process /usr/bin/dpkg returned an error code (1)