View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003324 | Composr | core_upgrader | public | 2017-07-28 12:26 | 2017-11-19 23:25 |
Reporter | Chris Graham | Assigned To | |||
Severity | Feature-request | ||||
Status | non-assigned | Resolution | open | ||
Product Version | |||||
Fixed in Version | |||||
Summary | 0003324: Hybrid command-line upgrading and partial headless mode | ||||
Description | Some servers may be too slow to do a large upgrade, or may just take too long. I experienced this last night with a server that did a CGI timeout after just a few seconds, it was unable to even copy one 40MB file before timing out. So to support such crappy servers we need a solution. The upgrader could on-the-fly create shell scripts (.bat or .sh) that an admin could manually run for what it will then go on to do itself: 1) Updating addon TARs 2) Extracting upgrade zip 3) Integrity checker file cleanup It would mention when these scripts had been made, with the path, and automatically delete them in the final "clear caches" step of the upgrader. This way an admin can intercede in problematic cases and finish off stuff via the scripts. It also might be useful for scripting upgrades on remote servers. You'd do an initial upgrade locally, then you could run a mostly scripted upgrade via SSH. I considered the idea of a fully headless mode that just runs from the shell. That's probably not realistic for a couple of reasons: 1) It would strictly require the shell (while technically a shell script needs the shell, you could always open it in a text editor and manually do the actions in an FTP client, or even convert it to an FTP script) 2) We do need a UI, we can't really just do full headless upgrades right now (maybe later for simpler cases) It would be nice if we could do some basic things headless though, including the database upgrade, and explicitly generating and running the upgrade scripts. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | 4 | ||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-07-28 12:26 | Chris Graham | New Issue |