Task A complete. Local catch-all IIS site `snolla` restored from RUVDS: - Selective tar-copy ~100MB (excluded stale App_Data assets/galleries/themes 8.76GB — now in MinIO), NOT the full 8.66GB. - Web.config already pointed at mssql.kzntsv.site MoreThenCms (user snolla) + MinIO S3 drop-in with real keys (placeholder_count=0) — repoint not needed. - Elevated setup script (ASCII-only, PS5.1 BOM-less-safe): scripts/local-snolla-admin-restore/setup-local-snolla-admin.ps1 - AppPool snolla (.NET v4.0, AppPoolIdentity, recycle@200MB), IIS site *:80, ACL, hosts-override (6 aliases -> 127.0.0.1), FW block inbound 80. - Smoke GREEN: tandemmebel/labtools/labtoolspro/emspb/kupimknigi/on .snolla.com/admin/account/login -> 200, real MoreThenCms login form. Unblocks Task B (on-snolla-vds-migration). MinIO upload-acceptance = manual operator follow-up. Records: .tasks/snolla-local-admin-restore.md + STATUS.md. Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
844 B
PowerShell
19 lines
844 B
PowerShell
$ErrorActionPreference='SilentlyContinue'
|
|
Write-Output "=== IIS sites ==="
|
|
Import-Module WebAdministration
|
|
Get-Website | ForEach-Object {
|
|
$b = (Get-WebBinding -Name $_.Name).bindingInformation -join ' ; '
|
|
"{0} | {1} | {2} | {3}" -f $_.Name, $_.State, $_.PhysicalPath, $b
|
|
}
|
|
Write-Output "=== C:\sites\snolla ==="
|
|
if (Test-Path 'C:\sites\snolla') {
|
|
$f = Get-ChildItem 'C:\sites\snolla' -File
|
|
"exists; top-files=" + $f.Count
|
|
$wc = 'C:\sites\snolla\Web.config'
|
|
if (Test-Path $wc) {
|
|
"Web.config size=" + (Get-Item $wc).Length
|
|
Write-Output "=== Web.config storageType / minio lines ==="
|
|
Select-String -Path $wc -Pattern 'storageType|minio\.kzntsv|FileStorage\.S3|Initial Catalog|Data Source' | ForEach-Object { $_.Line.Trim() }
|
|
} else { "Web.config MISSING" }
|
|
} else { "C:\sites\snolla MISSING" }
|
|
Write-Output "=== DONE ===" |