Skip to content

Frappe HRMS (ct) - #2768

Merged
michelroegl-brunner merged 2 commits into
community-scripts:mainfrom
davorornik:add-frappe-hrms
Dec 4, 2026
Merged

michelroegl-brunner merged 2 commits into
community-scripts:mainfrom
davorornik:add-frappe-hrms

Conversation

@davorornik

Copy link
Copy Markdown
Contributor

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 via uv, frappe-bench in /opt/frappe-bench, production mode with nginx and supervisor; the site name comes from var_hrms_site (default site1.local, set as default site so the container IP works). Deviation: it is installed with bench, Frappe's official non-Docker method. bench refuses to run as root, so a frappe user is required, and it installs and updates apps with git; bench works on git checkouts rather than the release tarballs, so the update uses bench update, gated on the latest v16.* release tag via check_for_gh_release so 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)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No breaking changes – Existing functionality remains intact.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🧩 Script

Fill in for a new script. If the script has no issue yet, one is opened from these fields when the PR is merged.

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 – LXC container (ct/ + install/)
  • VM – Virtual machine (vm/)
  • Addon – tools/addon/
  • PVE Tool – tools/pve/
  • Other – path given in the Description

🖥️ Platform – tested on (X in brackets)

Application containers run on both; tick what you actually tested. VMs and host tools are Proxmox only.

  • Proxmox VE – Created on a Proxmox VE host and the app works.
  • Incus – Created on an Incus host and the app works.

🏗️ Architecture (X in brackets)

amd64 support is assumed.

  • arm64 supported - Tested and supported on arm64.
  • arm64 not tested - Assumed to work on arm64, but testing has not been done.
  • arm64 not supported - Confirmed upstream dependencies or binaries do not support arm64.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • ✨ New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

🔍 Code & Security Review (X in brackets)

  • Follows CODE-AUDIT.md & CONTRIBUTING.md guidelines
  • Uses correct script structure (AppName.sh, AppName-install.sh, AppName.json)
  • No hardcoded credentials
  • No Docker / Docker Compose – The application is installed bare-metal; Docker is not used.
  • No git pull – Updates use fetch_and_deploy_gh_release, fetch_and_deploy_codeberg_release, fetch_and_deploy_gl_release, or fetch_and_deploy_from_url instead of git pull.

📋 Additional Information (optional)

The two unticked boxes are the bench deviations described above (frappe user, git-based bench update). Source for the install steps: the Frappe bench production install docs and the upstream frappe_docker images.


📦 Application Requirements (for new scripts)

⚠️ Do not remove this section.
It is used by automated PR validation checks.
If this PR is not a new script submission, leave the checkboxes unchecked.

Required for 🆕 New script submissions.
Pull requests that do not meet these requirements may be closed without review.

  • The application is at least 6 months old (repo created 2022-06-08)
  • The application is actively maintained (v16.60.1 released 2026-11-27)
  • The application has 1,000+ GitHub stars (9,150)
  • Official release tarballs are published (tagged releases with source tarballs, e.g. v16.60.1)
  • I understand that not all scripts will be accepted due to various reasons and criteria by the community-scripts ORG

🌐 Source


🤖 AI Assistance (X in brackets)

If you used an AI tool (GitHub Copilot, Claude, ChatGPT, etc.) to write or generate any scripts in this PR, you must confirm compliance below.
Select exactly one option.

  • No AI used – Scripts were written without AI assistance.
  • AI was used – I confirm the scripts were built using AGENTS.md and .github/agents/pve-script-creator.agent.md as 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.

@davorornik
davorornik requested a review from a team as a code owner December 2, 2026 06:40
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

⚠️ Not ready for review yet

@davorornik, this pull request is missing the following:

  • No git pull must be confirmed – use fetch_and_deploy_gh_release (or the Codeberg/GitLab/URL variants) instead

Edit the PR description to fix it — no new PR needed. This check runs again on every edit and clears itself once everything is in place.

Until then the PR is labeled requirements missing and will be closed after 14 days; you get a reminder shortly before.


@community-scripts/contributor please take a look: close it, comment, or set keep-open to keep it.

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Try this branch

