I’m running the ERPNext Virtualbox image (production 20210115115254).
Steps:
- Create new data import with document type = sales invoice, import type = new records
- Import CSV file
- Columns and values are shown correctly in the preview
- Click start import. Start import button disappears
- Status is shown as “Not started” on data import list page.
- Opening the data import record shows the page as before clicking import. Start Import button is available again. Pressing again does the same thing as above.
Below is the output of various commands I’ve tried:
>bench --site site1.local enable-scheduler
Enabled for site1.local
>bench doctor
-----Checking scheduler status-----
Workers online: 3
-----site1.local Jobs-----
>bench --site site1.local trigger-scheduler-event all
>cat frappe.log
...
[DEBUG] 2021-03-30 07:59:51,688 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: site1.local
Queued events for site site1.local
[DEBUG] 2021-03-30 08:00:51,885 | /home/frappe/frappe-bench/apps/frappe/frappe/utils/scheduler.py:
Site: site1.local
Queued events for site site1.local
schedule.log, schedule.error.log, worker.log are all empty
worker.error.log contains:
07:55:43 default: frappe.utils.background_jobs.execute_job(event='data_import', is_async=True, job_name='Sales Invoice Import on 2021-03-30 15:47:11.686710', kwargs={'data_import': 'Sales Invoice Import on 2021-03-30 15:47:11.686710'}, method=<function start_import at 0x7ff1c4c91378>, site='site1.local', user='XXX@XXX') (a8a165dd-193a-4864-ac8a-f98b0047736a)
07:55:44 default: Job OK (a8a165dd-193a-4864-ac8a-f98b0047736a)
07:55:44 Result is kept for 500 seconds