Forum archive
Gitlab Updte Problem
Helo!!
i have problems whit updates.... in var\logs\messages i can see this:
May 18 06:46:51 gitlab cron-apt: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.gitlab.com/gitlab/gitlab-ce/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F01618A51312F3F
May 18 06:46:51 gitlab cron-apt: W: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/debian/dists/stretch/InRele... The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F01618A51312F3F
May 18 06:46:51 gitlab cron-apt: W: Some index files failed to download. They have been ignored, or old ones used instead.
Any solution? Thanx
GitLab have rotated their keys. So you'll need to update the GitLab package signing key. Exactly how you do that depends on how you have the GitLab omnibus repo configured. To find out, run this:
If you get a line like this (i.e. our "best practice" config which includes the specific keyring file in a '[signed-by=...]' bit):
Then update the key like this:
Alternatively, if you get a shorter line (without the '[signed-by=...]' bit) like this:
Then update the key like this (i.e. without specifying a specific keyring file, as per what GitLab notes):
Regardless which way you need to do it, you can check that it worked by running this:
If you still see the error message, please post the full output of that, as well as the relevant line that the grep command at the top of this post gives.