Record Phase 2 preflight and SQL administrative authentication blocker
This commit is contained in:
parent
4182dbdf5d
commit
3a6aa34ee4
@ -17,7 +17,7 @@ Read this document only when the current task requires database inspection, SQL
|
||||
- `/sql/mssql` on the host maps to `/var/opt/mssql` in the container.
|
||||
- Host `sqlcmd` is not installed.
|
||||
- Container sqlcmd: `/opt/mssql-tools18/bin/sqlcmd`.
|
||||
- Production is separate: host `www`, `192.168.10.8`, database `PlotLine`. Development authorisation does not authorise production changes.
|
||||
- Production migration target: `web1`, `85.190.124.132`, database `PlotLine`. Initial deployment is [blocked pending SQL administrative authentication](../Deployment/Phase2-20261125.md). Historical server `www`, `192.168.10.8`, is inactive and retained for recovery. Development authorisation does not authorise production changes.
|
||||
|
||||
Never print, copy or commit connection strings, passwords, API keys, SMTP secrets, Stripe secrets or OpenAI keys.
|
||||
|
||||
|
||||
61
Docs/Deployment/Evidence/Phase2-20261125/preflight.json
Normal file
61
Docs/Deployment/Evidence/Phase2-20261125/preflight.json
Normal file
@ -0,0 +1,61 @@
|
||||
{
|
||||
"status": "blocked-before-provisioning",
|
||||
"checked_utc": "2026-11-25T15:38:24Z",
|
||||
"production_changes_performed": false,
|
||||
"application_rebuilt_or_repackaged": false,
|
||||
"qualified_source_commit": "190c074d5202fdf8a94b3b7a70c94857f848aafd",
|
||||
"qualified_dll_sha256": "70c516e0a112c4e61813e563405c979ad35069539ddc440bddbd6dac0a4379d1",
|
||||
"package_sha256": "0ec47c0c0e5ba17c0df34ce27105e183820947fd91bc466d276d305bf4cd10b9",
|
||||
"signature_verified": true,
|
||||
"public_key_matches_retained_private_authority_and_phase1_fingerprint": true,
|
||||
"original_backup_sha256_verified": "6cf9e6d4d340a222a48c43265582e45a0150b132ae6eeb2bb6cd112f97cb743c",
|
||||
"dns": {
|
||||
"apex_A": [
|
||||
"85.190.124.132"
|
||||
],
|
||||
"www_CNAME": "plotdirector.com",
|
||||
"www_effective_A": [
|
||||
"85.190.124.132"
|
||||
],
|
||||
"apex_AAAA": [],
|
||||
"www_effective_AAAA": []
|
||||
},
|
||||
"catherine": {
|
||||
"service": "active",
|
||||
"pid": 13134,
|
||||
"public_https_status_after_redirect": 200,
|
||||
"tls_verification": "passed"
|
||||
},
|
||||
"web1": {
|
||||
"hostname": "web1",
|
||||
"sql_version": "17.0.5065.9",
|
||||
"sql_service": "active",
|
||||
"backup_timer": "active",
|
||||
"last_backup_service_result": "success",
|
||||
"last_backup_service_exit": 0,
|
||||
"dotnet_runtime": "10.0.15",
|
||||
"aspnet_runtime": "10.0.15",
|
||||
"root_available_gib_approx": 554,
|
||||
"available_memory_mib": 22120,
|
||||
"loopback_5001_free": true,
|
||||
"loopback_5003_free": true
|
||||
},
|
||||
"available_sql_principal": {
|
||||
"name": "SqlBackupService",
|
||||
"database": "PlotLine",
|
||||
"sysadmin": false,
|
||||
"securityadmin": false,
|
||||
"control_server": false,
|
||||
"alter_any_login": false,
|
||||
"control_database": false,
|
||||
"select_database": false,
|
||||
"view_definition": false,
|
||||
"alter_any_user": false,
|
||||
"db_backupoperator": true
|
||||
},
|
||||
"live_database_baseline_verified": false,
|
||||
"blocker": "No available documented SQL administrative authentication for security provisioning and live schema/business-data verification. Linux administrator sudo does not supply SQL authentication. No credentials reset or backup-account elevation attempted.",
|
||||
"public_plotdirector_https": "Failed normal TLS validation: certificate hostname mismatch; no valid PlotDirector certificate issued or application activated.",
|
||||
"activation_started": false,
|
||||
"provisioning_started": false
|
||||
}
|
||||
69
Docs/Deployment/Phase2-20261125.md
Normal file
69
Docs/Deployment/Phase2-20261125.md
Normal file
@ -0,0 +1,69 @@
|
||||
# Production migration Phase 2 — 25 November 2026
|
||||
|
||||
**BLOCKED before provisioning: SQL administrative authentication unavailable.**
|
||||
PlotDirector is not deployed or publicly available with valid HTTPS. No web1 or
|
||||
www configuration, account, database, service, certificate or firewall changes were
|
||||
performed. No package transfer, migration or activation was attempted.
|
||||
|
||||
## Completed focused preflight
|
||||
|
||||
- Existing strict administrator SSH access and sudo work; hostname is web1.
|
||||
- Exact signed Phase 1 package verified. The public key matches both the retained
|
||||
private signing authority and the committed Phase 1 public-key fingerprint.
|
||||
Qualified PlotLine.dll matches `70c516e0a112c4e61813e563405c979ad35069539ddc440bddbd6dac0a4379d1`.
|
||||
Nothing was rebuilt, repackaged or requalified.
|
||||
- Original recovered backup SHA-256 matches the approved value. Backup media remain
|
||||
untouched. Native SQL 17.0.5065.9 and Nginx are active. The existing SQL backup
|
||||
timer is active and its last service run succeeded, exit 0.
|
||||
- .NET/ASP.NET runtimes are 10.0.15; about 554 GiB disk and 22120 MiB memory were
|
||||
available. Ports 5001 and 5003 are free; Catherine remains on loopback 5002.
|
||||
- Apex A resolves to 85.190.124.132; www aliases the apex and resolves identically.
|
||||
Neither hostname has an effective AAAA record. No DNS changes were made.
|
||||
- Catherine remains active at PID 13134; normal public HTTPS, following its
|
||||
redirect, returns 200 with successful TLS verification.
|
||||
- PlotDirector normal public HTTPS currently fails certificate hostname validation.
|
||||
No certificate request was made; certificate issuance must accompany the resumed
|
||||
provisioning. TLS verification was not disabled.
|
||||
|
||||
[Sanitized preflight evidence](Evidence/Phase2-20261125/preflight.json).
|
||||
|
||||
## Exact blocker and prerequisite
|
||||
|
||||
The only available documented SQL credential is the root-protected hourly backup
|
||||
credential, authenticating as `SqlBackupService`. Effective SQL checks show
|
||||
`db_backupoperator=1`, but no sysadmin/securityadmin, CONTROL SERVER, ALTER ANY
|
||||
LOGIN, database CONTROL, database SELECT, VIEW DEFINITION or ALTER ANY USER.
|
||||
It cannot establish the live schema/business baseline, inspect all security
|
||||
mappings, or provision the required runtime/migration logins and users. A matching
|
||||
original backup does not prove that the live database remains unchanged.
|
||||
|
||||
An existing web1 SQL administrative credential must be made available securely,
|
||||
or an authorised DBA must provide the equivalent administrative session. It must
|
||||
support the reviewed login/user/role setup and security inventory, including the
|
||||
migration login's direct CREATE ANY DATABASE permission. Do not send a password
|
||||
in chat, put it in command arguments, reset sa, grant sysadmin/dbcreator to a new
|
||||
application account, or elevate/reuse the backup credential. A root-only temporary
|
||||
credential file on web1 or an approved secret-management channel is suitable; it
|
||||
must not become part of a package, deployment evidence or Git.
|
||||
|
||||
After that prerequisite is supplied, resume the already-authorised Phase 2 work:
|
||||
verify live schema/business fingerprints, provision protected tooling/accounts and
|
||||
runtime configuration, issue a new apex/www certificate using webroot-only Certbot,
|
||||
transfer/validate/activate the exact existing package, and perform focused public
|
||||
acceptance. Do not repeat Phase 1 or request deployment approval again.
|
||||
|
||||
## Incomplete work and operational state
|
||||
|
||||
Provisioning, SQL security setup, persistent-data recovery, Production configuration,
|
||||
restricted SSH installation, new certificate/renewal setup, service/vhost setup,
|
||||
pre-deployment backup, migrations, activation/history and public application
|
||||
acceptance remain unstarted. Live account/entitlement inspection also requires SQL
|
||||
access; Phase 1's expired-entitlement finding remains historical, not a fresh live
|
||||
verification. No subscriptions, Stripe state or external worker settings changed.
|
||||
The temporary Atlas administrator authorisation is retained because permanent
|
||||
restricted access is not installed. No owner authenticated or physical Word tests
|
||||
were performed. Existing uncommitted repository documents were preserved.
|
||||
|
||||
Preflight stopped at 15:38 UTC. No provisioning or activation duration exists
|
||||
because neither was started; the 15-minute activation target was not entered.
|
||||
Readiness is **blocked**, with the signed candidate and recovery assets preserved.
|
||||
Loading…
x
Reference in New Issue
Block a user