The engine and the scripts resolve independently, so this runs the changed
ct/ and install/ scripts against the production engine:

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 COMMUNITY_SCRIPTS_URL the engine falls back to
main, so curling the branch URL on its own gives you the ct/ script from
this PR and the install/ script from main. Frequently the one you meant to test.

The same command works on an Incus host: the engine detects the platform and
loads the matching backend, while the scripts still come from this branch.

Useful while testing

dev_mode=net logs every fetch with status and URL, which is the quickest way
to confirm the branch is really being used. dev_mode=keep stops a failed
build from deleting the container along with the evidence.

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 well

Add COMMUNITY_SCRIPTS_CORE_URL=https://raw.githubusercontent.com/OWNER/core/BRANCH
to test an engine change at the same time. The two resolve independently.

@github-actions github-actions Bot added requirements missing PR description misses template items; closes after 7 days unless fixed or keep-open new script labels Dec 2, 2026
@davorornik davorornik mentioned this pull request Dec 2, 2026
15 of 33 tasks
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 2, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 2, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 2, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 all
  • ct/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.

@michelroegl-brunner

Copy link
Copy Markdown
Member

@davorornik Could you please check why the update is failing? if this is resolved i merge it.

@michelroegl-brunner michelroegl-brunner added keep-open and removed requirements missing PR description misses template items; closes after 7 days unless fixed or keep-open labels Dec 2, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
@github-actions
github-actions Bot dismissed their stale review December 4, 2026 01:04

Replaced by a newer Proxmox script test.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
community-scripts-ci-screenshots Bot added a commit to community-scripts/ci that referenced this pull request Dec 4, 2026
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Proxmox script test

@davorornik ✅ 2/2 passed at 9f3157f

Script Platform Install Update Duration Detail
ct/frappe-hrms.sh pve ✅ ✅ 27m52s http://10.99.0.140 → 200
ct/frappe-hrms.sh incus ✅ ✅ 24m48s http://10.98.0.31 → 200
ct/frappe-hrms.sh arm64 ✅ ✅ 11m57s http://10.98.0.231 → 200

ARM64 (information only, not counted): 1/1 passed.

📊 Resources
Script Platform Usage
ct/frappe-hrms.sh pve disk 14.5 of 20 GB · RAM at rest 875 of 8192 MB · OOM kills 0
ct/frappe-hrms.sh incus disk 14.4 of 20 GB · RAM at rest 885 of 8192 MB · OOM kills 0
ct/frappe-hrms.sh arm64 disk 14.2 of 20 GB · RAM at rest 910 of 8192 MB · OOM kills 0
📸 ct/frappe-hrms.sh (pve) — http://10.99.0.140: after install / after update

Screenshot of ct/frappe-hrms.sh Screenshot of ct/frappe-hrms.sh

📸 ct/frappe-hrms.sh (incus) — http://10.98.0.31: after install / after update

Screenshot of ct/frappe-hrms.sh Screenshot of ct/frappe-hrms.sh

📸 ct/frappe-hrms.sh (arm64) — http://10.98.0.231: after install / after update

Screenshot of ct/frappe-hrms.sh Screenshot of ct/frappe-hrms.sh

📄 ct/frappe-hrms.sh (pve) — install log (5406 lines)
… 5194 earlier lines cut, the full log is in the run artifacts
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 62%
Updating DocTypes for hrms          : [=========================               ] 62%
Updating DocTypes for hrms          : [=========================               ] 62%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 67%
Updating DocTypes for hrms          : [===========================             ] 67%
Updating DocTypes for hrms          : [===========================             ] 67%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 72%
Updating DocTypes for hrms          : [============================            ] 72%
Updating DocTypes for hrms          : [=============================           ] 72%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 77%
Updating DocTypes for hrms          : [==============================          ] 77%
Updating DocTypes for hrms          : [===============================         ] 77%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 82%
Updating DocTypes for hrms          : [=================================       ] 82%
Updating DocTypes for hrms          : [=================================       ] 82%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 87%
Updating DocTypes for hrms          : [===================================     ] 87%
Updating DocTypes for hrms          : [===================================     ] 87%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 92%
Updating DocTypes for hrms          : [====================================    ] 92%
Updating DocTypes for hrms          : [=====================================   ] 92%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 97%
Updating DocTypes for hrms          : [======================================  ] 97%
Updating DocTypes for hrms          : [======================================= ] 97%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [========================================] 100%
Setting up Frappe HR...
Patching Existing Data...
rename_field: kra_title not found in table for: Appraisal Template
rename_field: kra_template not found in table for: Appraisal
Thank you for installing Frappe HR!
Updating Dashboard for hrms
[2026-12-04 02:43:41] [OK] Created Site ci-test
[2026-12-04 02:43:41] [INFO] Configuring Frappe HRMS
Synchronizing state of redis-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable redis-server
[2026-12-04 02:43:42] [OK] Configured Frappe HRMS
[2026-12-04 02:43:42] [INFO] Setting up Production
Resolved 10 packages in 446ms
Downloading cryptography (4.7MiB)
Downloading ansible-core (2.4MiB)
Downloading ansible (49.6MiB)
 Downloaded cryptography
 Downloaded ansible-core
 Downloaded ansible
