GitLab -ctl reconfigure getting aborted after migration from 8.0.4 to 11.7.3

Hi
We are updating gitlab from 8.0.4 to 11.7.3 inside the docker container, below are the steps i have followed
1)In the current gitlab container(gitlab-8.0.4), i have updated to gitlab-8.17.7 version, update to gitlab-8.17.7 was successful
2)Then i have updated postgres using command git-ctl PG-UPGRADE, since it was gitlab-8.0.4 was running on postgres 9.2, i was able to upgrade postgres 9.6 version
3)Finally i have created an new docker image by installing gitlab-11.7.3 and create a new container and attached the existing volume to new container(gitlab-11.7.3)
On the first run gitlab-reconfigure failed
Below is error thrown

Removals:

mattermost[‘email_password_reset_salt’] has been deprecated since 10.2 and was removed in 11.0.

Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb

RuntimeError
Removed configurations found in gitlab.rb. Aborting reconfigure.

Cookbook Trace:
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/omnibus_helper.rb:113:in check_deprecations’ /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:28:infrom_file’
Again after rerunning gitlab-ctl reconfigure it was working fine.
what changes need to be incorporated in gitlab.rb file to make it successful in first run?

Thanks
Saikrishna