Skip to content

Installer v1.0-beta.3 — database repair and installation resume

Pre-release
Pre-release

Choose a tag to compare

@RepGraphics RepGraphics released this 16 Nov 18:37
· 9 commits to main since this release
a8d0fe1

Installer v1.0-beta.3 adds database authentication repair and safe installation resume. The panel release remains v1.0-beta.

  • Test database access before generating application keys or entering maintenance.
  • Resume matching unfinished installations after dependencies are installed with install v1.0-beta --resume. Reuse saved configuration, keys, salt and uploads, then finish migrations, Blueprint, assets and services.
  • Add explicit repair-database for a saved local TCP connection. Create a dedicated loopback account limited to the panel database, verify it, privately back up .env and atomically change only the database username/password. Preserve existing accounts, credentials, grants and tables.
  • Refuse initialized panels/addon state, mismatched sources, system databases and remote/URL/socket repair targets.
  • Send provisioning SQL/passwords over private stdin instead of process arguments.
  • Include the improved APT and runtime diagnostics, public system-tool selection and dedicated pnpm prefix merged since installer v1.0-beta.2.

Validation passed: syntax/PHP lint, ShellCheck, unprivileged safety regressions and GitHub Ubuntu provisioning checks. Real Ubuntu/MariaDB/Redis application tests passed both separate MariaDB and Ubuntu's local MariaDB with non-root accounts. Tests cover bad saved credentials, dedicated-account repair, unchanged existing account authentication and unrelated data, rejected access outside the panel database, environment/key/salt preservation, resume, migrations, Blueprint, asset builds, managed updates, SQL/filesystem backups and login HTTP. Application smoke service-control calls remain simulated.

For an unfinished installation that failed after installing dependencies:

cd /opt/aquadactyl-installer
git fetch origin tag v1.0-beta.3
git checkout --detach v1.0-beta.3

For a failed local database login, the explicit repair command is:

sudo bash deploy.sh repair-database

Back up an existing database before applying migrations, then resume:

sudo php /var/www/aquadactyl/artisan p:maintenance:backup-database \
  "/var/backups/aquadactyl/pre-resume-$(date -u +%Y%m%dT%H%M%SZ).sql" &&
sudo bash deploy.sh install v1.0-beta --resume

Do not regenerate APP_KEY or drop a database to fix authentication. Initialized installations use the managed update flow.