ERPNext version-15 Fails on dockerized setup due to new update v16 patch

Hello all,
i’m running a docker environment for frappe erpnext with few of my custom apps.
i had used easy-script to run erpnext which generated the compose.yml and .env and passwords.txt file for the project.

Now recently i have added a new custom-app to the project
and used easy-script for building the project with custom-app image
and my apps.json has 3-4 apps,
with erpnext branch as version-15 in the apps.json

image

python easy-script.py build --app erpnext --site <sitename> --tag <tagname> -j apps.json -e <email> .....

Earlier this used to work

But to my notice is that somehow, version-15 is updated and now after the build, its throwing this error:
pymysql.err.OperationalError: (1054, "Unknown column 'tabInstalled Application.has_setup_wizard' in 'where clause'")

Can somebody help on this ?? Any help is appreciated
Thankyou so much!

1 Like

When i run bench migrate in backend container


its stuck on this patch update

This is the patch on github update which runs:
Patch v16_0

I had the same problem, after updating my custom app, building a new image and pulling it onto my production docker instance I tried to migrate. Like in your picture above it got stuck for me too.

However, after aborting and restarting the migration process multiple times, I then let it run for a few minutes and surprisingly it went through.

So try to just let it run and sit there for 5-10 minutes, that fixed it for me.

Hello sir
thanks for the update
i’ll try it out and update it here
problem is, if i SSH into the system, it automatically disconnects after some idle time
so dont know yet

anyways thanks for this
i’ll check it

1 Like

Hello sir
i think, they have fixed this solution for new update
so now its working for new builds with custom-app on docker
Thankyou

2 Likes