Since the update to ERPNext v9, when running “bench update” or “bench migrate”, on “Syncing help database”, we receive a lot of errors like
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/pos_settings/__init__.pyc.139649993262496'
There is no such *.pyc.13964… file (and I think there shouldn’t be). Nothing bad seems to happen, but the errors still indicate something going wrong…
Any ideas?
have you found any solutions?
Goto the path erpnext/accounts/pos_settings
and paste output of ls -l
No, still the same (ERPNext: v9.1.4 (master), Frappe Framework: v9.1.7 (master))
Syncing help database...
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/pos_settings/__init__.pyc.3030553208'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/pos_settings/pos_settings.pyc.3031969016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/pos_settings/test_pos_settings.pyc.3030553208'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/subscription/__init__.pyc.3026937376'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/subscription/subscription.pyc.3031059224'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/doctype/subscription/test_subscription.pyc.3028387360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/accounts/print_format/gst_pos_invoice/__init__.pyc.3027105192'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/assets/img/healthcare/__init__.pyc.3025505024'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/en/healthcare/__init__.pyc.3036388528'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/en/healthcare/setup/__init__.pyc.3034443808'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/en/schools/Attendance/__init__.pyc.3025624264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/en/subscription/__init__.pyc.3036388528'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/Assessment/__init__.pyc.3028718296'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/admission/__init__.pyc.3030367216'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/fees/__init__.pyc.3030584088'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/schedule/__init__.pyc.3026706400'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/setup/__init__.pyc.3028718296'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/docs/user/manual/es/schools/student/__init__.pyc.3030513352'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/__init__.pyc.3036968648'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/__init__.pyc.3032413128'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/antibiotic/__init__.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/antibiotic/antibiotic.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/antibiotic/test_antibiotic.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/appointment_type/__init__.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/appointment_type/appointment_type.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/appointment_type/test_appointment_type.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/codification_table/__init__.pyc.3031934712'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/codification_table/codification_table.pyc.3031934712'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/complaint/__init__.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/complaint/complaint.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/complaint/test_complaint.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/consultation/__init__.pyc.3025624264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/consultation/consultation.pyc.3030642464'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/consultation/consultation_dashboard.pyc.3025624264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/consultation/test_consultation.pyc.3025624264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/diagnosis/__init__.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/diagnosis/diagnosis.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/diagnosis/test_diagnosis.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/dosage_form/__init__.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/dosage_form/dosage_form.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/dosage_form/test_dosage_form.pyc.3031257744'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/dosage_strength/__init__.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/dosage_strength/dosage_strength.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/drug_prescription/__init__.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/drug_prescription/drug_prescription.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/fee_validity/__init__.pyc.3036404264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/fee_validity/fee_validity.pyc.3036404264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/fee_validity/test_fee_validity.pyc.3025624264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/healthcare.pyc.3029156208'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/healthcare_settings/__init__.pyc.3030010672'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/healthcare_settings/healthcare_settings.pyc.3031647176'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_prescription/__init__.pyc.3034443808'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_prescription/lab_prescription.pyc.3034443808'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test/__init__.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test/lab_test.pyc.3029055104'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test/test_lab_test.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_groups/__init__.pyc.3036404264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_groups/lab_test_groups.pyc.3036404264'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_sample/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_sample/lab_test_sample.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_sample/test_lab_test_sample.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_template/__init__.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_template/lab_test_template.pyc.3030555248'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_template/test_lab_test_template.pyc.3035395016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_uom/__init__.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_uom/lab_test_uom.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/lab_test_uom/test_lab_test_uom.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_code/__init__.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_code/medical_code.pyc.3035395016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_code/test_medical_code.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_code_standard/__init__.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_code_standard/medical_code_standard.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_code_standard/test_medical_code_standard.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_department/__init__.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_department/medical_department.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/medical_department/test_medical_department.pyc.3026335360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/normal_test_items/__init__.pyc.3032413128'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/normal_test_items/normal_test_items.pyc.3032413128'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/normal_test_template/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/normal_test_template/normal_test_template.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient/__init__.pyc.3035395016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient/patient.pyc.3029336360'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient/patient_dashboard.pyc.3034446232'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient/test_patient.pyc.3034446232'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_appointment/__init__.pyc.3035395016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_appointment/patient_appointment.pyc.3031259016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_appointment/patient_appointment_dashboard.pyc.3035395016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_appointment/test_patient_appointment.pyc.3035395016'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_medical_record/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_medical_record/patient_medical_record.pyc.3030010672'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_medical_record/test_patient_medical_record.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_relation/__init__.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/patient_relation/patient_relation.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician/physician.pyc.3030416848'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician/test_physician.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician_schedule/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician_schedule/physician_schedule.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician_schedule/test_physician_schedule.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician_schedule_time_slot/__init__.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/physician_schedule_time_slot/physician_schedule_time_slot.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/prescription_dosage/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/prescription_dosage/prescription_dosage.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/prescription_dosage/test_prescription_dosage.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/prescription_duration/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/prescription_duration/prescription_duration.pyc.3030132304'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/prescription_duration/test_prescription_duration.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sample_collection/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sample_collection/sample_collection.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sample_collection/test_sample_collection.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sensitivity/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sensitivity/sensitivity.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sensitivity/test_sensitivity.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sensitivity_test_items/__init__.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/sensitivity_test_items/sensitivity_test_items.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/special_test_items/__init__.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/special_test_items/special_test_items.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/special_test_template/__init__.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/special_test_template/special_test_template.pyc.3025888416'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/vital_signs/__init__.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/vital_signs/test_vital_signs.pyc.3030802968'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/doctype/vital_signs/vital_signs.pyc.3030079776'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/page/__init__.pyc.3029337080'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/page/appointment_analytic/__init__.pyc.3026702656'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/page/medical_record/__init__.pyc.3026706184'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/page/medical_record/medical_record.pyc.3034447792'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/print_format/__init__.pyc.3030585240'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/print_format/consultation_print/__init__.pyc.3026702656'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/print_format/lab_test_print/__init__.pyc.3026702656'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/print_format/sample_id_print/__init__.pyc.3026702656'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/report/__init__.pyc.3030553208'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/report/lab_test_report/__init__.pyc.3026702656'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/report/lab_test_report/lab_test_report.pyc.3028387864'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/__init__.pyc.3030011152'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/lab_test/__init__.pyc.3029057168'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/lab_test/lab_test.pyc.3025764104'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/patient_appointments/__init__.pyc.3029057168'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/patient_appointments/patient_appointments.pyc.3025764104'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/prescription/__init__.pyc.3029057168'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/healthcare/web_form/prescription/prescription.pyc.3025764104'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/hr/email_alert/__init__.pyc.3030367216'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/hr/email_alert/training_feedback/__init__.pyc.3034184640'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/hr/email_alert/training_feedback/training_feedback.pyc.3034184640'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/hr/email_alert/training_scheduled/__init__.pyc.3034184640'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/hr/email_alert/training_scheduled/training_scheduled.pyc.3034184640'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/manufacturing/doctype/bom_update_tool/__init__.pyc.3035167344'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/manufacturing/doctype/bom_update_tool/bom_update_tool.pyc.3036388840'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/manufacturing/doctype/bom_update_tool/test_bom_update_tool.pyc.3030007984'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_8/__init__.pyc.3026336272'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_8/add_new_fields_in_accounts_settings.pyc.3026336272'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_8/set_bom_rate_as_per_uom.pyc.3026336272'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/__init__.pyc.3029056568'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/add_setup_progress_actions.pyc.3028386544'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/delete_gst_doctypes_for_outside_india_accounts.pyc.3029056568'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/remove_employee_from_salary_structure_parent.pyc.3029056568'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/rename_company_sales_target_field.pyc.3032412840'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/set_default_customer_group.pyc.3029056568'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/set_default_fields_in_variant_settings.pyc.3030007984'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/set_print_zero_amount_taxes.pyc.3036945584'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v8_9/update_billing_gstin_for_indian_account.pyc.3030079776'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v9_0/__init__.pyc.3025505024'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v9_0/add_healthcare_domain.pyc.3032415168'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v9_0/fix_subscription_next_date.pyc.3029056568'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/patches/v9_0/remove_subscription_module.pyc.3032413392'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule/__init__.pyc.3030514624'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule/fee_schedule.pyc.3031672760'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule/test_fee_schedule.pyc.3030514624'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule_program/__init__.pyc.3035167344'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule_program/fee_schedule_program.pyc.3035167344'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule_student_group/__init__.pyc.3035167344'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/schools/doctype/fee_schedule_student_group/fee_schedule_student_group.pyc.3035167344'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/selling/page/point_of_sale/__init__.pyc.3030513520'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/selling/page/point_of_sale/point_of_sale.pyc.3035747176'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/setup/doctype/setup_progress/__init__.pyc.3030079776'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/setup/doctype/setup_progress/setup_progress.pyc.3028721176'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/setup/doctype/setup_progress/test_setup_progress.pyc.3030079776'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/setup/doctype/setup_progress_action/__init__.pyc.3030132304'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/setup/doctype/setup_progress_action/setup_progress_action.pyc.3030132304'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/stock/doctype/item_variant_settings/__init__.pyc.3028386616'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/stock/doctype/item_variant_settings/item_variant_settings.pyc.3026566848'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/stock/doctype/item_variant_settings/test_item_variant_settings.pyc.3028386616'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/stock/doctype/variant_field/__init__.pyc.3031935432'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/stock/doctype/variant_field/test_variant_field.pyc.3031935432'
Sorry [Errno 13] Permission denied: '../apps/erpnext/erpnext/stock/doctype/variant_field/variant_field.pyc.3031935432'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/integrations/doctype/webhook/test_webhook.pyc.3026644960'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/integrations/doctype/webhook/webhook.pyc.3030582072'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/integrations/doctype/webhook_data/__init__.pyc.3026333872'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/integrations/doctype/webhook_data/webhook_data.pyc.3026333872'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/integrations/doctype/webhook_header/__init__.pyc.3026333872'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/integrations/doctype/webhook_header/webhook_header.pyc.3026333872'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/patches/v8_10/__init__.pyc.3029408056'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/patches/v8_10/delete_static_web_page_from_global_search.pyc.3026334280'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/doctype/print_style/__init__.pyc.3035749240'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/doctype/print_style/print_style.pyc.3036388552'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/doctype/print_style/test_print_style.pyc.3035749240'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/print_style/__init__.pyc.3026705896'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/print_style/classic/__init__.pyc.3029054576'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/print_style/modern/__init__.pyc.3029054576'
Sorry [Errno 13] Permission denied: '../apps/frappe/frappe/printing/print_style/monochrome/__init__.pyc.3029054576'
We observe it on all machines, noone else with this error messages?
Sample content:
/home/frappe/frappe-bench/apps/frappe/frappe/printing/print_style/monochrome$ ls -l
total 4
-rw-r--r-- 1 frappe frappe 0 Oct 13 22:09 __init__.py
-rw-r--r-- 1 frappe frappe 1000 Oct 13 22:09 monochrome.json
The numbered file does not exist…
I am not suffering from this strange issue but I would follow this basic process to try and fix it. Sorry if you have already done all of this.
Update your server OS with sudo yum update or sudo apt-get update
restart your OS
then from frappe-bench folder
./env/bin/pip install --upgrade pip
bench clear-cache
bench clear-website-cache
sudo service nginx restart
sudo supervisorctl restart all
This process should remove lots of possible causes.
2 Likes
If the above doesn’t fix things then I would try and fix file/folder permissions with appropriate linux command. Then sudo rm any logs/caches. Let us know how you go.
Seems like some *.pyc were owned by another user than frappe.
Running
chown -R frappe:frappe *
from the frappe-bench root resolved the issue.
11 Likes