update updater

This commit is contained in:
Frank Harris 2026-06-08 18:00:08 -05:00
parent 3829a4a83d
commit 17a31b7f5f
4 changed files with 179 additions and 1530 deletions

View file

@ -136,9 +136,9 @@ This file is the first stop for future Codex sessions working in this repository
1. Read `docs/modules/UPDATE.md`.
2. Check `Panel/modules/update/update.php`.
3. Check `Panel/modules/administration/panel_update.php`.
4. Check `Panel/includes/lib_remote.php` for the `component_update` wrapper.
5. Check both `Agent_Linux/ogp_agent.pl` and `Agent-Windows/OGP64/OGP/ogp_agent.pl` for the `component_update` RPC.
6. Remember that local Panel/Website updates and remote agent updates both clone a configured Git branch into staging and copy only configured component folders.
4. Check `Panel/includes/lib_remote.php` only if a shared helper is actually needed.
5. Remember that the active Panel update page updates the Panel only.
6. Website and agent updates are separate workflows and should not be reintroduced into the Panel update page.
7. Never let updater logic delete server homes, game install folders, user data, agent `Cfg/`, logs, uploads, backups, or runtime PID files.
## Things Already Investigated