Prepared 4 packages in 3.29s
Installed 10 packages in 837ms
 + ansible==15.1.0
 + ansible-core==2.22.1
 + cffi==2.1.1
 + cryptography==51.0.0
 + jinja2==3.1.6
 + markupsafe==3.0.4
 + packaging==26.4
 + pycparser==3.12
 + pyyaml==6.0.4
 + resolvelib==1.2.1
Installed 1 executable: ansible-community
Setting Up prerequisites...
$ sudo /home/frappe/.local/share/uv/tools/frappe-bench/bin/python -m pip install ansible
Collecting ansible
  Downloading ansible-15.1.0-py3-none-any.whl.metadata (8.1 kB)
Collecting ansible-core~=2.22.1 (from ansible)
  Downloading ansible_core-2.22.1-py3-none-any.whl.metadata (7.9 kB)
Requirement already satisfied: jinja2>=3.1.0 in /home/frappe/.local/share/uv/tools/frappe-bench/lib/python3.13/site-packages (from ansible-core~=2.22.1->ansible) (3.1.6)
Collecting PyYAML>=5.1 (from ansible-core~=2.22.1->ansible)
  Downloading pyyaml-6.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.3 kB)
Collecting cryptography (from ansible-core~=2.22.1->ansible)
  Downloading cryptography-51.0.0-cp311-abi3-manylinux_2_34_x86_64.whl.metadata (4.5 kB)
Collecting packaging (from ansible-core~=2.22.1->ansible)
  Downloading packaging-26.4-py3-none-any.whl.metadata (3.5 kB)
Collecting resolvelib<2.0.0,>=0.8.0 (from ansible-core~=2.22.1->ansible)
  Downloading resolvelib-1.2.1-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/frappe/.local/share/uv/tools/frappe-bench/lib/python3.13/site-packages (from jinja2>=3.1.0->ansible-core~=2.22.1->ansible) (3.0.4)
Collecting cffi>=2.0.0 (from cryptography->ansible-core~=2.22.1->ansible)
  Downloading cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.5 kB)
Collecting pycparser (from cffi>=2.0.0->cryptography->ansible-core~=2.22.1->ansible)
  Downloading pycparser-3.12-py3-none-any.whl.metadata (9.7 kB)
