[PR #8723] [MERGED] docs(installation): rewrite install and upgrade guides for clarity and accuracy #8768

Closed
opened 2026-11-07 17:39:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8723
Author: @Gunterlie
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @Gunterlie

Base: staging ← Head: docs/installation-guides


📝 Commits (10+)

  • 7e9148b docs(installation): rewrite INSTALLATION.md as a short platform chooser
  • 759a7c2 docs(installation): restructure windows.md, move update steps to UPGRADING, add stop/uninstall/data location
  • 2c4b60e docs(installation): restructure macos-linux.md, move update details to UPGRADING, add stop steps
  • a94fb0b docs(installation): restructure android-termux.md, add stop steps, link lockout help
  • a28396a docs(installation): restructure ios-pwa.md, add host IP and first-time setup steps
  • 0ae5acd docs(installation): restructure containers.md, add stop step, current tag example, login before LAN exposure
  • 8d62a80 docs(installation): restructure UPGRADING.md, fix Apply Update prerequisites and storage format 10, own manual update steps
  • 32040e3 docs(installation): review fixes for windows.md (what you see, split steps, indented code, terms explained)
  • d2a3eb4 docs(installation): review fixes for macos-linux.md (open a terminal, what you see, indented code)
  • ec31a6d docs(installation): review fixes for android-termux.md (node reset-login, readable setup command, paste steps, what you see)

📊 Changes

7 files changed (+543 additions, -735 deletions)

View changed files

📝 docs/INSTALLATION.md (+28 -25)
📝 docs/UPGRADING.md (+125 -111)
📝 docs/installation/android-termux.md (+45 -60)
📝 docs/installation/containers.md (+114 -134)
📝 docs/installation/ios-pwa.md (+54 -45)
📝 docs/installation/macos-linux.md (+92 -149)
📝 docs/installation/windows.md (+85 -211)

📄 Description

Linked issue

Part of #8721 (Docs rewrite: progress). No separate issue; the audit is in #8721. cc @SpicyMarinara

Why this change

New users fail at install and update. The audit found the Windows and macOS/Linux guides telling readers to set ADMIN_SECRET before Apply Update shows (wrong), UPGRADING describing storage format 8 when the app is at 10, three different Docker update commands, no "how do I stop it" or "where is my data" steps, and long walls of text that are hard to read on a phone.

What changed

  • INSTALLATION.md: picker for every platform (native and Docker offered for Mac/Linux), short "open it on your phone" path. −26% words.
  • installation/windows.md: installer path first, new start/stop, data folder and uninstall steps, manual update moved to UPGRADING. −46%.
  • installation/macos-linux.md: restructured, terms explained inline, start/stop steps. −37%.
  • installation/android-termux.md: shorter, long setup command wrapped, reset-login fixed. −31%.
  • installation/ios-pwa.md: new quick path with one IP-address command per OS. −17%.
  • installation/containers.md: one update command, LAN steps set a login first, stale tag fixed. −28%.
  • UPGRADING.md: "Which update method is mine?" table, Apply Update rules, manual update block, storage format 10. −13% (gained content).

Fact changes

  • Apply Update needs ADMIN_SECRET first → not on the server's own computer; the button depends on a git install on main/master/staging/detached plus UPDATES_APPLY_ENABLED (not UPDATES_APPLY_DISABLED); remote apply needs UPDATES_ALLOW_REMOTE_APPLY + ADMIN_SECRET + Admin Access (packages/server/src/routes/updates.routes.ts:859-889, update-apply-policy.ts, privileged-gate.ts).
  • Storage format 8 → current format is 10; a build refuses newer data (packages/server/src/db/file-backed-store.ts:367-374, 5038, storage-format.json).
  • Docker update docker compose down && pull && up -d → docker compose pull && docker compose up -d (updates.routes.ts:95 DOCKER_UPDATE_COMMAND).
  • Manual git update → pnpm install --force --frozen-lockfile (updates.routes.ts:94 MANUAL_GIT_UPDATE_COMMAND).
  • Example image tag 2.0.6 → 2.5.1 (package.json).
  • "Local Model" → Built-in model (en.json connections.add.device.local_model).
  • Termux pnpm reset-login → node scripts/reset-login.mjs (start-termux.sh runs pnpm through corepack/npx, so pnpm may not be on PATH).
  • New, from the installer: default folder %LOCALAPPDATA%\Marinara-Engine, ~2.5 GB, uninstall data prompt, packages\server\data (win/installer/installer.nsi:23, 42, 73, 844).
  • Container port change → PORT=8080 docker compose up -d (docker-compose.yml:10).
  • Removed "closing the console window stops the server" (only Ctrl+C is verified in the launchers).

Could not verify

Left as written (carried over) unless noted:

  • Windows 10/11 64-bit minimum.
  • Node 24 includes Corepack and Node 25 does not; NodeSource setup_24.x; ERR_PNPM_ENAMETOOLONG fix.
  • Safari menu names on iOS.
  • New wording from platform UIs, not in this repo: Windows SmartScreen More info / Run anyway; macOS ipconfig getifaddr en0; Compose "Started" output line.
  • First-start optional package and language-pack download wording in UPGRADING.
  • Which storage format each past release understood (2.5.0 rollback text kept, now "format 8 or newer").
  • en.json settings.accessStatus.login.forgot still says pnpm reset-login; that is right for desktop, maybe not for Termux.

Open questions

  • TROUBLESHOOTING.md (~lines 363-365) still says format 8 / format 7. Left for the TROUBLESHOOTING PR in #8721 so this PR stays one category.

Renamed headings with screenshots

None. Renamed headings without screenshots (no inbound links found): containers "Exposing Marinara to your LAN" → "Open Marinara from another device", "Pull and run" → "Start Marinara"; ios-pwa "HTTPS note" → "Use HTTPS if the app misbehaves"; UPGRADING "Your data is preserved" → "Your data and optional downloads". Inbound anchors UPGRADING.md#downgrading-to-an-older-version and #going-back-to-250 kept.

Renamed files

None.

Translation follow-up

#8724

Validation

  • node check-docs.mjs (relative links, anchors, screenshot headings, single H1) passes on all 7 files.
  • A separate fact-check pass found no wrong claims; a separate phone-reader pass's fixes are applied.
  • pnpm check passes locally
  • Read and followed CONTRIBUTING.md

Manual verification

  • Run the Windows installer on a clean PC and check each step and the default folder match the guide.
  • Follow macOS/Linux "Install from source" on a fresh machine.
  • Follow the Android app path on a phone without Termux.
  • Follow the iOS quick path and add to Home Screen.
  • docker compose pull && docker compose up -d updates a running container.
  • Apply Update shows on a git install with UPDATES_APPLY_ENABLED=true and no ADMIN_SECRET.
  • Read each guide on a phone-width screen.

Docs and release impact

  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (#8724)

🤖 Generated with Claude Code

https://claude.ai/code/session_01R5jnWUseUoEJVRiDfKqrbm


🔄 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/8723 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 11/3/2026 **Status:** ✅ Merged **Merged:** 11/3/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `docs/installation-guides` --- ### 📝 Commits (10+) - [`7e9148b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7e9148b3e4355063981dc9f8a423d25c75a03f7c) docs(installation): rewrite INSTALLATION.md as a short platform chooser - [`759a7c2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/759a7c247aad661efb8f7517e4eed72ba90e57f9) docs(installation): restructure windows.md, move update steps to UPGRADING, add stop/uninstall/data location - [`2c4b60e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2c4b60ec713c8f2817946ca6dd9bc1ffacc08636) docs(installation): restructure macos-linux.md, move update details to UPGRADING, add stop steps - [`a94fb0b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a94fb0b8526afd510d4aeaab29317726e50a02a3) docs(installation): restructure android-termux.md, add stop steps, link lockout help - [`a28396a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a28396a6e1a4a63e095ab0310a6a7a6b7deeec7d) docs(installation): restructure ios-pwa.md, add host IP and first-time setup steps - [`0ae5acd`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0ae5acd3acb75d4141439ffc80ad7ed1e6930689) docs(installation): restructure containers.md, add stop step, current tag example, login before LAN exposure - [`8d62a80`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8d62a8098ae21e7bf2d53c7e32329a2ab6a6c0d8) docs(installation): restructure UPGRADING.md, fix Apply Update prerequisites and storage format 10, own manual update steps - [`32040e3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/32040e3fd806babbde6c7aa644f8ee30952c8044) docs(installation): review fixes for windows.md (what you see, split steps, indented code, terms explained) - [`d2a3eb4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d2a3eb4d75479ad47c189fbd1b28dd15b06ea376) docs(installation): review fixes for macos-linux.md (open a terminal, what you see, indented code) - [`ec31a6d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ec31a6d01f96cd74d7cef8b5a27b0b8bb86b57d9) docs(installation): review fixes for android-termux.md (node reset-login, readable setup command, paste steps, what you see) ### 📊 Changes **7 files changed** (+543 additions, -735 deletions) <details> <summary>View changed files</summary> 📝 `docs/INSTALLATION.md` (+28 -25) 📝 `docs/UPGRADING.md` (+125 -111) 📝 `docs/installation/android-termux.md` (+45 -60) 📝 `docs/installation/containers.md` (+114 -134) 📝 `docs/installation/ios-pwa.md` (+54 -45) 📝 `docs/installation/macos-linux.md` (+92 -149) 📝 `docs/installation/windows.md` (+85 -211) </details> ### 📄 Description ## Linked issue Part of #8721 (Docs rewrite: progress). No separate issue; the audit is in #8721. cc @SpicyMarinara ## Why this change New users fail at install and update. The audit found the Windows and macOS/Linux guides telling readers to set `ADMIN_SECRET` before **Apply Update** shows (wrong), UPGRADING describing storage format 8 when the app is at 10, three different Docker update commands, no "how do I stop it" or "where is my data" steps, and long walls of text that are hard to read on a phone. ## What changed - `INSTALLATION.md`: picker for every platform (native and Docker offered for Mac/Linux), short "open it on your phone" path. −26% words. - `installation/windows.md`: installer path first, new start/stop, data folder and uninstall steps, manual update moved to UPGRADING. −46%. - `installation/macos-linux.md`: restructured, terms explained inline, start/stop steps. −37%. - `installation/android-termux.md`: shorter, long setup command wrapped, reset-login fixed. −31%. - `installation/ios-pwa.md`: new quick path with one IP-address command per OS. −17%. - `installation/containers.md`: one update command, LAN steps set a login first, stale tag fixed. −28%. - `UPGRADING.md`: "Which update method is mine?" table, Apply Update rules, manual update block, storage format 10. −13% (gained content). ## Fact changes - **Apply Update** needs `ADMIN_SECRET` first → not on the server's own computer; the button depends on a git install on `main`/`master`/`staging`/detached plus `UPDATES_APPLY_ENABLED` (not `UPDATES_APPLY_DISABLED`); remote apply needs `UPDATES_ALLOW_REMOTE_APPLY` + `ADMIN_SECRET` + **Admin Access** (`packages/server/src/routes/updates.routes.ts:859-889`, `update-apply-policy.ts`, `privileged-gate.ts`). - Storage format 8 → current format is 10; a build refuses newer data (`packages/server/src/db/file-backed-store.ts:367-374, 5038`, `storage-format.json`). - Docker update `docker compose down && pull && up -d` → `docker compose pull && docker compose up -d` (`updates.routes.ts:95` `DOCKER_UPDATE_COMMAND`). - Manual git update → `pnpm install --force --frozen-lockfile` (`updates.routes.ts:94` `MANUAL_GIT_UPDATE_COMMAND`). - Example image tag `2.0.6` → `2.5.1` (`package.json`). - "Local Model" → **Built-in model** (`en.json` `connections.add.device.local_model`). - Termux `pnpm reset-login` → `node scripts/reset-login.mjs` (`start-termux.sh` runs pnpm through corepack/npx, so `pnpm` may not be on PATH). - New, from the installer: default folder `%LOCALAPPDATA%\Marinara-Engine`, ~2.5 GB, uninstall data prompt, `packages\server\data` (`win/installer/installer.nsi:23, 42, 73, 844`). - Container port change → `PORT=8080 docker compose up -d` (`docker-compose.yml:10`). - Removed "closing the console window stops the server" (only <kbd>Ctrl</kbd>+<kbd>C</kbd> is verified in the launchers). ## Could not verify Left as written (carried over) unless noted: - Windows 10/11 64-bit minimum. - Node 24 includes Corepack and Node 25 does not; NodeSource `setup_24.x`; `ERR_PNPM_ENAMETOOLONG` fix. - Safari menu names on iOS. - New wording from platform UIs, not in this repo: Windows SmartScreen **More info** / **Run anyway**; macOS `ipconfig getifaddr en0`; Compose "Started" output line. - First-start optional package and language-pack download wording in UPGRADING. - Which storage format each past release understood (2.5.0 rollback text kept, now "format 8 or newer"). - `en.json` `settings.accessStatus.login.forgot` still says `pnpm reset-login`; that is right for desktop, maybe not for Termux. ## Open questions - `TROUBLESHOOTING.md` (~lines 363-365) still says format 8 / format 7. Left for the TROUBLESHOOTING PR in #8721 so this PR stays one category. ## Renamed headings with screenshots None. Renamed headings without screenshots (no inbound links found): containers "Exposing Marinara to your LAN" → "Open Marinara from another device", "Pull and run" → "Start Marinara"; ios-pwa "HTTPS note" → "Use HTTPS if the app misbehaves"; UPGRADING "Your data is preserved" → "Your data and optional downloads". Inbound anchors `UPGRADING.md#downgrading-to-an-older-version` and `#going-back-to-250` kept. ## Renamed files None. ## Translation follow-up #8724 ## Validation - `node check-docs.mjs` (relative links, anchors, screenshot headings, single H1) passes on all 7 files. - A separate fact-check pass found no wrong claims; a separate phone-reader pass's fixes are applied. - [ ] `pnpm check` passes locally - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification - [ ] Run the Windows installer on a clean PC and check each step and the default folder match the guide. - [ ] Follow macOS/Linux "Install from source" on a fresh machine. - [ ] Follow the Android app path on a phone without Termux. - [ ] Follow the iOS quick path and add to Home Screen. - [ ] `docker compose pull && docker compose up -d` updates a running container. - [ ] **Apply Update** shows on a git install with `UPDATES_APPLY_ENABLED=true` and no `ADMIN_SECRET`. - [ ] Read each guide on a phone-width screen. ## Docs and release impact - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (#8724) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01R5jnWUseUoEJVRiDfKqrbm --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:39:33 +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#8768
No description provided.