mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5032] Unable to open on android #2786
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#2786
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 @ghost on GitHub (Aug 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5032
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Unable to open ME after upgrading to stable 2.4.2 on android
{"level":50,"time":1786730862021,"pid":14867,"hostname":"localhost","err":{"type":"StorageWriterLeaseError","message":"Another Marinara Engine process (PID 13993, host localhost) may be using /data/data/com.termux/files/home/Marinara-Engine/packages/server/data/storage. Close it before retrying. If it no longer exists, verify every process is stopped and remove only /data/data/com.termux/files/home/Marinara-Engine/packages/server/data/storage/.writer-lease.","stack":"StorageWriterLeaseError: Another Marinara Engine process (PID 13993, host localhost) may be using /data/data/com.termux/files/home/Marinara-Engine/packages/server/data/storage. Close it before retrying. If it no longer exists, verify every process is stopped and remove only /data/data/com.termux/files/home/Marinara-Engine/packages/server/data/storage/.writer-lease.\n at FileTableStore.acquireWriterLease (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/file-backed-store.js:1023:15)\n at FileTableStore.initialize (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/file-backed-store.js:1099:16)\n at createFileNativeDB (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/file-backed-store.js:2277:15)\n at createStorage (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/connection.js:7:20)\n at getDB (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/db/connection.js:17:17)\n at buildApp (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/app.js:71:20)\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n at async main (file:///data/data/com.termux/files/home/Marinara-Engine/packages/server/dist/index.js:32:15)","name":"StorageWriterLeaseError"},"msg":"[startup] Unhandled error during server bootstrap"}
@ghost commented on GitHub (Aug 14, 2026):
Also happens after clean install
@ghost commented on GitHub (Aug 14, 2026):
Note: seems to go away after switching to staging branch
@SpicyMarinara commented on GitHub (Aug 14, 2026):
This is fixed on
stagingby #5027 (b3272aaf7), which lets Android/Termux reclaim an app-private storage lease after the recorded process has exited while preserving the live-PID and path-scope safety checks. The fix is covered byscripts/regressions/storage-writer-lock.regression.ts. The reportedStorageWriterLeaseErrormatches that stale-lease case, and the reporter confirmed the problem goes away after switching tostaging, so I am closing this as completed.