Downloading ansible-15.1.0-py3-none-any.whl (52.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.0/52.0 MB 74.4 MB/s  0:00:00
Downloading ansible_core-2.22.1-py3-none-any.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 56.8 MB/s  0:00:00
Downloading resolvelib-1.2.1-py3-none-any.whl (18 kB)
Downloading pyyaml-6.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (838 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 838.5/838.5 kB 28.1 MB/s  0:00:00
Downloading cryptography-51.0.0-cp311-abi3-manylinux_2_34_x86_64.whl (4.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 21.2 MB/s  0:00:00
Downloading cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (221 kB)
Downloading packaging-26.4-py3-none-any.whl (140 kB)
Downloading pycparser-3.12-py3-none-any.whl (62 kB)
Installing collected packages: resolvelib, PyYAML, pycparser, packaging, cffi, cryptography, ansible-core, ansible
Successfully installed PyYAML-6.0.4 ansible-15.1.0 ansible-core-2.22.1 cffi-2.1.1 cryptography-51.0.0 packaging-26.4 pycparser-3.12 resolvelib-1.2.1
Setting Up supervisor...
Setting Up NGINX...
Port configuration list:
Site ci-test assigned port: 80
Setting Up symlinks and reloading services...
$ sudo /usr/sbin/nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
$ sudo systemctl reload nginx
frappe-bench-redis: available
frappe-bench-web: available
frappe-bench-workers: available
frappe-bench-redis: added process group
frappe-bench-web: added process group
frappe-bench-workers: added process group
Synchronizing state of supervisor.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable supervisor
[2026-12-04 02:44:38] [OK] Set up Production
[2026-12-04 02:44:38] [INFO] Checking for update: hrms
[2026-12-04 02:44:40] [OK] Update available: hrms not installed -> 16.60.2
[2026-12-04 02:44:40] [INFO] Customizing Container
[2026-12-04 02:44:41] [OK] Customized Container
[2026-12-04 02:44:41] [INFO] Cleaning up
Reading package lists...
Building dependency tree...
Reading state information...
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[2026-12-04 02:44:44] [OK] Cleaned
🔄 ct/frappe-hrms.sh (pve) — update log (37 lines)
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
  ⏳   Checking for update: pdfkiln
  ✔️  Update available: pdfkiln 1.5.1-dev -> 1.5.1
  ⏳   Fetching github release: pdfkiln (1.5.1)
  ✔️  Deployed: pdfkiln (1.5.1)
  ⏳   Checking for update: hrms
  ✔️  Update available: hrms 16.60.2-dev -> 16.60.2
  ⏳   Update Node.js 24
  ✔️  Update Node.js 24 (npm 12.2.3)
  ⏳   Installing yarn@latest
  ✔️  Installed yarn
  ⏳   Stopping Frappe HRMS
  ✔️  Stopped Frappe HRMS
  ⏳   Updating Frappe HRMS
  ✔️  Updated Frappe HRMS
  ⏳   Starting Frappe HRMS
  ✔️  Started Frappe HRMS
  ✔️  Updated successfully!
  ⏳   Cleaning up
  ✔️  Cleaned
🔁 ct/frappe-hrms.sh (pve) — second update log
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
  ⏳   Checking for update: pdfkiln
  ✔️  No update available: pdfkiln (1.5.1)
  ⏳   Checking for update: hrms
  ✔️  No update available: hrms (16.60.2)
  ⏳   Cleaning up
  ✔️  Cleaned
📄 ct/frappe-hrms.sh (incus) — install log (4493 lines)
… 4279 earlier lines cut, the full log is in the run artifacts
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 62%
Updating DocTypes for hrms          : [=========================               ] 62%
Updating DocTypes for hrms          : [=========================               ] 62%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 67%
Updating DocTypes for hrms          : [===========================             ] 67%
Updating DocTypes for hrms          : [===========================             ] 67%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 72%
Updating DocTypes for hrms          : [============================            ] 72%
Updating DocTypes for hrms          : [=============================           ] 72%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 77%
Updating DocTypes for hrms          : [==============================          ] 77%
Updating DocTypes for hrms          : [===============================         ] 77%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 82%
Updating DocTypes for hrms          : [=================================       ] 82%
Updating DocTypes for hrms          : [=================================       ] 82%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 87%
Updating DocTypes for hrms          : [===================================     ] 87%
Updating DocTypes for hrms          : [===================================     ] 87%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 92%
Updating DocTypes for hrms          : [====================================    ] 92%
Updating DocTypes for hrms          : [=====================================   ] 92%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 97%
Updating DocTypes for hrms          : [======================================  ] 97%
Updating DocTypes for hrms          : [======================================= ] 97%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [========================================] 100%
Setting up Frappe HR...
Patching Existing Data...
rename_field: kra_title not found in table for: Appraisal Template
rename_field: kra_template not found in table for: Appraisal
Thank you for installing Frappe HR!
Updating Dashboard for hrms
[2026-12-04 02:41:36] [OK] Created Site ci-test
[2026-12-04 02:41:36] [INFO] Configuring Frappe HRMS
Synchronizing state of redis-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable redis-server
[2026-12-04 02:41:37] [OK] Configured Frappe HRMS
[2026-12-04 02:41:37] [INFO] Setting up Production
Resolved 10 packages in 276ms
Downloading cryptography (4.7MiB)
Downloading ansible-core (2.4MiB)
Downloading ansible (49.6MiB)
 Downloaded cryptography
 Downloaded ansible-core
 Downloaded ansible
Prepared 4 packages in 3.12s
Installed 10 packages in 807ms
 + ansible==15.1.0
 + ansible-core==2.22.1
 + cffi==2.1.1
 + cryptography==51.0.0
 + jinja2==3.1.6
 + markupsafe==3.0.4
 + packaging==26.4
 + pycparser==3.12
 + pyyaml==6.0.4
 + resolvelib==1.2.1
Installed 1 executable: ansible-community
Setting Up prerequisites...
$ sudo /home/frappe/.local/share/uv/tools/frappe-bench/bin/python -m pip install ansible
Collecting ansible
  Downloading ansible-15.1.0-py3-none-any.whl.metadata (8.1 kB)
Collecting ansible-core~=2.22.1 (from ansible)
  Downloading ansible_core-2.22.1-py3-none-any.whl.metadata (7.9 kB)
Requirement already satisfied: jinja2>=3.1.0 in /home/frappe/.local/share/uv/tools/frappe-bench/lib/python3.13/site-packages (from ansible-core~=2.22.1->ansible) (3.1.6)
Collecting PyYAML>=5.1 (from ansible-core~=2.22.1->ansible)
  Downloading pyyaml-6.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (2.3 kB)
Collecting cryptography (from ansible-core~=2.22.1->ansible)
  Downloading cryptography-51.0.0-cp311-abi3-manylinux_2_34_x86_64.whl.metadata (4.5 kB)
Collecting packaging (from ansible-core~=2.22.1->ansible)
  Downloading packaging-26.4-py3-none-any.whl.metadata (3.5 kB)
Collecting resolvelib<2.0.0,>=0.8.0 (from ansible-core~=2.22.1->ansible)
  Downloading resolvelib-1.2.1-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/frappe/.local/share/uv/tools/frappe-bench/lib/python3.13/site-packages (from jinja2>=3.1.0->ansible-core~=2.22.1->ansible) (3.0.4)
Collecting cffi>=2.0.0 (from cryptography->ansible-core~=2.22.1->ansible)
  Downloading cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.5 kB)
Collecting pycparser (from cffi>=2.0.0->cryptography->ansible-core~=2.22.1->ansible)
  Downloading pycparser-3.12-py3-none-any.whl.metadata (9.7 kB)
Downloading ansible-15.1.0-py3-none-any.whl (52.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.0/52.0 MB 51.8 MB/s  0:00:01
Downloading ansible_core-2.22.1-py3-none-any.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 68.4 MB/s  0:00:00
Downloading resolvelib-1.2.1-py3-none-any.whl (18 kB)
Downloading pyyaml-6.0.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (838 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 838.5/838.5 kB 40.5 MB/s  0:00:00
Downloading cryptography-51.0.0-cp311-abi3-manylinux_2_34_x86_64.whl (4.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 77.8 MB/s  0:00:00
Downloading cffi-2.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (221 kB)
Downloading packaging-26.4-py3-none-any.whl (140 kB)
Downloading pycparser-3.12-py3-none-any.whl (62 kB)
Installing collected packages: resolvelib, PyYAML, pycparser, packaging, cffi, cryptography, ansible-core, ansible
Successfully installed PyYAML-6.0.4 ansible-15.1.0 ansible-core-2.22.1 cffi-2.1.1 cryptography-51.0.0 packaging-26.4 pycparser-3.12 resolvelib-1.2.1
Setting Up supervisor...
Setting Up NGINX...
Port configuration list:
Site ci-test assigned port: 80
Setting Up symlinks and reloading services...
$ sudo /usr/sbin/nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
$ sudo systemctl reload nginx
frappe-bench-redis: available
frappe-bench-web: available
frappe-bench-workers: available
frappe-bench-redis: added process group
frappe-bench-web: added process group
frappe-bench-workers: added process group
Synchronizing state of supervisor.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable supervisor
[2026-12-04 02:42:31] [OK] Set up Production
[2026-12-04 02:42:31] [INFO] Checking for update: hrms
[2026-12-04 02:42:33] [OK] Update available: hrms not installed -> 16.60.2
[2026-12-04 02:42:33] [INFO] Customizing Container
[2026-12-04 02:42:35] [OK] Customized Container
[2026-12-04 02:42:35] [INFO] Cleaning up
Reading package lists...
Building dependency tree...
Reading state information...
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[2026-12-04 02:42:36] [OK] Cleaned
🔄 ct/frappe-hrms.sh (incus) — update log (32 lines)
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
10.98.0.31
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
  ⏳   Checking for update: pdfkiln
  ✔️  Update available: pdfkiln 1.5.1-dev -> 1.5.1
  ⏳   Fetching github release: pdfkiln (1.5.1)
  ✔️  Deployed: pdfkiln (1.5.1)
  ⏳   Checking for update: hrms
  ✔️  Update available: hrms 16.60.2-dev -> 16.60.2
  ⏳   Update Node.js 24
  ✔️  Update Node.js 24 (npm 12.2.3)
  ⏳   Installing yarn@latest
  ✔️  Installed yarn
  ⏳   Stopping Frappe HRMS
  ✔️  Stopped Frappe HRMS
  ⏳   Updating Frappe HRMS
  ✔️  Updated Frappe HRMS
  ⏳   Starting Frappe HRMS
  ✔️  Started Frappe HRMS
  ✔️  Updated successfully!
🔁 ct/frappe-hrms.sh (incus) — second update log
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
10.98.0.31
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
  ⏳   Checking for update: pdfkiln
  ✔️  No update available: pdfkiln (1.5.1)
  ⏳   Checking for update: hrms
  ✔️  No update available: hrms (16.60.2)
📄 ct/frappe-hrms.sh (arm64) — install log (4225 lines)
… 4011 earlier lines cut, the full log is in the run artifacts
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 61%
Updating DocTypes for hrms          : [========================                ] 62%
Updating DocTypes for hrms          : [=========================               ] 62%
Updating DocTypes for hrms          : [=========================               ] 62%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 63%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [=========================               ] 64%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 65%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 66%
Updating DocTypes for hrms          : [==========================              ] 67%
Updating DocTypes for hrms          : [===========================             ] 67%
Updating DocTypes for hrms          : [===========================             ] 67%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 68%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [===========================             ] 69%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 70%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 71%
Updating DocTypes for hrms          : [============================            ] 72%
Updating DocTypes for hrms          : [============================            ] 72%
Updating DocTypes for hrms          : [=============================           ] 72%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 73%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [=============================           ] 74%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 75%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 76%
Updating DocTypes for hrms          : [==============================          ] 77%
Updating DocTypes for hrms          : [==============================          ] 77%
Updating DocTypes for hrms          : [===============================         ] 77%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 78%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [===============================         ] 79%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 80%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 81%
Updating DocTypes for hrms          : [================================        ] 82%
Updating DocTypes for hrms          : [=================================       ] 82%
Updating DocTypes for hrms          : [=================================       ] 82%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 83%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [=================================       ] 84%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 85%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 86%
Updating DocTypes for hrms          : [==================================      ] 87%
Updating DocTypes for hrms          : [===================================     ] 87%
Updating DocTypes for hrms          : [===================================     ] 87%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 88%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [===================================     ] 89%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 90%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 91%
Updating DocTypes for hrms          : [====================================    ] 92%
Updating DocTypes for hrms          : [====================================    ] 92%
Updating DocTypes for hrms          : [=====================================   ] 92%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 93%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [=====================================   ] 94%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 95%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 96%
Updating DocTypes for hrms          : [======================================  ] 97%
Updating DocTypes for hrms          : [======================================  ] 97%
Updating DocTypes for hrms          : [======================================= ] 97%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 98%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [======================================= ] 99%
Updating DocTypes for hrms          : [========================================] 100%
Setting up Frappe HR...
Patching Existing Data...
rename_field: kra_title not found in table for: Appraisal Template
rename_field: kra_template not found in table for: Appraisal
Thank you for installing Frappe HR!
Updating Dashboard for hrms
[2026-12-04 01:33:49] [OK] Created Site ci-test
[2026-12-04 01:33:49] [INFO] Configuring Frappe HRMS
Synchronizing state of redis-server.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable redis-server
[2026-12-04 01:33:50] [OK] Configured Frappe HRMS
[2026-12-04 01:33:50] [INFO] Setting up Production
Resolved 10 packages in 215ms
Downloading cryptography (4.6MiB)
Downloading ansible (49.6MiB)
Downloading ansible-core (2.4MiB)
 Downloaded cryptography
 Downloaded ansible-core
 Downloaded ansible
Prepared 4 packages in 912ms
Installed 10 packages in 306ms
 + ansible==15.1.0
 + ansible-core==2.22.1
 + cffi==2.1.1
 + cryptography==51.0.0
 + jinja2==3.1.6
 + markupsafe==3.0.4
 + packaging==26.4
 + pycparser==3.12
 + pyyaml==6.0.4
 + resolvelib==1.2.1
Installed 1 executable: ansible-community
Setting Up prerequisites...
$ sudo /home/frappe/.local/share/uv/tools/frappe-bench/bin/python -m pip install ansible
Collecting ansible
  Downloading ansible-15.1.0-py3-none-any.whl.metadata (8.1 kB)
Collecting ansible-core~=2.22.1 (from ansible)
  Downloading ansible_core-2.22.1-py3-none-any.whl.metadata (7.9 kB)
Requirement already satisfied: jinja2>=3.1.0 in /home/frappe/.local/share/uv/tools/frappe-bench/lib/python3.13/site-packages (from ansible-core~=2.22.1->ansible) (3.1.6)
Collecting PyYAML>=5.1 (from ansible-core~=2.22.1->ansible)
  Downloading pyyaml-6.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.metadata (2.3 kB)
Collecting cryptography (from ansible-core~=2.22.1->ansible)
  Downloading cryptography-51.0.0-cp311-abi3-manylinux_2_34_aarch64.whl.metadata (4.5 kB)
Collecting packaging (from ansible-core~=2.22.1->ansible)
  Downloading packaging-26.4-py3-none-any.whl.metadata (3.5 kB)
Collecting resolvelib<2.0.0,>=0.8.0 (from ansible-core~=2.22.1->ansible)
  Downloading resolvelib-1.2.1-py3-none-any.whl.metadata (3.7 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/frappe/.local/share/uv/tools/frappe-bench/lib/python3.13/site-packages (from jinja2>=3.1.0->ansible-core~=2.22.1->ansible) (3.0.4)
Collecting cffi>=2.0.0 (from cryptography->ansible-core~=2.22.1->ansible)
  Downloading cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.metadata (2.5 kB)
Collecting pycparser (from cffi>=2.0.0->cryptography->ansible-core~=2.22.1->ansible)
  Downloading pycparser-3.12-py3-none-any.whl.metadata (9.7 kB)
Downloading ansible-15.1.0-py3-none-any.whl (52.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.0/52.0 MB 109.8 MB/s  0:00:00
Downloading ansible_core-2.22.1-py3-none-any.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 189.5 MB/s  0:00:00
Downloading resolvelib-1.2.1-py3-none-any.whl (18 kB)
Downloading pyyaml-6.0.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (804 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.5/804.5 kB 123.6 MB/s  0:00:00
Downloading cryptography-51.0.0-cp311-abi3-manylinux_2_34_aarch64.whl (4.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 197.8 MB/s  0:00:00
Downloading cffi-2.1.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (222 kB)
Downloading packaging-26.4-py3-none-any.whl (140 kB)
Downloading pycparser-3.12-py3-none-any.whl (62 kB)
Installing collected packages: resolvelib, PyYAML, pycparser, packaging, cffi, cryptography, ansible-core, ansible
Successfully installed PyYAML-6.0.4 ansible-15.1.0 ansible-core-2.22.1 cffi-2.1.1 cryptography-51.0.0 packaging-26.4 pycparser-3.12 resolvelib-1.2.1
Setting Up supervisor...
Setting Up NGINX...
Port configuration list:
Site ci-test assigned port: 80
Setting Up symlinks and reloading services...
$ sudo /usr/sbin/nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
$ sudo systemctl reload nginx
frappe-bench-redis: available
frappe-bench-web: available
frappe-bench-workers: available
frappe-bench-redis: added process group
frappe-bench-web: added process group
frappe-bench-workers: added process group
Synchronizing state of supervisor.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable supervisor
[2026-12-04 01:34:15] [OK] Set up Production
[2026-12-04 01:34:15] [INFO] Checking for update: hrms
[2026-12-04 01:34:16] [OK] Update available: hrms not installed -> 16.60.2
[2026-12-04 01:34:16] [INFO] Customizing Container
[2026-12-04 01:34:16] [OK] Customized Container
[2026-12-04 01:34:17] [INFO] Cleaning up
Reading package lists...
Building dependency tree...
Reading state information...
Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
[2026-12-04 01:34:17] [OK] Cleaned
🔄 ct/frappe-hrms.sh (arm64) — update log (32 lines)
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
10.98.0.231
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
  ⏳   Checking for update: pdfkiln
  ✔️  Update available: pdfkiln 1.5.1-dev -> 1.5.1
  ⏳   Fetching github release: pdfkiln (1.5.1)
  ✔️  Deployed: pdfkiln (1.5.1)
  ⏳   Checking for update: hrms
  ✔️  Update available: hrms 16.60.2-dev -> 16.60.2
  ⏳   Update Node.js 24
  ✔️  Update Node.js 24 (npm 12.2.3)
  ⏳   Installing yarn@latest
  ✔️  Installed yarn
  ⏳   Stopping Frappe HRMS
  ✔️  Stopped Frappe HRMS
  ⏳   Updating Frappe HRMS
  ✔️  Updated Frappe HRMS
  ⏳   Starting Frappe HRMS
  ✔️  Started Frappe HRMS
  ✔️  Updated successfully!
🔁 ct/frappe-hrms.sh (arm64) — second update log
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
10.98.0.231
   ______                                      _ __           _____           _       __
  / ____/___  ____ ___  ____ ___  __  ______  (_) /___  __   / ___/__________(_)___  / /______
 / /   / __ \/ __ `__ \/ __ `__ \/ / / / __ \/ / __/ / / /   \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ /_/ / / / / / / / / / / / /_/ / / / / / /_/ /_/ /   ___/ / /__/ /  / / /_/ / /_(__  )
\____/\____/_/ /_/ /_/_/ /_/ /_/\__,_/_/ /_/_/\__/\__, /   /____/\___/_/  /_/ .___/\__/____/
                                                 /____/                    /_/
  Frappe-HRMS
  ⏳   Checking for update: pdfkiln
  ✔️  No update available: pdfkiln (1.5.1)
  ⏳   Checking for update: hrms
  ✔️  No update available: hrms (16.60.2)

Full logs: workflow run (artifacts result-*). Comment /test to build again.

@github-actions
github-actions Bot dismissed their stale review December 4, 2026 01:53

Proxmox script test passed at 9f3157f.

@davorornik

Copy link
Copy Markdown
Contributor Author

CI update failure: fixed, all checks green

What was wrong
During site creation the install starts two redis processes (cache and queue) by hand, because bench new-site needs them. Two problems followed:

  1. Leftover redis. Those processes kept running after the install, so supervisor's own redis couldn't start: the ports were taken. The update then failed at supervisorctl start all with spawn error. It passed in my own test because I had rebooted the container, which removed the leftovers.
  2. Update stopped redis. Once the leftovers were gone, the update's supervisorctl stop all also stopped redis. bench update needs redis to migrate the database, so it failed with Service redis_cache is not running.

Fixes

  • Install: stops the temporary redis processes once the site is created (pkill -u frappe redis-server), so redis is owned only by supervisor from then on.
  • Update: stops only the app processes (supervisorctl stop frappe-bench-web: frappe-bench-workers:) and leaves redis running for the migration. bench update restarts web and workers itself when it's done.

Result: install and update pass

git pull stays unticked on purpose: Frappe apps can only be updated through bench update, which uses git.

@michelroegl-brunner
michelroegl-brunner merged commit cf9a7c3 into community-scripts:main Dec 4, 2026
12 checks passed
@push-app-to-main push-app-to-main Bot mentioned this pull request Dec 4, 2026
1 of 2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants