Migrating from 8.17 to 9.0 with MySQL

Hi everyone,

I’m trying to migrate a GitLab server running version 8.17 to 9.0 installed from source using a MySQL database. I’m following this guide:

[8.17 to 9.0 Community Edition] (https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/8.17-to-9.0.md)

I’ve completed the following tasks:

MySQL installations: Run through the MySQL strings limits and Tables and data conversion to utf8mb4 tasks.

But when I try to run the database migration command bundle exec rake db:migrate RAILS_ENV=production, or bundle exec rake add_limits_mysql RAILS_ENV=production I get the following error:

** Invoke environment (first_time)
** Execute environment
D, [2017-05-04T19:01:30.661314 #19927] DEBUG -- sentry: ** [Raven] (<unknown>): found character that cannot start any token while scanning for the next token at line 473 column 1 excluded from capture due to environment or should_capture callback
rake aborted!
Psych::SyntaxError: (<unknown>): found character that cannot start any token while scanning for the next token at line 473 column 1
/usr/share/ruby/vendor_ruby/2.3/psych.rb:376:in `parse'
/usr/share/ruby/vendor_ruby/2.3/psych.rb:376:in `parse_stream'
/usr/share/ruby/vendor_ruby/2.3/psych.rb:324:in `parse'
/usr/share/ruby/vendor_ruby/2.3/psych.rb:251:in `load'

I’m not using the Omnibus packages, so it should be supported.

Thanks in advance for your help!

It’s fixed, there was a typo in the gitlab.yml file.