mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4031] [Issue]: Auto-update snapshot fails with ERR_INVALID_URL_SCHEME on Windows 11 #2172
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#2172
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 @SpicyMarinara on GitHub (Jul 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4031
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The update snapshot process fails after updating to v2.3.4, causing Marinara Engine to skip auto-updates to protect user data.
Expected behavior
Marinara Engine should create an update snapshot and proceed with the automatic update check.
Actual behavior
The snapshot script throws ERR_INVALID_URL_SCHEME because fileURLToPath receives a non-file URL. Auto-update is skipped, although Marinara Engine otherwise continues to work.
Steps to reproduce
Environment
2d23b0b, Latest StableLogs, screenshots, or video
Console log:
[..] Aligning pnpm to 10.33.2 via Corepack...
[..] Checking for updates...
node:internal/url:1629
throw new ERR_INVALID_URL_SCHEME('file');
^
TypeError [ERR_INVALID_URL_SCHEME]: The URL must be of scheme file
at fileURLToPath (node:internal/url:1629:11)
at file:///D:/Marinara-Engine/scripts/protect-launcher-data.mjs:161:59
at ModuleJob.run (node:internal/modules/esm/module_job:439:25)
at async node:internal/modules/esm/loader:643:26
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5) {
code: 'ERR_INVALID_URL_SCHEME'
}
Node.js v24.18.0
[WARN] Could not create an update snapshot. Skipping auto-update to protect your data.
[OK] Node.js found:
v24.18.0
[OK] pnpm 10.33.2 ready
Additional context
The issue began after an update around 02:00 GMT on 2026-07-24. Marinara Engine remains functional, but does not update. The user did not switch to staging due to concern that it might cause further problems.
Discord thread: [WARN] Could not create an update snapshot. Skipping auto-update to protect your data.
Discord thread link: https://discord.com/channels/1417099416812392641/1530124150662889502
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 24, 2026):
Should be fixed.