style: Improve formatting in IONOS VPS deployment runbook for better readability
This commit is contained in:
parent
4923c0771a
commit
9ca73776bb
|
|
@ -8,16 +8,16 @@ Use it verbatim for a repeat deployment or hand it to another AI assistant.
|
|||
|
||||
## Environment
|
||||
|
||||
| Item | Value |
|
||||
|-----------------|-------------------------------|
|
||||
| Server IP | `31.70.94.35` |
|
||||
| OS | Ubuntu 24.04 LTS |
|
||||
| Web root | `/var/www/gplx/mediawiki` |
|
||||
| Git bare repo | `/var/repo/gplx.git` |
|
||||
| DB name/user | `gplx` / `gplx` |
|
||||
| MW admin user | `Gxplex_admin` |
|
||||
| MW admin pass | `TempAdmin123` ← **change this** |
|
||||
| HTTP Basic Auth user | `testUser` |
|
||||
| Item | Value |
|
||||
| -------------------- | -------------------------------- |
|
||||
| Server IP | `31.70.94.35` |
|
||||
| OS | Ubuntu 24.04 LTS |
|
||||
| Web root | `/var/www/gplx/mediawiki` |
|
||||
| Git bare repo | `/var/repo/gplx.git` |
|
||||
| DB name/user | `gplx` / `gplx` |
|
||||
| MW admin user | `Gxplex_admin` |
|
||||
| MW admin pass | `TempAdmin123` ← **change this** |
|
||||
| HTTP Basic Auth user | `testUser` |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -338,14 +338,14 @@ php maintenance/run.php changePassword --user="Benutzername" --password="NeuesPa
|
|||
|
||||
## Gotchas encountered
|
||||
|
||||
| Problem | Cause | Fix |
|
||||
|---------|-------|-----|
|
||||
| `git push ionos main` failed (exit 1) | Remote pointed at non-bare working dir | Created bare repo at `/var/repo/gplx.git` with post-receive hook |
|
||||
| `/var/www/gplx/mediawiki` not found after push | Directory was checked out by hook — actually worked, just needed to look again | `ls /var/www/gplx/mediawiki` confirmed it was there |
|
||||
| SMW fatal: `Class "Onoi\Cache\NullCache" not found` | SMW vendor deps not installed | `composer install --no-dev -d extensions/SemanticMediaWiki` |
|
||||
| `update.php`: "Can not upgrade from versions older than 1.35" | Completely empty DB — MW misreads it | Use `install.php` with `LocalSettings.php` temporarily moved away |
|
||||
| `install.php`: "A LocalSettings.php file has been detected" | Installer refuses when file exists | `mv LocalSettings.php LocalSettings.php.bak` before install, restore after |
|
||||
| Apache won't start | nginx was holding port 80 | `systemctl stop nginx && systemctl disable nginx` |
|
||||
| Basic Auth not blocking (returns 200 for anonymous) | `Require all granted` + `Require valid-user` = OR logic | Remove `Require all granted`; only keep `Require valid-user` |
|
||||
| DB "Access denied for user gplx" | Password in LocalSettings.php didn't match DB | `ALTER USER 'gplx'@'localhost' IDENTIFIED BY '...'` to sync them |
|
||||
| `ERROR 1050: Table 'actor' already exists` on SQL import | Fresh MW install already created tables; importing on top fails | `DROP DATABASE gplx` + recreate, then import |
|
||||
| Problem | Cause | Fix |
|
||||
| ------------------------------------------------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------- |
|
||||
| `git push ionos main` failed (exit 1) | Remote pointed at non-bare working dir | Created bare repo at `/var/repo/gplx.git` with post-receive hook |
|
||||
| `/var/www/gplx/mediawiki` not found after push | Directory was checked out by hook — actually worked, just needed to look again | `ls /var/www/gplx/mediawiki` confirmed it was there |
|
||||
| SMW fatal: `Class "Onoi\Cache\NullCache" not found` | SMW vendor deps not installed | `composer install --no-dev -d extensions/SemanticMediaWiki` |
|
||||
| `update.php`: "Can not upgrade from versions older than 1.35" | Completely empty DB — MW misreads it | Use `install.php` with `LocalSettings.php` temporarily moved away |
|
||||
| `install.php`: "A LocalSettings.php file has been detected" | Installer refuses when file exists | `mv LocalSettings.php LocalSettings.php.bak` before install, restore after |
|
||||
| Apache won't start | nginx was holding port 80 | `systemctl stop nginx && systemctl disable nginx` |
|
||||
| Basic Auth not blocking (returns 200 for anonymous) | `Require all granted` + `Require valid-user` = OR logic | Remove `Require all granted`; only keep `Require valid-user` |
|
||||
| DB "Access denied for user gplx" | Password in LocalSettings.php didn't match DB | `ALTER USER 'gplx'@'localhost' IDENTIFIED BY '...'` to sync them |
|
||||
| `ERROR 1050: Table 'actor' already exists` on SQL import | Fresh MW install already created tables; importing on top fails | `DROP DATABASE gplx` + recreate, then import |
|
||||
|
|
|
|||
Loading…
Reference in New Issue