Repository navigation
OrangeHRM (ct) - #2762
OrangeHRM (ct)#2762davorornik wants to merge 1 commit into
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-orangehrm
bash -c "$(curl -fsSL "$COMMUNITY_SCRIPTS_URL/ct/orangehrm.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-orangehrm
dev_mode=net,keep bash -c "$(curl -fsSL "$COMMUNITY_SCRIPTS_URL/ct/orangehrm.sh")"Against a core branch as wellAdd |
Proxmox script test@davorornik ❌ 0/2 passed at
ARM64 (information only, not counted): 0/1 passed; failures there do not block this PR. Notes (information only, not counted):
📊 Resources
❌ ct/orangehrm.sh (pve) — build log📄 ct/orangehrm.sh (pve) — install log (2048 lines)❌ ct/orangehrm.sh (incus) — build log📄 ct/orangehrm.sh (incus) — install log (1132 lines)❌ ct/orangehrm.sh (arm64) — build log📄 ct/orangehrm.sh (arm64) — install log (1098 lines)Full logs: workflow run (artifacts |
There was a problem hiding this comment.
Proxmox script test failed at c0a2949:
ct/orangehrm.sh(pve): http://10.99.0.246/installer answered 404 within 120s (the printed URL leads nowhere)ct/orangehrm.sh(incus): http://10.98.0.50/installer answered 404 within 120s (the printed URL leads nowhere)
Logs and details: test result. Push a fix, then ask for /test again.



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 a
ct/script for OrangeHRM (Business & ERP, category 25), with its install script and JSON metadata. It installs nginx, PHP 8.4 (FPM) and MariaDB, deploys the official release zip to/opt/orangehrm, and leaves the final setup to OrangeHRM's web installer at/installer(DB credentials in/opt/orangehrm.env).Deviations from the standard pattern: the release zip has extra files next to the
orangehrm-<version>/folder, so the helper does not flatten it; install and update deploy to/opt/orangehrm-releaseand move the inner folder into place (update keepslib/confs/Conf.phpviacreate_backup/restore_backup). The nginx config passesPATH_INFO(OrangeHRM routes throughindex.php/...) and setsHTTPS=onwhenX-Forwarded-Proto: httpsis present, so it works behind a TLS reverse proxy without a redirect loop.Tested on Proxmox VE 9.2: install completed, the web installer system check was all green, installation finished and login works, both on the container IP and through Caddy + Cloudflare Tunnel over HTTPS.
🔗 Related PR / Issue
Link: None
✅ Prerequisites (X in brackets)
🧩 Script
Name: OrangeHRM
Tool: Open source human resource management system: employee records, leave, time and attendance, recruitment, performance and reporting.
🗂️ 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 update path (
update_script) has not been run yet, since only one release (5.9.1) was available during testing.📦 Application Requirements (for new scripts)
orangehrm-5.9.1.ziprelease asset)🌐 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 and this description following
AGENTS.md. The author ran the install on Proxmox, reported the failures (PHP-FPM, zip layout, proxy redirect loop) that were then fixed, and verified the working instance.