I was trying to import v13 into v14 productions. everything was good but after importing the database when i run bench --site [sitename] migrate it get stuck at following step no error or anything else. Executing erpnext.patches.v14_0.migrate_remarks_from_gl_to_payment_ledger in demo (_3cbf127f0870293e)
i tried bench update --reset but stuck at the same step it get stuck.
my server has 8gb of ram and waited for more than an hour but no luck …
the database i am trying to import contains only customers and items very small amount of data, dont know why it taking too much time. have you tried importing a database in v14.
Open the file on your server and make changes on line 62-66 as shown below.
if pl_entries:
print(f"Total runs required: {len(pl_entries)/1000} ")
i = 0
# split into multiple batches, update and commit for each batch
batch_size = 1000
for batch in create_batch(pl_entries, batch_size):
i += 1
print(f"Current run: {i}")
for entry in batch:
Try migrating now, it should show the count on screen.