[GH-ISSUE #3090] [Issue]: Update/install commands can break launch when upgrading from 2.0.6 to 2.0.7/2.0.8 #1651

Closed
opened 2026-10-21 05:41:19 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jun 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3090

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Users reported that updating Marinara Engine from 2.0.6 to 2.0.7/2.0.8 using start.bat or the in-app update button can leave the app unable to launch. A manual git reset-based workaround restored the app for one user, but another user reported the workaround caused launch failure.

Expected behavior

Updating from 2.0.6 to 2.0.7/2.0.8 should complete successfully and Marinara Engine should continue launching normally afterward.

Actual behavior

The update process appears to fail for some users. One user was stuck on 2.0.6 until running a manual reset workaround; another reported that running the provided commands resulted in Marinara Engine no longer launching.

Steps to reproduce

  1. Start from Marinara Engine 2.0.6.
  2. Attempt to update using start.bat or the update button in Settings.
  3. Try to launch Marinara Engine after the update attempt.

Environment

  • Marinara Engine version: 2.0.6 -> 2.0.7/2.0.8
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

One user attached a screenshot showing the result of running the provided commands. No text logs were provided in the Discord context.

Additional context

A workaround was suggested: git fetch origin main followed by git reset --hard origin/main, with a warning that custom extensions may be removed while other user data is preserved. Another recovery sequence was also suggested involving corepack enable, corepack prepare pnpm@10.33.2 --activate, deleting node_modules and build artifacts, then running pnpm install and build commands.

Discord thread: Installation failed 2.0.6 -> 2.0.7/.8
Discord thread link: https://discord.com/channels/1417099416812392641/1521502981877665873
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (12 messages)
[2026-06-30T13:09:39.038Z] kolache: Workaround in the meantime:
cd to your Marinara Engine folder and run these:
` ` `
git fetch origin main
git reset --hard origin/main
` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521502981877665873]

[2026-06-30T13:10:34.720Z] kolache: if you have custom extensions back those up or they may get nuked. all other user data is preserved
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521503215424639118]

[2026-06-30T13:18:15.216Z] Kneurotic: Ok, It looks like it's working. Luckily I don't have custom extensions. 
Now on: 
Release: v2.0.8
Build: d64ba7e

up to date :3 thanks!!
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521505146884985054]

[2026-06-30T13:41:20.773Z] Marinara: Do we know why this is happening?
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521510958332379146]

[2026-06-30T13:41:42.038Z] Loinne: Skill issue?
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511047523995689]

[2026-06-30T13:41:49.213Z] kolache: afaik every user reporting it has used `start.bat` or update button inside settings
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511077618385006]

[2026-06-30T13:41:51.146Z] Loinne: I can check git logs
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511085725712454]

[2026-06-30T13:42:05.139Z] Marinara: Have they tried not using it? :Clueless:
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511144416612383]

[2026-06-30T13:49:07.069Z] Loinne: No I can't.  Just add commands in the OP post after detecting inability to update and reattempt, instead of just printing to log
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521512914119294976]

[2026-06-30T13:58:21.007Z] Solsgriz: this is the result of using these two commands, for me

[attached image 1: https://cdn.discordapp.com/attachments/1521502981877665873/1521515237474435133/image.png?ex=6a451cfd&is=6a43cb7d&hm=05bb4a50ec94e108359ac0f10bb19f547275658f5950c990d87e40b36b9e07bb&]
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521515237503668405]

[2026-06-30T13:58:40.233Z] Solsgriz: i am unable to launch marinara engine now, whereas before it was just stuck on 2.0.6
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521515318143483945]

