Reconfigure and upgrade failed

the upgrade process fails as last git lab reconfigured failed and still reconfigure fail. looking in monitoring health check I found:
Migrations are pending. To resolve this issue, run: bin/rails db:migrate RAILS_ENV=production You have 18 pending migrations: 20211130165043_backfill_sequence_column_for_sprints_table.rb 20211130201100_track_deletions_in_namespaces.rb 20211130201101_track_deletions_in_projects.rb 20211201101541_drop_clusters_applications_runners_ci_runners_fk.rb 20211202145237_add_todos_project_and_id_index.rb 20211203091642_add_index_to_projects_on_marked_for_deletion_at.rb 20211206073851_create_calendar_events_index_synchronously.rb 20211206074547_remove_old_calendar_events_index.rb 20211207090503_cleanup_first_mentioned_in_commit_jobs.rb 20211208171402_reschedule_recalculate_vulnerability_finding_signatures_for_findings.rb 20211209093636_track_ci_job_artifacts_deletes.rb 20211209093828_track_users_deletes.rb 20211209093923_track_external_pull_requests_deletes.rb 20211209094222_track_merge_requests_deletes.rb 20211210173137_remove_vulnerability_finding_links_again.rb 20211213064821_add_agent_id_location_index_to_vulnerability_occurrences.rb 20211213102111_drop_ci_pipelines_mr_metrics_fk.rb 20211215090620_schedule_update_timelogs_null_spent_at.rb