[GH-ISSUE #5256] error when launching the application #2911

Closed
opened 2026-10-21 05:57:54 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Zombieleaver on GitHub (Aug 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5256

Originally assigned to: @SpicyMarinara on GitHub.

a similar error appears and has appeared before, even after I updated everything, reinstalled it again - the application continues to crash and gives a similar error at startup.

{"level":50,"time":1787143834224,"pid":3604,"hostname":"DESKTOP-ITTG546","err":{"type":"StorageWriterLeaseError","message":"Another Marinara Engine process (PID 38872, host DESKTOP-ITTG546) may be using F:\meinge\Marinara-Engine\packages\server\data\storage. Close it before retrying. If it no longer exists, verify every process is stopped and remove only F:\meinge\Marinara-Engine\packages\server\data\storage\.writer-lease.","stack":"StorageWriterLeaseError: Another Marinara Engine process (PID 38872, host DESKTOP-ITTG546) may be using F:\meinge\Marinara-Engine\packages\server\data\storage. Close it before retrying. If it no longer exists, verify every process is stopped and remove only F:\meinge\Marinara-Engine\packages\server\data\storage\.writer-lease.\n at FileTableStore.acquireWriterLease (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/file-backed-store.js:1291:23)\n at FileTableStore.initialize (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/file-backed-store.js:1375:20)\n at createFileNativeDB (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/file-backed-store.js:2816:17)\n at createStorage (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/connection.js:10:22)\n at getDB (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/connection.js:20:21)\n at buildApp (file:///F:/meinge/Marinara-Engine/packages/server/dist/app.js:107:22)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async main (file:///F:/meinge/Marinara-Engine/packages/server/dist/index.js:35:17)","name":"StorageWriterLeaseError"},"msg":"[startup] Unhandled error during server bootstrap"}

Originally created by @Zombieleaver on GitHub (Aug 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5256 Originally assigned to: @SpicyMarinara on GitHub. a similar error appears and has appeared before, even after I updated everything, reinstalled it again - the application continues to crash and gives a similar error at startup. {"level":50,"time":1787143834224,"pid":3604,"hostname":"DESKTOP-ITTG546","err":{"type":"StorageWriterLeaseError","message":"Another Marinara Engine process (PID 38872, host DESKTOP-ITTG546) may be using F:\\meinge\\Marinara-Engine\\packages\\server\\data\\storage. Close it before retrying. If it no longer exists, verify every process is stopped and remove only F:\\meinge\\Marinara-Engine\\packages\\server\\data\\storage\\.writer-lease.","stack":"StorageWriterLeaseError: Another Marinara Engine process (PID 38872, host DESKTOP-ITTG546) may be using F:\\meinge\\Marinara-Engine\\packages\\server\\data\\storage. Close it before retrying. If it no longer exists, verify every process is stopped and remove only F:\\meinge\\Marinara-Engine\\packages\\server\\data\\storage\\.writer-lease.\n at FileTableStore.acquireWriterLease (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/file-backed-store.js:1291:23)\n at FileTableStore.initialize (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/file-backed-store.js:1375:20)\n at createFileNativeDB (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/file-backed-store.js:2816:17)\n at createStorage (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/connection.js:10:22)\n at getDB (file:///F:/meinge/Marinara-Engine/packages/server/dist/db/connection.js:20:21)\n at buildApp (file:///F:/meinge/Marinara-Engine/packages/server/dist/app.js:107:22)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async main (file:///F:/meinge/Marinara-Engine/packages/server/dist/index.js:35:17)","name":"StorageWriterLeaseError"},"msg":"[startup] Unhandled error during server bootstrap"}
bsakaguchi 2026-10-21 05:57:54 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 19, 2026):

Which version? This was fixed on latest release.

<!-- gh-comment-id:5342380066 --> @SpicyMarinara commented on GitHub (Aug 19, 2026): Which version? This was fixed on latest release.
Author
Owner

@Zombieleaver commented on GitHub (Aug 19, 2026):

updated to the latest version today. and today it started once after the update. But I decided to go in now, and it crashes at any startup.

<!-- gh-comment-id:5342400498 --> @Zombieleaver commented on GitHub (Aug 19, 2026): updated to the latest version today. and today it started once after the update. But I decided to go in now, and it crashes at any startup.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 19, 2026):

Lemme invetigate.

<!-- gh-comment-id:5342479216 --> @SpicyMarinara commented on GitHub (Aug 19, 2026): Lemme invetigate.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 19, 2026):

Taking this on in fix/issues-5252-5256-embedding-startup. I am preserving the writer lease as the data-loss guard, and fixing the launcher path so a second shortcut launch recognizes and reopens an already-running Marinara server instead of treating it as a new startup. A genuinely live but unresponsive writer will still require the PID to be stopped.

<!-- gh-comment-id:5342609486 --> @SpicyMarinara commented on GitHub (Aug 19, 2026): Taking this on in `fix/issues-5252-5256-embedding-startup`. I am preserving the writer lease as the data-loss guard, and fixing the launcher path so a second shortcut launch recognizes and reopens an already-running Marinara server instead of treating it as a new startup. A genuinely live but unresponsive writer will still require the PID to be stopped.
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#2911
No description provided.