Problem upgrading from 15.7.2 to 15.8

Hi.
I just tried to update from 15.7.2 to latest 15.8 because of the security update.
I simply logged in via ssh as root and dnf update

What I get is:

Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                              1/1 
  Running scriptlet: gitlab-ce-15.8.0-ce.0.el8.x86_64                                                                                                                             1/2 
gitlab preinstall: Checking for unmigrated data on legacy storage
gitlab preinstall: 
gitlab preinstall: Upgrade failed. Could not check for unmigrated data on legacy storage.
gitlab preinstall: 
gitlab preinstall: rake aborted!
SyntaxError: /opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/lockbox-0.6.2/lib/lockbox/aes_gcm.rb:1: `$' is not allowed as a global variable name
$mmoLD;%g?wŷ...
^~
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb:15:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:9:in `require'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:9:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
gitlab preinstall: 
gitlab preinstall: If you want to skip this check, run the following command and try again:
gitlab preinstall: 
gitlab preinstall:  sudo touch /etc/gitlab/skip-unmigrated-data-check
gitlab preinstall: 
error: %prein(gitlab-ce-15.8.0-ce.0.el8.x86_64) scriptlet failed, exit status 1

Error in PREIN scriptlet in rpm package gitlab-ce
  Verifying        : gitlab-ce-15.8.0-ce.0.el8.x86_64                                                                                                                             1/2 
  Verifying        : gitlab-ce-15.7.2-ce.0.el8.x86_64                                                                                                                             2/2 

Failed:
  gitlab-ce-15.7.2-ce.0.el8.x86_64                                                          gitlab-ce-15.8.0-ce.0.el8.x86_64                                                         

Error: Transaction failed

I found a “solution” on stackoverflow sudo gitlab-rake gitlab:storage:migrate_to_hashed
but that didn`t help or work.

Any ideas what to do?