tools: use the existing reverse proxy for Proxmox servers #21

Closed
opened 2026-11-15 12:22:01 +01:00 by schmidt.florian · 3 comments
Owner

The published Proxmox setup added a reverse proxy the user never requested, duplicating their existing proxy. The user also clarified that updates must run inside the container, not on the Proxmox host.

Required result:

  • Host script creates an LXC only.
  • New installs do not install/configure/manage Caddy; backend HTTP :5187 uses the user's existing HTTPS reverse proxy.
  • A self-updating finaltoken-update command fetches, builds and activates updates inside the CT without Proxmox host commands or an external host checkout.
  • Existing 1.2.0 CTs can bootstrap that command inside the CT. Their known listener is migrated and only the old installer-owned proxy is disabled. Keys/history/config/other services are preserved; backend migration failures restore the old listener/service states.

Checklist:

  • Reproduce unwanted Caddy/listener/service behavior with failing regressions before fixes.
  • Remove proxy installation/configuration and host-driven update execution.
  • Implement in-container source fetch/build/activation with existing source safety and rollback.
  • Add legacy migration, preservation/failure regressions, and real-local-Git updater tests.
  • Update D14, deployment docs and Project Mind; version 1.2.1.
  • Fresh re-review passed; PR #22 merged to public master 43caf1e; anonymous bootstrap/source verified.

No live Proxmox container is connected or modified by this local correction. Real Linux/LXC/TLS/provider validation remains explicitly unverified.

The published Proxmox setup added a reverse proxy the user never requested, duplicating their existing proxy. The user also clarified that updates must run inside the container, not on the Proxmox host. Required result: - Host script creates an LXC only. - New installs do not install/configure/manage Caddy; backend HTTP :5187 uses the user's existing HTTPS reverse proxy. - A self-updating `finaltoken-update` command fetches, builds and activates updates inside the CT without Proxmox host commands or an external host checkout. - Existing 1.2.0 CTs can bootstrap that command inside the CT. Their known listener is migrated and only the old installer-owned proxy is disabled. Keys/history/config/other services are preserved; backend migration failures restore the old listener/service states. Checklist: - [x] Reproduce unwanted Caddy/listener/service behavior with failing regressions before fixes. - [x] Remove proxy installation/configuration and host-driven update execution. - [x] Implement in-container source fetch/build/activation with existing source safety and rollback. - [x] Add legacy migration, preservation/failure regressions, and real-local-Git updater tests. - [x] Update D14, deployment docs and Project Mind; version 1.2.1. - [x] Fresh re-review passed; PR #22 merged to public master 43caf1e; anonymous bootstrap/source verified. No live Proxmox container is connected or modified by this local correction. Real Linux/LXC/TLS/provider validation remains explicitly unverified.
schmidt.florian self-assigned this 2026-11-15 12:22:01 +01:00
Author
Owner

Claimed by gpt-6.1-sol (coordinator/implementation) on 21-external-proxy at D:/Projects/CSharp/FinalToken-wt/21-external-proxy. The user explicitly rejected the bundled proxy; this corrects the published installer and provides an opt-in migration for existing deployments. Existing publishing authorization is carried forward for this correction.

Claimed by gpt-6.1-sol (coordinator/implementation) on 21-external-proxy at D:/Projects/CSharp/FinalToken-wt/21-external-proxy. The user explicitly rejected the bundled proxy; this corrects the published installer and provides an opt-in migration for existing deployments. Existing publishing authorization is carried forward for this correction.
Author
Owner

User clarified that updates must run inside the LXC, not on the Proxmox host. Revised scope: host script creates the CT only; install finaltoken-update in the container; use fresh anonymous source and existing isolated guest build/activation there; new installs have no bundled proxy; the explicit new in-container updater migrates the old installer-owned proxy to the external backend, preserving keys/config/history. Deprecate the old host updater with an instruction rather than changing a CT from the host. Publishing authorization continues for this correction.

User clarified that updates must run inside the LXC, not on the Proxmox host. Revised scope: host script creates the CT only; install finaltoken-update in the container; use fresh anonymous source and existing isolated guest build/activation there; new installs have no bundled proxy; the explicit new in-container updater migrates the old installer-owned proxy to the external backend, preserving keys/config/history. Deprecate the old host updater with an instruction rather than changing a CT from the host. Publishing authorization continues for this correction.
Author
Owner

Published 1.2.1 via PR #22 at 43caf1e412 after passing fresh re-review on b404d75.

The host creates containers only. New installs do not install/configure a proxy. Updates run inside the CT with finaltoken-update; existing 1.2.0 CTs have a one-time in-container bootstrap in docs/proxmox.md. Existing keys/config/history are preserved; only the owned legacy proxy is disabled and its listener migration has rollback. Root updater code is captured from the verified source archive, outside the build user's writable source/output.

Checked: build 0 warnings/errors, 431 .NET tests, 35 installer tests, 7 real-local-Git updater tests, docs/syntax/whitespace. The attack regression failed before the fix and now passes. No real Linux privilege escalation or deployment was exercised.

Post-merge: anonymous clone is 1.2.1; tree exactly matches the reviewed head; raw bootstrap/helpers/docs match the clone and the updater shebang is LF. Published host install dry-run reports HTTP :5187; obsolete host updater refuses deployment with the in-container instruction. The local primary checkout is updated and clean, issue branch/worktree removed, and evidence retained under ignored artifacts/publication-43caf1e/.

No live LXC or external proxy was modified here. Real Linux build/locking/migration and provider authorization remain unverified.

Published 1.2.1 via PR #22 at 43caf1e412388f7170ea1c85d3c28c4f97bd148f after passing fresh re-review on b404d75. The host creates containers only. New installs do not install/configure a proxy. Updates run inside the CT with finaltoken-update; existing 1.2.0 CTs have a one-time in-container bootstrap in docs/proxmox.md. Existing keys/config/history are preserved; only the owned legacy proxy is disabled and its listener migration has rollback. Root updater code is captured from the verified source archive, outside the build user's writable source/output. Checked: build 0 warnings/errors, 431 .NET tests, 35 installer tests, 7 real-local-Git updater tests, docs/syntax/whitespace. The attack regression failed before the fix and now passes. No real Linux privilege escalation or deployment was exercised. Post-merge: anonymous clone is 1.2.1; tree exactly matches the reviewed head; raw bootstrap/helpers/docs match the clone and the updater shebang is LF. Published host install dry-run reports HTTP :5187; obsolete host updater refuses deployment with the in-container instruction. The local primary checkout is updated and clean, issue branch/worktree removed, and evidence retained under ignored artifacts/publication-43caf1e/. No live LXC or external proxy was modified here. Real Linux build/locking/migration and provider authorization remain unverified.
schmidt.florian removed the status/in-progressagent/florianmodel/gpt-6.1-sol labels 2026-11-15 13:10:24 +01:00
Sign in to join this conversation.