Frappe/ERPNext v15: 500 Internal Server Error After Installing HRMS, LMS, Education Apps

ERPNext Version: 15.92.2, Frappe 15.92.0
Apps Installed: HRMS (develop), LMS (v2.43.0), Education (v15.5.3)
Issue: Persistent 500 Internal Server Error after successful app installation, builds, and migrations. Console loads all apps cleanly but site inaccessible.

Installation Log Summary

text

bench get-app https://github.com/frappe/hrms bench get-app https://github.com/frappe/lms bench get-app https://github.com/frappe/education # Version warnings during install: Installed frappe-dependency frappe version 15.92.0 does not satisfy required version 16.0.0-dev,17.0.0 Installed frappe-dependency erpnext version 15.92.2 does not satisfy required version 16.0.0-dev,17.0.0

Apps cloned/built successfully (HRMS: 65MB, LMS: 93MB), yarn installs completed despite peer dependency warnings (tiptap, vite-plugin-pwa, workbox deprecations), assets built, translations compiled.​

text

Apps in this namespace: frappe, erpnext, hrms, lms, education

Post-Install Behavior

text

curl http://0.0.0.0:8000 → "Internal Server Error" bench --site [site] console → Loads all 5 apps cleanly, no import errors

Troubleshooting Attempts

  1. Console patch execution failed:
text

frappe.utils.patches.execute_all() → AttributeError: module 'frappe.utils' has no attribute 'patches'

  1. Standard migration/restart sequence:
text

bench --site [site] migrate bench build bench restart

Migration runs but 500 persists. No detailed error logs in provided output.

Environment

  • Docker container (frappe@d7c48dc58094)

  • Site: Fresh install on ERPNext v15.9x

  • All apps import successfully in console

Similar Issues Found

  • HRMS v16-dev breaks v15 installs​

  • 500 errors post-app install require app removal from apps.txt​

  • Docker HRMS breaks ERPNext login​

  • Version mismatch causes runtime failures​

Has anyone resolved v15 + HRMS/LMS/Education 500 errors? Tried version-15 branches? Migration skips? Log locations for detailed traces?

Current bench version output:

text

frappe 15.92.0 erpnext 15.92.2 hrms [develop] lms v2.43.0 education v15.5.3

For docker, bench get-app does not work (immutable image and non-persistent volume)

Inside docker if you want to use bench commands (most of them at least) you can use https://github.com/rtCamp/Frappe-Manager

Otherwise if you want to learn the docker way use easy-install.py at Creating new custom app in the dockerized instance is not possible · Issue #1640 · frappe/frappe_docker · GitHub

In addition to what @asieftejani mentioned.

Try installing HRMS v15 (for example: v15.54.0).

What you are facing is a mixed environment of v15 and v16 which is not an ideal setup.

Just stick to v15 for all Apps or v16 for all apps.