1. Separate the historical case from your own starting state
- The recorded November 2026 case started at SVN 3968 and database schema 1736 and ended at SVN 4037 and schema 1748. Those numbers describe that lab; they are not a target recommendation for another installation.
- In your actual source checkout, record svn info, svn status and a private svn diff. Inventory runtime-only customizations separately because they may not appear in the source working copy.
- Using the verified read-only database connection, run SELECT db_schema_version FROM system_settings;. Record Admin/API/Asterisk versions and the configured database name separately from SVN revision.
- Compare the exact target’s upgrade SQL and installer source with that baseline before writing the maintenance procedure. Do not run an installer merely to discover what its flags mean.
- Before you use it
- Use the actual working-copy path. This existing capture is the lab’s post-upgrade observation, not your baseline.
svn info --show-item revision /usr/src/astguiclient/trunkCaptured demo response · 2026-11-04T08:36:23.981542Z. Any filtering, hidden values or test-only data are identified in the capture label. Select Replay transcript to read the recorded output.
- Success looks like
- The lab returned 4037 at 08:36 UTC on November 4, 2026.
- Stop if
- If the path is not a working copy, locate the actual checkout before proceeding.
Observed SVN revision
Open to enlargeCapture details
This inspection does not establish a completed call or restore.You should seeYour worksheet has distinct source, runtime, schema and service versions. A clean SVN revision does not prove that runtime files match the checkout.
2. Treat revision 4037’s --test invocation as a change
- The clean lab install.pl at SVN revision 4037 was copied for read-only inspection on November 6, 2026. Its SHA-256 is 8ee133ad3f324b544f5d07b87e974433475a3498bef09174c656ec99de56609f. No installer was executed for this inspection.
- Its help advertises --test as not copying files, but parsing the flag only assigns $TEST and $T at line 276; neither variable is consulted later. Therefore --test --no-prompt is not a dry run in this pinned file.
- Inspect the exact file you plan to use. Read every configuration-write, file-copy, process-start and database-update path and the conditions controlling it. The installed configuration and other flags determine which paths are reached; the misleading test flag does not suppress them.
- Keep all installer invocations inside the approved change/rollback scope. For rehearsal, use an isolated clone and compare files, processes and database state before and after; do not run --test against the original host as a preflight.
You should seeThe historical --test invocation is classified as a potentially mutating installer run, separate from syntax checks. The retained evidence does not isolate every write made by that one invocation.
3. Write the rehearsal and rollback contract before execution
- Create the private database and file backup described in the backup guide. Include source, deployed runtime, configuration, recording scope and local customizations, then verify the artifacts and restore them in an isolated target.
- Identify the exact statements after your current db_schema_version marker through the approved target in extras/upgrade_2.14.sql. Rehearse that reviewed sequence against a clone with representative configuration; record errors and data/count comparisons.
- Rehearse the exact target installer as a mutating operation. Compare the configuration and deployed files before/after and check its database/process effects. PHP lint and perl -c are syntax-oriented checks, not proof that installation or application behavior is safe; Perl compilation can also load modules and BEGIN blocks.
- Define the maintenance drain, how new work stays stopped, acceptance tests and the rollback decision time. A zero-call observation alone does not prevent new calls from beginning.
- Pair the old source/runtime/configuration with the matching database recovery point. Reverting only SVN after a schema change is not a proven rollback.
You should seeA rehearsal is ready only when the exact source/schema changes, required tests and matching restore path are known. An archive checksum alone does not prove recoverability.
4. Read the recorded sequence with its real change boundary
- The case record says the operator confirmed zero active calls, backed up source/runtime/configuration and the mostly MyISAM vicidb database, and preserved runtime-only API and Zoiper changes. The dump used --lock-all-tables with the required object/data options; that consistency choice can block writes.
- The operator updated the checkout with svn update -r4037 --accept=postpone and reviewed three API conflicts, combining the retained custom KPI behavior with upstream changes. The pending upgrade SQL after schema 1736 was reviewed and rehearsed on a clone.
- The record then lists PHP lint, perl -c and install.pl --test --no-prompt with the actual configuration before the pending SQL and a later install.pl --no-prompt invocation. The installer inspection above means the first --test invocation belongs to the change sequence; it must not be described as a harmless lint/dry-run step.
- The pending SQL and final installer invocation were followed by version, syntax and selected aggregate checks. This is the historical sequence, not a script to copy to another host. Unexpected conflicts, schema errors or installer writes must stop your own procedure at its agreed recovery decision.
You should seeThe lab ended at schema 1748. The source inspection corrects the meaning of the test flag without inventing which individual files or rows changed during each historical invocation.
5. Distinguish observed checks from untested outcomes
- For your rehearsal, compare svn info, the deployed-file manifest and SELECT db_schema_version FROM system_settings; with the approved target. Check the Admin and API versions independently; do not substitute an SVN number for all three.
- Review API permission changes before exercising a protected function. In the recorded revision 4037 case, Agent API Access was required for protected Non-Agent API functions. The public version endpoint did not verify permission or an authenticated business operation.
- Run the planned synthetic application tests for the actual workflows affected by the upgrade. Record agent login, station registration, call/audio, disposition, recording/integration behavior and full restore as separate results; leave unperformed tests explicitly unverified.
- If any required acceptance check fails, keep the change in its maintenance state and use the agreed rollback decision. Do not resume production solely because lint or a version query passed.
- Before you use it
- Run only on the authorized Asterisk host. This capture is a single post-upgrade observation; calls can change immediately afterwards.
asterisk -rx 'core show channels count'Captured demo response · 2026-11-04T08:36:24.006485Z. Any filtering, hidden values or test-only data are identified in the capture label. Select Replay transcript to read the recorded output.
- Success looks like
- The lab returned zero active channels and calls at 08:36 UTC on November 4, 2026.
- Stop if
- If Asterisk is unreachable, the call state is unknown, not zero.
Observed active call count
Open to enlargeCapture details
This inspection does not establish a completed call or restore.You should seeThe case recorded SVN 4037, schema 1748, Admin 2.14-969a build 261102-0125, NonAgent API 2.14-212 and 73 passing PHP lint checks. The later zero-call image below does not verify live audio, application correctness or a full restore.
- Source target and deployed runtime independently matched.
- Schema transition and representative data checks passed.
- Protected API behavior tested with intended permissions.
- Required agent/call/audio/integration tests observed, not inferred from lint.
- Matching source/runtime/database restore rehearsed or explicitly still unverified.
6. Leave a reviewable go/no-go record
- Complete the worksheet with your actual revision pair and test evidence. Keep paths, database dumps, patches and credentials in the private change record.
- If a required row is unknown or failed, name the owner and exact next check before approving execution. If all required rehearsal checks pass, the owner can approve that specific procedure and maintenance window.
- Before you use it
- This worksheet contains no execution command. Fill it from the actual target source and rehearsal, not the historical lab numbers.
Source revision: current → approved targetDeployed runtime/customizations inventoried:Schema marker: current → approved targetExact install.pl SHA-256 and reviewed flag effects:Pending SQL scope and clone result:Private backup set / matching restore result:Drain plan and how new work stays stopped:Required acceptance checks / evidence / owner:Rollback trigger, decision time and recovery set:Go / no-go / unresolved check:This sample is a template or reading aid, not a terminal command. There is no output to show.
- Success looks like
- A reviewer can identify every intended mutation, required acceptance test and matching recovery point.
- Stop if
- An unreviewed installer flag, incomplete schema rehearsal or untested required restore is a no-go until resolved.
You should seeThe reader leaves with a case-informed upgrade contract whose mutations and evidence limits are explicit.
Checks and sources
What was checked
- Revision 4037 install.pl was retrieved read-only from the lab working copy on November 6, 2026. svn status was clean; SHA-256 8ee133ad3f324b544f5d07b87e974433475a3498bef09174c656ec99de56609f pins the inspected bytes. The installer member of the official November 4, 2026 source archive has the identical hash. No installer invocation was executed for this review.
- The test flags are assigned at line 276 and have no later uses in that file. Configuration writes, conditional copies/relay startup and database version-update paths are therefore not suppressed by --test.
- The historical upgrade evidence records final version and syntax checks. It does not isolate every mutation of the earlier --test invocation or prove a full restore, agent call or two-way audio.
Primary references
Sources
- Subversion working copy basicsApache Subversion · accessed November 4, 2026
- VICIdial Non-Agent API referenceVICIdial Group · accessed November 4, 2026
- mariadb-dump referenceMariaDB · accessed November 4, 2026
- Official November 4, 2026 VICIdial source snapshotVICIdial Group · accessed November 6, 2026

