[policy, no patch] Do automatic updates need to be supported on hosting plans that disable "proc_open" and friends?

Created on 9 June 2021, over 4 years ago
Updated 4 September 2024, about 1 year ago

Problem/Motivation

Some hosting plans disable exec and similar functions/operators from PHP by default.

There are several places where automatic updates can benefit from using exec. I'll add more to this list, but for starters, being able to call rsync from Composer Stager ( #3199171: Automatic updates: For MVP, instead of an a/b bootloader, implement a semi-atomic composer update with a brief maintenance-mode window β†’ ).

Do we need to implement a pure PHP fallback for sites on hosting plans that disable exec? Or, do such hosting plans allow for that configuration to be changed, in which case, should we make enabling exec a requirement for being able to use automatic updates?

Steps to reproduce

Proposed resolution

Remaining tasks

  • Research how common it is for hosting plans to disable exec, and if most/all of these plans allow the customer to enable it.
  • Discuss other considerations.

User interface changes

API changes

Data model changes

Release notes snippet

🌱 Plan
Status

Needs work

Version

11.0 πŸ”₯

Component
UpdateΒ  β†’

Last updated 17 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @tedbow
  • πŸ‡ΊπŸ‡ΈUnited States @dww
Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024