I’m running frappe/erpnext in my vps which have 1 core and 1GB ram. The system running extremly smooth and fast before, however recently I face a strange thing, after running bench update command, it stucks on building frappe assets, and at the same time the cpu will be overloaded and you can’t connect through the vps. I need to manually restart the vps, but since the assets are not build completely, some UI features are failed.
yarn install v1.13.0
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.85s.
Backing up sites...
Patching sites...
Migrating site1.local
Updating DocTypes for frappe : [========================================]
Updating DocTypes for erpnext : [========================================]
yarn run v1.13.0
$ FRAPPE_ENV=production node rollup/build.js
Production mode
✔ Built js/moment-bundle.min.js
✔ Built js/libs.min.js
Building frappe assets...
I also tried to only rebuild the css/js by using bench update --build, it will stuck on same place.
yarn run v1.13.0
$ FRAPPE_ENV=production node rollup/build.js
Production mode
✔ Built js/moment-bundle.min.js
✔ Built js/libs.min.js
Building frappe assets...
Is there anything I can do to rebuild css/js file?