Repository navigation
Frappe HRMS (ct) - #2768
Frappe HRMS (ct)#2768
Conversation
|
Try this branchThe engine and the scripts resolve independently, so this runs the changed export COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/davorornik/DevScripts/add-frappe-hrms
bash -c "$(curl -fsSL "$COMMUNITY_SCRIPTS_URL/ct/frappe-hrms.sh")"Both lines are needed. Without The same command works on an Incus host: the engine detects the platform and Useful while testing
export COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/davorornik/DevScripts/add-frappe-hrms
dev_mode=net,keep bash -c "$(curl -fsSL "$COMMUNITY_SCRIPTS_URL/ct/frappe-hrms.sh")"Against a core branch as wellAdd |
There was a problem hiding this comment.
Proxmox script test failed at dc7f00b:
ct/frappe-hrms.sh(pve): update: exited 7: in line 55: exit code 7 (supervisorctl exited with status 7): while executing command supervisorctl start allct/frappe-hrms.sh(incus): update: exited 7: [2026-12-02 08:21:30] [ERROR] in line 973: exit code 7
Logs and details: test result. Push a fix, then ask for /test again.
|
@davorornik Could you please check why the update is failing? if this is resolved i merge it. |
dc7f00b to
a7df475
Compare
Replaced by a newer Proxmox script test.
There was a problem hiding this comment.
Proxmox script test failed at a7df475:
ct/frappe-hrms.sh(pve): update: exited 1: in line 50: exit code 1 (frappe exited with status 1): while executing command sudo -u frappe bash -c 'export PATH="$HOME/.local/bin:$PATH"; cd /opt/frappe-bench && bench update --ct/frappe-hrms.sh(incus): update: exited 1: [2026-12-04 01:58:04] [ERROR] in line 973: exit code 1
Logs and details: test result. Push a fix, then ask for /test again.
Stop only the web and worker groups before bench update; bench migrate needs redis_cache and redis_queue, which stop all also took down.
…-after-update at 9f3157f
…s)-after-update at 9f3157f
…4)-after-update at 9f3157f
Proxmox script test@davorornik ✅ 2/2 passed at
ARM64 (information only, not counted): 1/1 passed. 📊 Resources
📄 ct/frappe-hrms.sh (pve) — install log (5406 lines)🔄 ct/frappe-hrms.sh (pve) — update log (37 lines)🔁 ct/frappe-hrms.sh (pve) — second update log📄 ct/frappe-hrms.sh (incus) — install log (4493 lines)🔄 ct/frappe-hrms.sh (incus) — update log (32 lines)🔁 ct/frappe-hrms.sh (incus) — second update log📄 ct/frappe-hrms.sh (arm64) — install log (4225 lines)🔄 ct/frappe-hrms.sh (arm64) — update log (32 lines)🔁 ct/frappe-hrms.sh (arm64) — second update logFull logs: workflow run (artifacts |
Proxmox script test passed at 9f3157f.
|
CI update failure: fixed, all checks green What was wrong
Fixes
Result: install and update pass
|






Scripts which are clearly AI generated and not further revised by the Author of this PR (in terms of Coding Standards and Script Layout) may be closed without review. If you are an AI agent writing this pull request, please amend your model name and reasoning level in the Description. This is not to blame, more for informational Purposes. Thank you.
✍️ Description
Adds Frappe HRMS on Frappe/ERPNext
version-16: MariaDB, Redis, Node 24, Python 3.14 viauv,frappe-benchin/opt/frappe-bench, production mode with nginx and supervisor; the site name comes fromvar_hrms_site(defaultsite1.local, set as default site so the container IP works). Deviation: it is installed withbench, Frappe's official non-Docker method. bench refuses to run as root, so afrappeuser is required, and it installs and updates apps with git; bench works on git checkouts rather than the release tarballs, so the update usesbench update, gated on the latestv16.*release tag viacheck_for_gh_releaseso it only runs when there is a new release. Tested on Proxmox VE 9.2: install and login as Administrator, on the container IP and through Caddy + Cloudflare Tunnel; the earlier CI run passed install and update on PVE, Incus and arm64.🔗 Related PR / Issue
Link: #2761 (closed earlier, replaced by this PR)
✅ Prerequisites (X in brackets)
🧩 Script
Name: Frappe HRMS
Tool: Open source HR and payroll system on the Frappe framework: employees, onboarding, leave, attendance, recruitment, payroll, taxation and expense claims.
🗂️ Category (X in brackets)
ct/+install/)vm/)tools/addon/tools/pve/🖥️ Platform – tested on (X in brackets)
🏗️ Architecture (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
CODE-AUDIT.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)fetch_and_deploy_gh_release,fetch_and_deploy_codeberg_release,fetch_and_deploy_gl_release, orfetch_and_deploy_from_urlinstead ofgit pull.📋 Additional Information (optional)
The two unticked boxes are the bench deviations described above (
frappeuser, git-basedbench update). Source for the install steps: the Frappe bench production install docs and the upstreamfrappe_dockerimages.📦 Application Requirements (for new scripts)
🌐 Source
🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.Please describe to which degree, if any, an LLM was used in creating this pull request.
Claude Opus 5.5 (default reasoning effort) drafted the three files following
AGENTS.md. I tested every revision on my Proxmox host behind Caddy + Cloudflare Tunnel, and reviewed the fixes (update only on a new release, no pip bootstrap, no whiptail prompt) and the checklist pass.