Repository navigation
EspoCRM - #2347
Open
Masked-Kunsiquat wants to merge 13 commits into
Open
EspoCRM#2347Masked-Kunsiquat wants to merge 13 commits into
Masked-Kunsiquat wants to merge 13 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fetch_and_deploy_gh_release records the new version before migrate runs, so a failed migrate left nginx/cron stopped and later updates reported "up to date". Drop the version file, restore ownership and services, and exit with a pointer to the logs. Add a snapshot-before-update note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A password supplied via var_admin_pass is marked secret; echoing it back defeated that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stopping cron does not end jobs it already started, which could run against files being replaced. Restarting php-fpm drops opcache state from the old code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Try this script
COMMUNITY_SCRIPTS_URL=https://raw.githubusercontent.com/Masked-Kunsiquat/ProxmoxVED/feat/espocrm \
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Masked-Kunsiquat/ProxmoxVED/feat/espocrm/ct/espocrm.sh)"
Against a core branch as wellAdd Useful flags while testing
|
CrazyWolf13
requested changes
Oct 4, 2026
A stopped unit can be unloaded, so the php*-fpm.service glob matched nothing on start and left nginx returning 502.
CrazyWolf13
reviewed
Oct 4, 2026
Comment on lines
+21
to
+22
| export var_admin_user="${var_admin_user:-}" | ||
| export var_admin_pass="${var_admin_pass:-}" |
CrazyWolf13
approved these changes
Oct 4, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
New script: EspoCRM, an open-source CRM (contacts, accounts, leads, opportunities, cases, email). PHP 8.4-FPM + MariaDB + nginx, installed bare-metal from the official release zip (
fetch_and_deploy_gh_release ... "prebuild").bin/command, mirroring upstream's official Docker entrypoint. The nginx vhost is EspoCRM's official config, with the web root atpublic/. The admin account can be supplied throughapp_vars; otherwise a password is generated and printed once.CLEAN_INSTALL_KEEP="data custom client/custom"and runsbin/command migrate. This matches upstream's v10 Docker upgrade path, which persists exactly these three paths. The zip ships them only as placeholders (data/.data, two.htaccessfiles,dummy.txt), so config, uploads and customizations are never overwritten.migratebrings the services back up and removes~/.espocrm, so the nextupdateretries instead of reporting "up to date" with the CRM down.🔗 Related PR / Issue
Link: N/A (no existing script, PR or issue for EspoCRM in ProxmoxVE or ProxmoxVED)
✅ Prerequisites (X in brackets)
🏗️ arm64 Support (X in brackets)
EspoCRM is pure PHP, and every package comes from Debian's archive or the Sury PHP repository, both of which publish arm64 builds.
var_arm64="yes".🛠️ 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.🤖 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.Model and use: Claude Opus 5.5 in Claude Code (default reasoning effort) researched the app and wrote the three files, the PR description included. The research included the release zip contents, upstream's Docker entrypoint, and the engine sources in
community-scripts/core. The work was checked in three ways:pve-script-creatorchecklist, which passes.cdcodes the repo's own scripts trigger (SC1090, SC1091, SC2034, SC2164).migratefailure path, is fixed in this PR.I (Masked-Kunsiquat) ran all testing myself on my own Proxmox host; results are below.
I'm not a developer, so my review was behavioral: the manual tests below on a live host. Conformance to
AGENTS.md/CODE-AUDIT.mdwas checked by the checklist-based checker and the separate AI review pass described above. Happy to make any changes requested.📋 Additional Information (optional)
Testing: Proxmox VE 9.2.20 (kernel 7.0.14-9-pve),
debian-13-standard_13.1-2, EspoCRM 10.0.9, MariaDB 11.8.6, PHP 8.4. Scripts were run from the fork viaCOMMUNITY_SCRIPTS_URL.~/.espocrmset to an older version)custom/.../entityDefs/Contact.json) survivedmigrate(invalid custom metadata)updateredeployed and migrated cleanlyvar_admin_user/var_admin_pass)GET /web.config/GET /data/config.phpIntentionally not included:
fetch_and_deploy_gh_releasedoes not honorCLEAN_INSTALL_KEEP, so an update would wipedata/.📦 Application Requirements (for new scripts)
At submission,
espocrm/espocrmhas about 3.4k stars, was created in 2014-09, had its latest release (10.0.9) on 2026-09-29, and publishesEspoCRM-<version>.zipon every GitHub release.🌐 Source
🤖 Generated with Claude Code