[GH-ISSUE #5580] [Issue]: Writer lease error recurs on every startup #3090

Closed
opened 2026-10-21 05:59:30 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @Gunterlie on GitHub.

Summary

Marinara Engine reports a writer lease error on startup after the application and PC were shut down normally. Deleting the writer lease file resolves the error only for the current session, and it returns the next day.

Expected behavior

Marinara Engine should start normally after a clean shutdown without requiring manual deletion of the writer lease file.

Actual behavior

A writer lease error appears on every startup. The process ID listed by the error is not present in Task Manager, and deleting the writer lease file temporarily allows Marinara Engine to start.

Steps to reproduce

  1. Start Marinara Engine on Windows 11.
  2. Shut down Marinara Engine normally, then shut down the PC.
  3. Start the PC and launch Marinara Engine the next day.
  4. Observe the writer lease error despite no process with the listed ID running.
  5. Delete the writer lease file from the Marinara Engine folder and relaunch to resolve the error for the current session.

Environment

  • Marinara Engine version: Release v2.4.4, build 1a29936
  • Install type: Not provided
  • OS + version: Windows 11 25H2
  • Browser or app shell: Not provided

Logs, screenshots, or video

Screenshot of the startup error: https://cdn.discordapp.com/attachments/1542645811987611658/1542645812528554065/image.png?ex=6a91fc5e&is=6a90aade&hm=fd179b662941267053826184c2eef427e3e4af2bc8ce3b74b504d60ee323e6e6&

Additional context

The primary reporter uses no outside extensions, has not modified files in the Marinara Engine folders, and sees no warnings about leftover files when closing the application. The issue occurs whether Windows Fast Startup is enabled or disabled. A second user reported occasional similar behavior on Marinara Engine 2.4.4, build 2.4.4+3a700bb01dd6, running through Android/Termux on a OnePlus 10 Pro with Android 15; restarting the phone and relaunching Marinara Engine resolves it.

Discord thread: Writer lease error on every startup
Discord thread link: https://discord.com/channels/1417099416812392641/1542645811987611658
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)

Discord thread transcript (3 messages)
[2026-08-27T21:23:42.551Z] Pink Artus: So, I usually start ME up once a day and shut it down just before the PC itself, no restarting during the same PC 'session'. Since this weekend, every time I get the error from the screenshot on startup. There are never any other processes with the listed ID running when checking my task manager, I can fix it for the current session by removing the writer lease file from the ME folder (thank you Professor Mari), but then the same error is here again the next day.

It's not a huge inconvenience, but if anyone knows if I could tweak something for a more long time fix, please let me know. Professor sent me here for a more permanent solution :KissMarittore: 

ME version: 
Release: v2.4.4
Build: 1a29936
OS: Win11 25H2
No outside extensions at any point, haven't touched anything in the folders. Nothing shows up about leftover files when I close ME. Happens regardless of the system fast startup being on or off

[attached image 1: https://cdn.discordapp.com/attachments/1542645811987611658/1542645812528554065/image.png?ex=6a91fc5e&is=6a90aade&hm=fd179b662941267053826184c2eef427e3e4af2bc8ce3b74b504d60ee323e6e6&]
[Discord message: https://discord.com/channels/1417099416812392641/1542645811987611658/1542645811987611658]

[2026-08-27T21:23:43.836Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1542645811987611658/1542645817377292308]

[2026-08-27T21:28:02.272Z] DSBwizzard: Marinara Engine diagnostics
Version: 2.4.4
Build: 2.4.4+3a700bb01dd6
Commit: 3a700bb01dd6

Android/Termux
OnePlus 10 Pro
Android 15

I don't see this on every single startup of my own instance of ME, but I have seen it occasionally, requiring me to restart my phone and relaunch ME to resolve.
[Discord message: https://discord.com/channels/1417099416812392641/1542645811987611658/1542646901336313977]

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 (Aug 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5580 Originally assigned to: @Gunterlie on GitHub. ## Summary Marinara Engine reports a writer lease error on startup after the application and PC were shut down normally. Deleting the writer lease file resolves the error only for the current session, and it returns the next day. ## Expected behavior Marinara Engine should start normally after a clean shutdown without requiring manual deletion of the writer lease file. ## Actual behavior A writer lease error appears on every startup. The process ID listed by the error is not present in Task Manager, and deleting the writer lease file temporarily allows Marinara Engine to start. ## Steps to reproduce 1. Start Marinara Engine on Windows 11. 2. Shut down Marinara Engine normally, then shut down the PC. 3. Start the PC and launch Marinara Engine the next day. 4. Observe the writer lease error despite no process with the listed ID running. 5. Delete the writer lease file from the Marinara Engine folder and relaunch to resolve the error for the current session. ## Environment - Marinara Engine version: Release v2.4.4, build 1a29936 - Install type: Not provided - OS + version: Windows 11 25H2 - Browser or app shell: Not provided ## Logs, screenshots, or video Screenshot of the startup error: https://cdn.discordapp.com/attachments/1542645811987611658/1542645812528554065/image.png?ex=6a91fc5e&is=6a90aade&hm=fd179b662941267053826184c2eef427e3e4af2bc8ce3b74b504d60ee323e6e6& ## Additional context The primary reporter uses no outside extensions, has not modified files in the Marinara Engine folders, and sees no warnings about leftover files when closing the application. The issue occurs whether Windows Fast Startup is enabled or disabled. A second user reported occasional similar behavior on Marinara Engine 2.4.4, build 2.4.4+3a700bb01dd6, running through Android/Termux on a OnePlus 10 Pro with Android 15; restarting the phone and relaunching Marinara Engine resolves it. Discord thread: Writer lease error on every startup Discord thread link: https://discord.com/channels/1417099416812392641/1542645811987611658 Requested by: gunterlie (gunterlie, Discord ID 282074442962829312) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-08-27T21:23:42.551Z] Pink Artus: So, I usually start ME up once a day and shut it down just before the PC itself, no restarting during the same PC 'session'. Since this weekend, every time I get the error from the screenshot on startup. There are never any other processes with the listed ID running when checking my task manager, I can fix it for the current session by removing the writer lease file from the ME folder (thank you Professor Mari), but then the same error is here again the next day. It's not a huge inconvenience, but if anyone knows if I could tweak something for a more long time fix, please let me know. Professor sent me here for a more permanent solution :KissMarittore: ME version: Release: v2.4.4 Build: 1a29936 OS: Win11 25H2 No outside extensions at any point, haven't touched anything in the folders. Nothing shows up about leftover files when I close ME. Happens regardless of the system fast startup being on or off [attached image 1: https://cdn.discordapp.com/attachments/1542645811987611658/1542645812528554065/image.png?ex=6a91fc5e&is=6a90aade&hm=fd179b662941267053826184c2eef427e3e4af2bc8ce3b74b504d60ee323e6e6&] [Discord message: https://discord.com/channels/1417099416812392641/1542645811987611658/1542645811987611658] [2026-08-27T21:23:43.836Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1542645811987611658/1542645817377292308] [2026-08-27T21:28:02.272Z] DSBwizzard: Marinara Engine diagnostics Version: 2.4.4 Build: 2.4.4+3a700bb01dd6 Commit: 3a700bb01dd6 Android/Termux OnePlus 10 Pro Android 15 I don't see this on every single startup of my own instance of ME, but I have seen it occasionally, requiring me to restart my phone and relaunch ME to resolve. [Discord message: https://discord.com/channels/1417099416812392641/1542645811987611658/1542646901336313977] ``` </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:59:30 +07:00
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#3090
No description provided.