-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Information about bug
Hi everyone,
I’m running ERPNext v16 using the official frappe_docker setup (custom pwd.yml compose file). Initially, only ERPNext was installed. Later, I manually installed the HRMS v16 app using:
bench get-app hrms --branch version-16 bench --site frontend install-app hrms bench --site frontend migrate
After installation, everything works correctly:
Company creation
User creation
Employee creation
Departments
Designations
Shift Type
Shift Assignment
Attendance
However, the next day (usually after a container restart or system restart), I start getting errors like
DoesNotExistError: Module HR not found
When I check:
bench --site frontend list-apps
It still shows:
frappe erpnext hrms
But Shift Assignment and other HRMS-related doctypes fail to load.
Somehow I fix it by running migrate/reinstall steps, but the issue keeps repeating the next day.
My Questions:
-
Is manually installing HRMS inside an existing frappe_docker ERPNext setup the correct approach?
-
Should HRMS be added at image build time instead of installing via bench inside a running container?
-
Is this likely a Docker volume persistence issue (apps/sites not mounted correctly)?
-
Would using the official HRMS Docker setup from the HRMS repo be a more stable approach?
I’m using HRMS mainly for:
- Employee management
- Shift Assignment
- Attendance integration via API
Any guidance on the correct and stable way to set this up in Docker (for v16) would be greatly appreciated.
Thanks in advance.
Module
HR
Version
16
Installation method
None