Cloud & Infrastructure · DevOps & CI/CD · Incident Response & Troubleshooting
Account
Operational guides
Complete procedures with a way back.
Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.
- Guides
- 243
- Favorites
- 0
12 of 243 guides
Terraform Error: Provider configuration not present means state still associates one or more managed resource instances with a provider configuration address that the current root module can no longer supply. The missing object may be a deleted child-module provider block, a removed alias, an absent module call, or a changed provider source. Repair the execution context before planning any infrastructure change.
Cloud & Infrastructure · DevOps & CI/CD · Incident Response & Troubleshooting
Recover safely from Terraform Error acquiring the state lock
Terraform Error acquiring the state lock means the configured backend refused a potentially state-writing operation because another lock exists or the lock service is unavailable. The safe response is to identify the exact backend, workspace, lock owner, and active run before considering force-unlock.
Packages & Updates · Incident Response & Troubleshooting · System Administration
Fix Sub-process /usr/bin/dpkg returned an error code (1) safely
Sub-process /usr/bin/dpkg returned an error code (1) is a final summary, not the root cause. The decisive message normally appears earlier in the transaction. This guide preserves that first failure, checks package-manager ownership, locks, disk and filesystem health, audits dpkg state, then completes configuration or performs a targeted rollback without deleting lock files or forcing unrelated removals.
AI/ML · Software Engineering · Security
Complete a repository change safely with Codex
Use Codex to investigate an unfamiliar repository, freeze scope and acceptance criteria, implement a focused change, run proportional tests, review the complete diff, commit intentionally, and recover without erasing unrelated work.
AI/ML · Software Engineering · Security
Automate Claude Code safely with deterministic hooks
Build a complete Claude Code hook suite that blocks protected edits before execution, formats only reviewed source files after successful edits, emits privacy-safe local notifications, records sanitized configuration-change evidence, survives cwd changes, and has deterministic tests plus an emergency disable path.
Storage & Filesystems · System Administration
Build and operate a ZFS storage pool with snapshots, scrubs, replacement, and recovery
Create a mirrored OpenZFS data pool from stable device identities, separate data into policy-aware datasets, recover individual files from snapshots, verify every block with scheduled scrubs, replace a failed member without confusing device names, and rehearse a read-only import path before an incident.
System Administration · Incident Response & Troubleshooting · Storage & Filesystems
Recover an Ubuntu server with systemd rescue and emergency modes
Recover a non-booting Ubuntu Server by choosing the least invasive systemd target, preserving console evidence, identifying the failed boot dependency, applying a reversible correction, and proving a clean normal boot.
Storage & Filesystems · Incident Response & Troubleshooting
Diagnose failing disks with SMART and replace a drive safely
Correlate kernel I/O symptoms, SMART or NVMe health data, self-test history, stable device identity, storage-stack membership, and application evidence before replacing a Linux data drive through the layer that actually owns redundancy.
Storage & Filesystems · System Administration · High Availability & Reliability
Create, monitor, degrade, and recover a Linux RAID 1 array with mdadm
Build a two-member data RAID 1 array, persist assembly and mounting, monitor synchronization and consistency, rehearse a controlled member failure, and rebuild onto a positively identified replacement.
System Administration · Storage & Filesystems · Security
Migrate a Linux root filesystem to a larger disk with minimal downtime
Copy an Ubuntu root filesystem to a larger ext4 disk, preserve Linux metadata, rebuild UUID-based boot artifacts, perform a controlled cutover, and retain the original disk as a tested rollback.
Databases & Data · Backup & Recovery
Back up and restore MariaDB with mariadb-dump
Create a consistent logical backup with routines, events, triggers, metadata, compression, encryption, checksums, retention, and an isolated restore test.
Databases & Data · Backup & Recovery
Back up and restore MySQL 8.4 with a logical dump
Define recovery objectives, create a least-privilege backup identity, capture schemas and objects consistently, encrypt offsite, and run an isolated restore test.