[PR #7987] [MERGED] docs: lockout recovery after updating and safe HOST example (#7914) #8042

Closed
opened 2026-10-24 04:09:54 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7987
Author: @Gunterlie
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Gunterlie

Base: staging ← Head: docs/lockout-recovery-7914


📝 Commits (8)

  • edfa9c8 docs: add lockout recovery steps and stop .env.example forcing HOST (#7914)
  • 574d040 docs: address review notes on lockout recovery (#7914)
  • 2698fa4 docs: cover Docker and IP_ALLOWLIST in lockout recovery (#7914)
  • 6ab6229 docs: say IP_ALLOWLIST still refuses unlisted addresses with a login (#7914)
  • 0e2b589 docs: say IP_ALLOWLIST replaces the login for listed addresses (#7914)
  • 928605a docs: keep the IP_ALLOWLIST note to the refusal rule (#7914)
  • 231c16d docs: point the HOST note to REMOTE_ACCESS.md for access rules (#7914)
  • c10c68d docs: reduce the HOST note to a pointer (#7914)

📊 Changes

4 files changed (+15 additions, -1 deletions)

View changed files

📝 .env.example (+2 -1)
📝 docs/REMOTE_ACCESS.md (+10 -0)
📝 docs/TROUBLESHOOTING.md (+2 -0)
📝 docs/UPGRADING.md (+1 -0)

📄 Description

Part of #7914 (parent #7909).

Why

Newer versions ask for a login when a visit comes through a reverse proxy, a tunnel or Tailscale Serve/Funnel. People who used such a setup without a password before can see a login page, a setup page or a 403 after they update, and the docs did not tell them how to get back in. Also, .env.example set HOST=0.0.0.0 without access control, which disagrees with the docs: a bare pnpm start should bind to loopback, and every launcher sets HOST itself.

What changed

  • .env.example: HOST is commented out, with a note that other devices need HOST=0.0.0.0 plus a login (BASIC_AUTH_USER/BASIC_AUTH_PASS) or IP_ALLOWLIST.
  • docs/REMOTE_ACCESS.md: new section "Locked out after updating" with three steps: open Marinara on the host, set a login in .env (and fix IP_ALLOWLIST if set), save or restart. Docker notes included. It suggests no bypass flags.
  • docs/UPGRADING.md, docs/TROUBLESHOOTING.md: one link each to the new section.

Manual verification

  • Read the new "Locked out after updating" section on GitHub and check that the anchor links from UPGRADING.md and TROUBLESHOOTING.md open it.
  • With a fresh copy of .env.example as .env, run pnpm start and confirm Marinara listens on loopback only.
  • Follow the three recovery steps on an install behind a same-host proxy and confirm that sign-in from another device works.

Follow-up

docs-i18n: REMOTE_ACCESS.md, UPGRADING.md and TROUBLESHOOTING.md need the same change in the translated packs on docs-i18n. I will open that PR after this one merges.

Local CodeRabbit: 6 findings over three runs; 5 fixed, the docs-i18n one is handled by the follow-up above.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/7987 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/21/2026 **Status:** ✅ Merged **Merged:** 10/21/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `docs/lockout-recovery-7914` --- ### 📝 Commits (8) - [`edfa9c8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/edfa9c89f422ddeee9c46f8a1469b6b636c77bda) docs: add lockout recovery steps and stop .env.example forcing HOST (#7914) - [`574d040`](https://github.com/Pasta-Devs/Marinara-Engine/commit/574d04065d4cbc385e1de1605210bb13f1b35b41) docs: address review notes on lockout recovery (#7914) - [`2698fa4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2698fa4748661e288e6d6a9504cbb40bf94de99f) docs: cover Docker and IP_ALLOWLIST in lockout recovery (#7914) - [`6ab6229`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6ab622929172ac1dac4d3a10123f193bc7e04b62) docs: say IP_ALLOWLIST still refuses unlisted addresses with a login (#7914) - [`0e2b589`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0e2b5895eb01f818865f5ca6202e2f1a4cae2d70) docs: say IP_ALLOWLIST replaces the login for listed addresses (#7914) - [`928605a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/928605a9df4740180320da5ec523e18957bc4b98) docs: keep the IP_ALLOWLIST note to the refusal rule (#7914) - [`231c16d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/231c16d8199b274038c708e7b73e9a007413aa8d) docs: point the HOST note to REMOTE_ACCESS.md for access rules (#7914) - [`c10c68d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/c10c68d5f2d3616dece8c2cef3c9d6fe7dcae726) docs: reduce the HOST note to a pointer (#7914) ### 📊 Changes **4 files changed** (+15 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+2 -1) 📝 `docs/REMOTE_ACCESS.md` (+10 -0) 📝 `docs/TROUBLESHOOTING.md` (+2 -0) 📝 `docs/UPGRADING.md` (+1 -0) </details> ### 📄 Description Part of #7914 (parent #7909). ## Why Newer versions ask for a login when a visit comes through a reverse proxy, a tunnel or Tailscale Serve/Funnel. People who used such a setup without a password before can see a login page, a setup page or a 403 after they update, and the docs did not tell them how to get back in. Also, `.env.example` set `HOST=0.0.0.0` without access control, which disagrees with the docs: a bare `pnpm start` should bind to loopback, and every launcher sets `HOST` itself. ## What changed - `.env.example`: `HOST` is commented out, with a note that other devices need `HOST=0.0.0.0` plus a login (`BASIC_AUTH_USER`/`BASIC_AUTH_PASS`) or `IP_ALLOWLIST`. - `docs/REMOTE_ACCESS.md`: new section "Locked out after updating" with three steps: open Marinara on the host, set a login in `.env` (and fix `IP_ALLOWLIST` if set), save or restart. Docker notes included. It suggests no bypass flags. - `docs/UPGRADING.md`, `docs/TROUBLESHOOTING.md`: one link each to the new section. ## Manual verification - [ ] Read the new "Locked out after updating" section on GitHub and check that the anchor links from UPGRADING.md and TROUBLESHOOTING.md open it. - [ ] With a fresh copy of `.env.example` as `.env`, run `pnpm start` and confirm Marinara listens on loopback only. - [ ] Follow the three recovery steps on an install behind a same-host proxy and confirm that sign-in from another device works. ## Follow-up docs-i18n: REMOTE_ACCESS.md, UPGRADING.md and TROUBLESHOOTING.md need the same change in the translated packs on `docs-i18n`. I will open that PR after this one merges. Local CodeRabbit: 6 findings over three runs; 5 fixed, the docs-i18n one is handled by the follow-up above. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-24 04:09:54 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8042
No description provided.