New Site Migration from v12 to v13 Failed on Frappe Cloud

I’m trying to update ERPNext from v12.20.0 to v13.3.1 on Frappe Cloud infrastructure

As per instructions from FCloud support, I took a backup of my current site and created a new v13 site from that backup. But the installation fails on Migrate Site job.

Here is the log from the job:
Migrating innomalousv13.frappe.cloud
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘doctype_action’, force=True) #2019-09-23 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.585s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘doctype_link’, force=True) #2020-10-17 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.538s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘document_naming_rule’, force=True) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.603s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘module_def’) #2020-08-28 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.733s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘has_role’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.081s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘server_script’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.808s
Executing frappe.patches.v13_0.rename_custom_client_script in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 5.015s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘report_column’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.466s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘report_filter’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.415s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘report’) #2020-08-25 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.627s
Executing frappe.patches.v12_0.change_existing_dashboard_chart_filters in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.161s
Executing execute:frappe.delete_doc(“Test Runner”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.072s
Executing execute:frappe.db.set_default(‘desktop:home_page’, ‘workspace’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.201s
Executing frappe.patches.v13_0.website_theme_custom_scss in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.313s
Executing frappe.patches.v13_0.make_user_type in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.065s
Executing frappe.patches.v13_0.set_existing_dashboard_charts_as_public in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.927s
Executing frappe.patches.v13_0.set_path_for_homepage_in_web_page_view in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.422s
Executing frappe.patches.v13_0.migrate_translation_column_data in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.486s
Executing frappe.patches.v13_0.set_read_times in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.747s
Executing frappe.patches.v13_0.remove_web_view in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.126s
Executing frappe.patches.v13_0.site_wise_logging in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.084s
Executing frappe.patches.v13_0.set_unique_for_page_view in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.311s
Executing frappe.patches.v13_0.remove_tailwind_from_page_builder in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.469s
Executing frappe.patches.v13_0.rename_onboarding in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.084s
Executing frappe.patches.v13_0.email_unsubscribe in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.12s
Executing execute:frappe.delete_doc(“Web Template”, “Section with Left Image”, force=1) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.097s
Executing execute:frappe.delete_doc(“DocType”, “Onboarding Slide”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.084s
Executing execute:frappe.delete_doc(“DocType”, “Onboarding Slide Field”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.101s
Executing execute:frappe.delete_doc(“DocType”, “Onboarding Slide Help Link”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.08s
Executing frappe.patches.v13_0.update_date_filters_in_user_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.108s
Executing frappe.patches.v13_0.update_duration_options in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.87s
Executing frappe.patches.v13_0.replace_old_data_import # 2020-06-24 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.179s
Executing frappe.patches.v13_0.create_custom_dashboards_cards_and_charts in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.095s
Executing frappe.patches.v13_0.rename_is_custom_field_in_dashboard_chart in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.121s
Executing frappe.patches.v13_0.add_standard_navbar_items # 2020-12-15 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.887s
Executing frappe.patches.v13_0.generate_theme_files_in_public_folder in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 3.106s
Executing frappe.patches.v13_0.increase_password_length in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.4s
Executing frappe.patches.v13_0.add_toggle_width_in_navbar_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.091s
Executing frappe.patches.v13_0.rename_notification_fields in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.548s
Executing frappe.patches.v13_0.remove_duplicate_navbar_items in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.093s
Executing frappe.patches.v13_0.set_social_icons in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.15s
Executing frappe.patches.v12_0.set_default_password_reset_limit in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.919s
Executing execute:frappe.reload_doc(‘core’, ‘doctype’, ‘doctype’, force=True) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.404s
Executing frappe.patches.v13_0.set_route_for_blog_category in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.239s
Executing frappe.patches.v13_0.enable_custom_script in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.08s
Executing frappe.patches.v13_0.update_newsletter_content_type in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.558s
Executing execute:frappe.db.set_value(‘Website Settings’, ‘Website Settings’, {‘navbar_template’: ‘Standard Navbar’, ‘footer_template’: ‘Standard Footer’}) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.121s
Executing frappe.patches.v13_0.delete_event_producer_and_consumer_keys in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.077s
Executing frappe.patches.v13_0.web_template_set_module #2020-10-05 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.816s
Executing frappe.patches.v13_0.remove_custom_link in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.093s
Executing execute:frappe.delete_doc(“DocType”, “Footer Item”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.371s
Executing execute:frappe.reload_doctype(‘user’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.285s
Executing execute:frappe.reload_doctype(‘docperm’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.77s
Executing frappe.patches.v13_0.replace_field_target_with_open_in_new_tab in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.525s
Executing frappe.core.doctype.role.patches.v13_set_default_desk_properties in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 5.836s
Executing frappe.patches.v13_0.add_switch_theme_to_navbar_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.181s
Executing frappe.patches.v13_0.update_icons_in_customized_desk_pages in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.086s
Executing execute:frappe.db.set_default(‘desktop:home_page’, ‘space’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.207s
Executing execute:frappe.delete_doc_if_exists(‘Page’, ‘workspace’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.085s
Executing execute:frappe.delete_doc_if_exists(‘Page’, ‘dashboard’, force=1) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.246s
Executing frappe.core.doctype.page.patches.drop_unused_pages in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.3s
Executing execute:frappe.get_doc(‘Role’, ‘Guest’).save() # remove desk access in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.13s
Executing frappe.patches.v13_0.rename_desk_page_to_workspace # 02.02.2021 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.757s
Executing frappe.patches.v13_0.delete_package_publish_tool in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.093s
Executing frappe.patches.v13_0.rename_list_view_setting_to_list_view_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.889s
Executing frappe.patches.v13_0.remove_twilio_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.09s
Executing frappe.patches.v13_0.queryreport_columns in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.161s
Executing erpnext.patches.v12_0.update_is_cancelled_field in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.094s
Executing execute:frappe.reload_doc(“accounts”, “doctype”, “POS Payment Method”) #2020-05-28 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.471s
Executing execute:frappe.reload_doc(“HR”, “doctype”, “HR Settings”) #2020-01-16 #2020-07-24 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.417s
Executing erpnext.patches.v4_2.update_requested_and_ordered_qty #2021-03-31 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.135s
Executing erpnext.patches.v4_2.repost_reserved_qty #2021-03-31 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.832s
Executing execute:frappe.reload_doc(“Payroll”, “doctype”, “salary_slip”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.501s
Executing execute:frappe.delete_doc_if_exists(“Report”, “Loan Repayment”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.339s
Executing erpnext.patches.v12_0.set_automatically_process_deferred_accounting_in_accounts_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.595s
Executing erpnext.patches.v12_0.set_production_capacity_in_workstation in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.997s
Executing erpnext.patches.v12_0.set_employee_preferred_emails in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.235s
Executing erpnext.patches.v12_0.set_against_blanket_order_in_sales_and_purchase_order in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.12s
Executing erpnext.patches.v12_0.set_cost_center_in_child_table_of_expense_claim in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.444s
Executing erpnext.patches.v12_0.add_eway_bill_in_delivery_note in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.025s
Executing erpnext.patches.v12_0.set_lead_title_field in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.198s
Executing erpnext.patches.v12_0.set_published_in_hub_tracked_item in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.647s
Executing erpnext.patches.v12_0.set_job_offer_applicant_email in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.119s
Executing erpnext.patches.v12_0.move_bank_account_swift_number_to_bank in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.16s
Executing erpnext.patches.v12_0.rename_bank_reconciliation in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.093s
Executing erpnext.patches.v12_0.rename_account_type_doctype in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.084s
Executing erpnext.patches.v12_0.update_healthcare_refactored_changes in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 9.324s
Executing erpnext.patches.v12_0.set_total_batch_quantity in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.713s
Executing erpnext.patches.v12_0.set_default_payroll_based_on in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.127s
Executing erpnext.patches.v12_0.fix_quotation_expired_status in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.087s
Executing erpnext.patches.v12_0.update_appointment_reminder_scheduler_entry in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.084s
Executing erpnext.patches.v12_0.rename_pos_closing_doctype in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 3.716s
Executing erpnext.patches.v13_0.replace_pos_payment_mode_table #2020-12-29 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.164s
Executing erpnext.patches.v13_0.patch_to_fix_reverse_linking_in_additional_salary_encashment_and_incentive in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.8s
Executing execute:frappe.rename_doc(“Desk Page”, “Getting Started”, “Home”, force=True) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.098s
Executing erpnext.patches.v12_0.set_valid_till_date_in_supplier_quotation in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.149s
Executing erpnext.patches.v13_0.update_old_loans in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 4.422s
Executing execute:frappe.reload_doctype(‘Dashboard’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.514s
Executing execute:frappe.reload_doc(‘desk’, ‘doctype’, ‘number_card_link’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.315s
Executing execute:frappe.delete_doc_if_exists(‘Dashboard’, ‘Accounts’) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.378s
Executing erpnext.patches.v13_0.update_actual_start_and_end_date_in_wo in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 2.112s
Executing erpnext.patches.v13_0.set_company_field_in_healthcare_doctypes #2021-04-16 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 3.014s
Executing erpnext.patches.v12_0.update_bom_in_so_mr in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.83s
Executing execute:frappe.delete_doc(“Report”, “Department Analytics”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.293s
Executing execute:frappe.rename_doc(“Desk Page”, “Loan Management”, “Loan”, force=True) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.085s
Executing erpnext.patches.v13_0.replace_pos_page_with_point_of_sale_page in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.462s
Executing erpnext.patches.v13_0.delete_old_purchase_reports in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.885s
Executing erpnext.patches.v13_0.update_subscription in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.48s
Executing erpnext.patches.v13_0.update_sla_enhancements in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 1.653s
Executing erpnext.patches.v12_0.update_address_template_for_india in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.093s
Executing erpnext.patches.v13_0.update_deferred_settings in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.76s
Executing erpnext.patches.v13_0.delete_old_sales_reports in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.466s
Executing execute:frappe.delete_doc_if_exists(“DocType”, “Bank Reconciliation”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.3s
Executing erpnext.patches.v13_0.move_doctype_reports_and_notification_from_hr_to_payroll #22-06-2020 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 6.689s
Executing erpnext.patches.v13_0.move_payroll_setting_separately_from_hr_settings #22-06-2020 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.138s/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
/home/frappe/frappe-bench/apps/frappe/frappe/init.py:1176: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
fnargs, varargs, varkw, defaults = inspect.getargspec(fn)
Traceback (most recent call last):
File “/usr/lib/python3.7/runpy.py”, line 193, in _run_module_as_main
main”, mod_spec)
File “/usr/lib/python3.7/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 101, in
main()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/home/frappe/frappe-bench/env/lib/python3.7/site-packages/click/decorators.py”, line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/init.py”, line 27, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py”, line 309, in migrate
skip_search_index=skip_search_index
File “/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py”, line 67, in migrate
frappe.modules.patch_handler.run_all(skip_failing)
File “/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 41, in run_all
run_patch(patch)
File “/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 30, in run_patch
if not run_single(patchmodule = patch):
File “/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 71, in run_single
return execute_patch(patchmodule, method, methodargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 91, in execute_patch
frappe.get_attr(patchmodule.split()[0] + “.execute”)()
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/patches/v13_0/check_is_income_tax_component.py”, line 31, in execute
setup(patch=True)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/regional/india/setup.py”, line 15, in setup
setup_company_independent_fixtures(patch=patch)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/regional/india/setup.py”, line 24, in setup_company_independent_fixtures
add_custom_roles_for_reports()
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/regional/india/setup.py”, line 62, in add_custom_roles_for_reports
dict(role=‘Accounts Manager’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 231, in insert
self._validate_links()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 827, in _validate_links
frappe.LinkValidationError)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 427, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’, is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 406, in msgprint
_raise_exception()
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 360, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.LinkValidationError: Could not find Report: E-Invoice Summary

Executing execute:frappe.reload_doc(“regional”, “doctype”, “e_invoice_settings”) in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)
Success: Done in 0.323s
Executing erpnext.patches.v13_0.check_is_income_tax_component #22-06-2020 in innomalousv13.frappe.cloud (_2e3a2f8543d95e37)

FCloud support thinks it’s an ERPNext Patch problem. Anyone else can help me with this?

Hi. I am facing a similar issue when migrating data on Frappe Cloud from Ver 12 to Ver 13.

@rmehta - Request your kind support as always.