I have run gitlab directly on my Arch Linux host for some years now and during yesterdays upgrade to gitlab 11.4.3 with gitlab-shell 8.4.1 I encountered an error during update and creation of the authorized_keys file.
When adding an ssh key in the web interface, gitlab-sidekiq logs this error: https://gist.github.com/Araeos/38732ec77e52d20e3ec271118f618688
And when trying to regenerate the authorized_keys files using the rake task “gitlab:shell:setup” I encountered this similar error: https://gist.github.com/Araeos/29f8fce74d3b8f5fcfafedf16fcc2d73
Needless to say, I cannot authenticate using ssh.
Both errors say something along the lines of “undefined method `authorized_keys_enabled’ for ApplicationSetting instance”.
I presume there is a missing configuration entry or maybe there really is a method missing as I have practically zero experience with ruby and gitlab’s source code.
Any help is appreciated.