</>CodeWithKarani
All of ERPNext & Frappe
ERPNext & Frappe

Troubleshooting

The errors, the failed migrations and the 2am fixes.

12 articles

Business of Software9 min read

Why Fixed-Price ERP Implementations Fail, and What to Sell Instead

A fixed price is a bet that requirements are knowable before you touch the client's data. Six mechanisms that break ERP budgets, the incentive inversion nobody talks about, and five contract models that survive real projects.

Read
Frappe/ERPNext8 min read

Why ERPNext Rounds Your Invoice Amounts Wrong, and the Precision Settings That Fix It

ERPNext rounding bugs are one root cause wearing many hats: fieldtype, Currency vs Float Precision, and per-field overrides across three layers. Here is the map.

Read
Frappe/ERPNext7 min read

Frappe Socket.IO Not Working in Production: Diagnose Before You Reinstall

Realtime updates dead in production? Do not run the blind bench setup reinstall ritual. It is almost always one thing: nginx, supervisor, or a firewalled port.

Read
Frappe/ERPNext6 min read

MariaDB Won't Start After a Frappe Install: unknown variable 'innodb-file-format=barracuda'

The Frappe install docs still write innodb-file-format=barracuda into my.cnf, but MariaDB 10.3.1 removed that variable. Here is why mysqld refuses to start and the exact lines to delete.

Read
Frappe/ERPNext5 min read

MariaDB Not Configured for Barracuda: the Fix Depends on Your Version

Frappe's Barracuda error suggests a my.cnf block that crashes MariaDB 10.3+ because the variable was removed. Here is the version-correct config and how to recover.

Read
Frappe/ERPNext7 min read

cannot import name 'Table' from 'frappe.query_builder': Use DocType

The frappe.query_builder rewrite around pypika dropped Table with no shim. Here is the correct import, the root cause, and version-tolerant code that survives upgrades.

Read
ERPNext Doctrine3 min read

ERPNext in Production: Why Systems Become Slow, Unreliable, and Hard to Trust - and How UPEOSight Fixes It

ERPNext is a powerful system.Many businesses rely on it every single day to run accounting, inventory, HR, payroll, sales, manufacturing, and integrations. Yet there is a reality most ERPNext users…

Read
Engineering Craft1 min read

How to solve the Integrity Error(1062) issue when installing a frappe app

If you've ever encountered the frustrating "module integrity issue" while installing a Frappe app, you're not alone. This error can often be a roadblock to getting your app up and running.…

Read
Frappe/ERPNext1 min read

Effective Error Reporting in Frappe Framework and ERPNext Development

Error reporting is a fundamental aspect of the development process when working with the Frappe Framework and ERPNext. As a developer, encountering errors is not a matter of "if" but "when." How you…

Read
Technology1 min read

ERPNext Installation Issue - ERROR: There was a problem while creating karani

When installing ERPNext, you may run into an issue that displays the message: ERROR: There was a problem while creating karani This error message is then followed by the following message: Do you…

Read
Frappe/ERPNext1 min read

ERPNext Error After Install - 127.0.0.1 does not exist

Sometimes, even after a successful installation of ERPNext, the instance won't load on the browser. The instance starts well on the terminal but on accessing the browser, you get a message that the…

Read
Technology1 min read

Fixtures and Custom Fields in Frappe and ERPNext

Fixtures in ERPNext and the Frappe Framework is a tool to help export Data and Settings. When you need to have data migrated to your custom apps, fixtures will come in handy to help you achieve this.…

Read