mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4845] [Issue]: Restored chat history is missing after reinstall #2676
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#2676
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 (Aug 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4845
Originally assigned to: @SpicyMarinara on GitHub.
Summary
After a fresh source reinstall from the latest main branch, restored storage data is present and metadata loads, but conversation messages do not appear in the UI or reach the prompt context builder.
Expected behavior
Restored characters, tracker data, conversation titles, and complete chat histories should load from the existing storage directory. Existing messages should also be included as context when submitting a new prompt.
Actual behavior
The initial GET /chats request returns the full 3.02 MB conversation payload, but message-fetching requests return an empty array with Content-Length: 2. The workspace remains blank, the frontend repeatedly polls GET /client, and prompts submitted in restored chats receive zero prior context.
Steps to reproduce
Environment
Logs, screenshots, or video
GET /chats returns a 3.02 MB JSON payload containing the full conversation history. Message-fetching requests return Content-Length: 2 ([]), followed by repeated GET /client polling. Model reasoning logs report "0 context turns" and "no other context at all." A screenshot was referenced, but it was not included in the provided Discord context.
Additional context
The reinstall was performed to recover from a bad update. Raw restored storage files and keys were reported as intact and uncorrupted. Character cards, tracker information, and conversation titles hydrate into the sidebar index, suggesting a regression in backend history retrieval or the storage adapter rather than only a frontend rendering issue.
Discord thread: Imported Chats on re-install do not show up.
Discord thread link: https://discord.com/channels/1417099416812392641/1536226316108431380
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (4 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 (Aug 10, 2026):
@SpicyMarinara is implementing this in draft PR #4847.