Gitlab: Difference between revisions

m As of the newer stable version (25.11) it appears that activeRecordPrimaryKeyFile, activeRecordDeterministicKeyFile, activeRecordSaltFile need to be declared.
m Correcting the owner + group here to match gitlab runner.
 
Line 11: Line 11:
sudo sh -c 'openssl rand -hex 32 > /var/lib/gitlab/secrets/activeRecordDeterministicKey'
sudo sh -c 'openssl rand -hex 32 > /var/lib/gitlab/secrets/activeRecordDeterministicKey'
sudo sh -c 'openssl rand -hex 32 > /var/lib/gitlab/secrets/activeRecordSalt'
sudo sh -c 'openssl rand -hex 32 > /var/lib/gitlab/secrets/activeRecordSalt'
sudo chown -R gitlab:gitlab /var/lib/gitlab/secrets
sudo chmod 700 /var/lib/gitlab/secrets
sudo chmod 0600 /var/lib/gitlab/secrets/*
sudo chmod 0600 /var/lib/gitlab/secrets/*
</syntaxhighlight>
</syntaxhighlight>