fix(easy-install): various issues#1724
Conversation
Confidence Score: 5/5Changes are targeted bug fixes with no new logic paths; safe to merge. Each change is a direct fix for a documented, reproducible failure. The BuildKit secret swap correctly mirrors the upstream Containerfile change, the fail-fast sys.exit(1) prevents silent deploy of broken images, and the SITES_RULE generation unblocks HTTPS compose. No regressions identified in the diff. easy-install.py — specifically the build_image function around apps.json path handling. Reviews (7): Last reviewed commit: "Merge remote-tracking branch 'upstream/d..." | Re-trigger Greptile |
|
@Rocket-Quack @DanielRadlAMR can you confirm? |
|
The fix for the third issue looks correct (it matches the approach in #1700, which addresses the same issue). I left a review for the fix to the second issue. I'd recommend removing Regarding the first issue, I'd wait for @Rocket-Quack. His #1701 already tackles the same issue. |
|
Thx @DanielRadlAMR IMHO #1701 is more suitable in this regard, but if the only way to implement the fix is through this PR then let’s go with it with the request to expand the documentation take legacy instances into account and also allow the old method of site naming. |
|
@Rocket-Quack happy to merge your PR, I'm sure it solves the problem better. I lack context and was just trying to get the CI to pass. |
|



first issue
Resolved through #1701
second issue
Upstream
frappe_dockerchanged the custom imageContainerfileto readapps.jsonvia a BuildKit secret. Our script still only passed the oldAPPS_JSON_BASE64build arg, so the image was built with Frappe only, and--install-app erpnextfailed withNo module named 'erpnext'.I updated the Docker build command to pass:
third issue
easy-install.pydefaulted--frappe-branchtoversion-15, while upstreamfrappe_dockernow builds ERPNext fromversion-16. That produced the Frappe/ERPNext dependency mismatch. The laterpull access denied for custom-appshappened because the script swallowed the Docker build failure and continued into deploy.Changes made:
--frappe-branchis nowversion-16.sys.exit(1)instead of continuing.