[2026-06-30T14:00:52.106Z] kolache: you try this
` ` `
cd ...\Marinara-Engine

git reset --hard origin/main

corepack enable
corepack prepare pnpm@10.33.2 --activate

rmdir /s /q node_modules packages\shared\dist packages\server\dist packages\client\dist
del /q packages\shared\tsconfig.tsbuildinfo packages\server\tsconfig.tsbuildinfo packages\client\tsconfig.tsbuildinfo 2>nul

pnpm install
pnpm --filter @marinara-engine/shared build
pnpm --filter @marinara-engine/server build
` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521515871259070627]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jun 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3090 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Users reported that updating Marinara Engine from 2.0.6 to 2.0.7/2.0.8 using `start.bat` or the in-app update button can leave the app unable to launch. A manual git reset-based workaround restored the app for one user, but another user reported the workaround caused launch failure. ## Expected behavior Updating from 2.0.6 to 2.0.7/2.0.8 should complete successfully and Marinara Engine should continue launching normally afterward. ## Actual behavior The update process appears to fail for some users. One user was stuck on 2.0.6 until running a manual reset workaround; another reported that running the provided commands resulted in Marinara Engine no longer launching. ## Steps to reproduce 1. Start from Marinara Engine 2.0.6. 2. Attempt to update using `start.bat` or the update button in Settings. 3. Try to launch Marinara Engine after the update attempt. ## Environment - Marinara Engine version: 2.0.6 -> 2.0.7/2.0.8 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video One user attached a screenshot showing the result of running the provided commands. No text logs were provided in the Discord context. ## Additional context A workaround was suggested: `git fetch origin main` followed by `git reset --hard origin/main`, with a warning that custom extensions may be removed while other user data is preserved. Another recovery sequence was also suggested involving `corepack enable`, `corepack prepare pnpm@10.33.2 --activate`, deleting `node_modules` and build artifacts, then running `pnpm install` and build commands. Discord thread: Installation failed 2.0.6 -> 2.0.7/.8 Discord thread link: https://discord.com/channels/1417099416812392641/1521502981877665873 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (12 messages)</summary> ```text [2026-06-30T13:09:39.038Z] kolache: Workaround in the meantime: cd to your Marinara Engine folder and run these: ` ` ` git fetch origin main git reset --hard origin/main ` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521502981877665873] [2026-06-30T13:10:34.720Z] kolache: if you have custom extensions back those up or they may get nuked. all other user data is preserved [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521503215424639118] [2026-06-30T13:18:15.216Z] Kneurotic: Ok, It looks like it's working. Luckily I don't have custom extensions. Now on: Release: v2.0.8 Build: d64ba7e up to date :3 thanks!! [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521505146884985054] [2026-06-30T13:41:20.773Z] Marinara: Do we know why this is happening? [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521510958332379146] [2026-06-30T13:41:42.038Z] Loinne: Skill issue? [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511047523995689] [2026-06-30T13:41:49.213Z] kolache: afaik every user reporting it has used `start.bat` or update button inside settings [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511077618385006] [2026-06-30T13:41:51.146Z] Loinne: I can check git logs [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511085725712454] [2026-06-30T13:42:05.139Z] Marinara: Have they tried not using it? :Clueless: [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521511144416612383] [2026-06-30T13:49:07.069Z] Loinne: No I can't. Just add commands in the OP post after detecting inability to update and reattempt, instead of just printing to log [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521512914119294976] [2026-06-30T13:58:21.007Z] Solsgriz: this is the result of using these two commands, for me [attached image 1: https://cdn.discordapp.com/attachments/1521502981877665873/1521515237474435133/image.png?ex=6a451cfd&is=6a43cb7d&hm=05bb4a50ec94e108359ac0f10bb19f547275658f5950c990d87e40b36b9e07bb&] [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521515237503668405] [2026-06-30T13:58:40.233Z] Solsgriz: i am unable to launch marinara engine now, whereas before it was just stuck on 2.0.6 [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521515318143483945] [2026-06-30T14:00:52.106Z] kolache: you try this ` ` ` cd ...\Marinara-Engine git reset --hard origin/main corepack enable corepack prepare pnpm@10.33.2 --activate rmdir /s /q node_modules packages\shared\dist packages\server\dist packages\client\dist del /q packages\shared\tsconfig.tsbuildinfo packages\server\tsconfig.tsbuildinfo packages\client\tsconfig.tsbuildinfo 2>nul pnpm install pnpm --filter @marinara-engine/shared build pnpm --filter @marinara-engine/server build ` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1521502981877665873/1521515871259070627] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:41:19 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 30, 2026):

Covered by the current launcher/update hardening that is included in the v2.0.9 prep branch: Windows, macOS/Linux, and Termux launchers fetch origin/main, stash local/untracked drift, reset installed main/detached checkouts to the fetched release commit when fast-forward fails, print Git's real error when updating is still blocked, and force a rebuild if source/dist versions or build commits disagree.\n\nImportant limitation: users already stuck on an older broken launcher may need one manual repair/update step to get the new launcher code, because the old launcher is the part that cannot self-heal. After that, normal launcher updates should recover again.\n\nVerified with pnpm check and pnpm version:check.

<!-- gh-comment-id:4844730791 --> @SpicyMarinara commented on GitHub (Jun 30, 2026): Covered by the current launcher/update hardening that is included in the v2.0.9 prep branch: Windows, macOS/Linux, and Termux launchers fetch `origin/main`, stash local/untracked drift, reset installed main/detached checkouts to the fetched release commit when fast-forward fails, print Git's real error when updating is still blocked, and force a rebuild if source/dist versions or build commits disagree.\n\nImportant limitation: users already stuck on an older broken launcher may need one manual repair/update step to get the new launcher code, because the old launcher is the part that cannot self-heal. After that, normal launcher updates should recover again.\n\nVerified with `pnpm check` and `pnpm version:check`.
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#1651
No description provided.