mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3976] [Issue]: Auto-update deletes characters and personas #2151
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#2151
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 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3976
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Running start.sh after installing Node.js triggered an auto-update and rebuild, after which all user-created characters and personas were missing. The packages/server/data/ directory appeared to have been recreated.
Expected behavior
Auto-updating and restarting Marinara Engine should preserve all user-created characters, personas, encryption keys, and other files in packages/server/data/.
Actual behavior
All user-created characters and personas disappeared after the auto-update and restart. Only the built-in professor_mari character remained, and no previous data files, backups, trash copies, or .encryption-key file could be found.
Steps to reproduce
Environment
Logs, screenshots, or video
Initial start.sh error: [ERROR] Node.js is not installed (no node was found). On the next run, start.sh performed an auto-update using git merge origin/main --ff-only and rebuilt successfully. A machine-wide search found no old data, backup, trash copy, or .encryption-key. Current packages/server/data/ files were timestamped 2026-07-23 11:26–11:31.
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 normal git operations should not modify it. The reporter suspects the auto-update path, including possible stash-push and reset-hard behavior, but the exact cause is unconfirmed. Hardware: AMD Ryzen 5 7500F, 30 GiB RAM. Node.js v24.18.0 was installed via nvm.
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 (1 message)
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 23, 2026):
Additional context update: "Its weird that it was running earlier today and now all of a sudden Marinara complain about NodeJS missing"