mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4071] [Issue]: Auto-update wipes characters and personas/Add Automatic Backups #2197
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#2197
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 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4071
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Running start.sh triggered an auto-update and rebuild, after which all user-created characters and personas disappeared. The local data directory was recreated with fresh files, and no backup or encryption key remained. The workaround is to have optional automatic backups.
Expected behavior
Updating and restarting Marinara Engine should preserve all user-created characters, personas, encryption keys, and other data under packages/server/data/. An optional toggle where you can do backups in Settings, where you specify how often (every day, every week, every month) when they happen; a newly created backup replaces the old one.
Actual behavior
After the auto-update and restart, all user-created characters and personas were gone. Only the built-in professor_mari character remained, and packages/server/data/ contained newly created files.
Steps to reproduce
Environment
Logs, screenshots, or video
The first ./start.sh run reported "[ERROR] Node.js is not installed." After Node.js v24.18.0 was installed, the next run performed "git merge origin/main --ff-only," rebuilt, and started successfully. Inspection found packages/server/data/ files timestamped 2026-07-23 11:26–11:31, with no old data, backup, trash copy, or .encryption-key.
Additional context
The repository was originally cloned on 2026-07-21, and user data existed before the update. packages/server/data/ is listed in .gitignore, so git operations were not expected to modify it. It is unclear whether the auto-update stash/reset path or another process caused the deletion. A second user reported that Marinara suddenly shut down and all data disappeared. Recovery was unsuccessful; automatic optional backups were suggested as a safeguard. An issue was previously referenced at https://github.com/Pasta-Devs/Marinara-Engine/issues/3976.
Discord thread: Data lost in update
Discord thread link: https://discord.com/channels/1417099416812392641/1529787421468921966
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (20 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 25, 2026):
🔧 Ownership note: @SpicyMarinara is handling this in draft PR #4077 as part of the current open-issue sweep.