mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1671] [Issue]: Windows launcher update can fail after pnpm/Corepack changes #834
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Avroboros on GitHub (May 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1671
Originally assigned to: @cha1latte on GitHub.
Summary
I tried updating v1.5.9 to v1.6.1, but the launcher output the following:
[..] Aligning pnpm to 10.33.2 via Corepack...
[..] Checking for updates...
[WARN] Could not fast-forward to origin/main. Continuing with current version.
Obs: I literally haven't done any modifications whatsoever to the code for it to act like this. I simply installed the app in "Documents\Apps\MarinaraEngine", and imported my SillyTavern data, that's it.
I then tried doing:
git fetch origin
git reset --hard origin/main
git clean -fd
^git reset didn't work, and all this did was make it delete uninstall.exe. The command wasn't being recognized, even after I put "git reset --hard -- origin/main" (which the command told me to), it simply failed to recognize the directory.
I then proceeded to do:
git stash
git pull origin main
git stash pop
^It worked and I managed update it to 1.6.1. However, when I tried doing "corepack use pnpm@11.5.0" (since there was an update), it completely fucked itself and now whenever I launch the app I get the following output:
[..] Aligning pnpm to 11.5.0+sha512.dbfcc4f81cf48597afd4bc391ffdf12c11f1a9fb83a395bfa6b0a2d9cc2fd8ffebafdb1ccbd529632153f793904c2615b7f09fe1a345473fd1c35845172a8eb1 via Corepack...
[..] Using temporary pnpm 11.5.0+sha512.dbfcc4f81cf48597afd4bc391ffdf12c11f1a9fb83a395bfa6b0a2d9cc2fd8ffebafdb1ccbd529632153f793904c2615b7f09fe1a345473fd1c35845172a8eb1 via npx...
[ERROR] Failed to make pnpm 11.5.0+sha512.dbfcc4f81cf48597afd4bc391ffdf12c11f1a9fb83a395bfa6b0a2d9cc2fd8ffebafdb1ccbd529632153f793904c2615b7f09fe1a345473fd1c35845172a8eb1 available.
Press any key to continue . . .
This could probably count as a feature request, because I'll ask you guys the following: Please make a proper update system to avoid retarded bullshit like this from happening, because now I'm forced to nuke everything and reinstall from scratch. I also noticed that in the app it explicitly said that updating from there was disabled, and the only way was either by restarting or doing it manually, which is terrible, any piece of software nowadays has an automatic update system of some kind.
Environment
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 30, 2026):
Thanks for writing this up, and sorry the update path put you through that. The logs are helpful.
From what you described, this looks like it's coming from the legacy Windows launcher/installer update path used by the pre-refactor app. Right now we're only patching the refactor branch, so we probably won't make a code change to this older updater path unless the same failure reproduces in the refactor build.
One important note: please avoid running
git clean -fdinside the install folder. That can remove installer-owned files likeuninstall.exe, which is likely why that disappeared.For recovery, the safest path is to reinstall the latest release into the same install folder after backing up your Marinara data folder first. If you still have the repo checkout intact, restoring the repo-pinned package manager with
git restore package.jsonmay also get the launcher unstuck.I'm going to mark this as an old-codebase Windows update/install issue. If this same pnpm/Corepack failure happens on the refactor installer or refactor desktop build, we should track that as a current bug.
@cha1latte commented on GitHub (May 30, 2026):
Quick follow-up: I also filed #1673 to track the refactor-side decision for stable desktop update support.
That issue is separate from this legacy launcher report. It covers whether stable refactor desktop releases should stay manual-release only or move to signed Tauri updater support.
@cha1latte commented on GitHub (May 30, 2026):
Closing this as an old-codebase launcher/update issue. We are not planning to patch the legacy Windows launcher path unless the same failure reproduces in the refactor desktop build. The broader stable update strategy is now tracked in #1673.
@Avroboros commented on GitHub (May 30, 2026):
Thanks for reviewing this and thank you for the hard work. I backed up the data folder and tried running the installer onto the same directory, but I got the error:
═══ Step 2/6: Downloading Marinara Engine ═══
Existing installation found — fetching v1.6.1...
Local changes detected — stashing before update...
Warning: v1.6.1 resolved to
36634848f5, not the installer-expected
36634848f5. Continuing with fetched tag.error: pathspec '
36634848f5' did not match any file(s) known to git
This really shows that there's an extremely major discrepancy going that prevents me from even doing this (very likely to be the legacy update path that you mentioned).
What I ended up doing is just deleting the MarinaraEngine folder altogether and installing it from scratch. I pasted the data folder I backed up onto it and it worked just fine.
Now we'll see if this will happen again in future updates, if it does, I would greatly recommend you guys create some kind of global auto-updater that allows users to update the engine from inside itself, or by running some .exe.