[GH-ISSUE #3976] [Issue]: Auto-update deletes characters and personas #2151

Closed
opened 2026-10-21 05:45:48 +07:00 by bsakaguchi · 1 comment
Owner

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

  1. Clone the main branch from Pasta-Devs/Marinara-Engine and create characters or personas.
  2. Run ./start.sh without Node.js installed and receive the error: [ERROR] Node.js is not installed.
  3. Install Node.js v24.18.0 using nvm.
  4. Run ./start.sh again.
  5. Allow the automatic git merge from origin/main and rebuild to complete.
  6. Open Marinara Engine and observe that user-created characters and personas are gone and packages/server/data/ contains newly created files.

Environment

  • Marinara Engine version: Not provided
  • Install type: source
  • OS + version: Bazzite 44 (Kinoite), Fedora atomic variant; kernel 6.19.14-ogc5.1.fc44.x86_64
  • Browser or app shell: Not provided

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)
[2026-07-23T09:49:03.354Z] Eirvargr || Arrax: This sucks. i updated the ME and it cleared everything. i had opencode search my entire machine for the files

` ` `
Bad news — your old characters and personas are gone from this machine. Here's what happened:
The repo was cloned on July 21 and you ran Marinara then (data stored in packages/server/data/). Today at 11:23, start.sh ran an auto-update (git merge + rebuild). All current data files in packages/server/data/ were freshly created at 11:26-11:31, and there's no trace of your old data anywhere on 
the system — no backup, no trash, no .encryption-key, nothing.
This means the old packages/server/data/ directory was lost — likely when the repo was cleaned/re-cloned, or the update process somehow cleared it.
` ` `

Marinara Engine Bug Report
OS: Bazzite 44 (Kinoite) — Fedora atomic variant
Kernel: 6.19.14-ogc5.1.fc44.x86_64
CPU: AMD Ryzen 5 7500F 6-Core
RAM: 30 GiB
Node.js: v24.18.0 (freshly installed via nvm)

Install method: git clone from Pasta-Devs/Marinara-Engine (main branch)

Steps:
1. ./start.sh — failed with [ERROR] Node.js is not installed (no node was found)
2. Installed Node.js v24.18.0 via nvm
3. Ran ./start.sh again — auto-update ran (git merge origin/main --ff-only), rebuilt, server started successfully

Data loss:
After the update + restart, all user-created characters and personas are gone. The packages/server/data/ directory was recreated fresh (all files timestamped 2026-07-23 11:26–11:31). Only the built-in __professor_mari__ character survives. The previous install (cloned 2026-07-21) had user data that was present before the update.

The .gitignore includes packages/server/data/, so data shouldn't be touched by git operations. Unclear if the stash‑push + reset‑hard in the auto-update path or something else caused the wipe. No backup was available. No .encryption-key file remains.
[Discord message: https://discord.com/channels/1417099416812392641/1529787421468921966/1529787421468921966]

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 (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 1. Clone the main branch from Pasta-Devs/Marinara-Engine and create characters or personas. 2. Run ./start.sh without Node.js installed and receive the error: [ERROR] Node.js is not installed. 3. Install Node.js v24.18.0 using nvm. 4. Run ./start.sh again. 5. Allow the automatic git merge from origin/main and rebuild to complete. 6. Open Marinara Engine and observe that user-created characters and personas are gone and packages/server/data/ contains newly created files. ## Environment - Marinara Engine version: Not provided - Install type: source - OS + version: Bazzite 44 (Kinoite), Fedora atomic variant; kernel 6.19.14-ogc5.1.fc44.x86_64 - Browser or app shell: Not provided ## 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) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-23T09:49:03.354Z] Eirvargr || Arrax: This sucks. i updated the ME and it cleared everything. i had opencode search my entire machine for the files ` ` ` Bad news — your old characters and personas are gone from this machine. Here's what happened: The repo was cloned on July 21 and you ran Marinara then (data stored in packages/server/data/). Today at 11:23, start.sh ran an auto-update (git merge + rebuild). All current data files in packages/server/data/ were freshly created at 11:26-11:31, and there's no trace of your old data anywhere on the system — no backup, no trash, no .encryption-key, nothing. This means the old packages/server/data/ directory was lost — likely when the repo was cleaned/re-cloned, or the update process somehow cleared it. ` ` ` Marinara Engine Bug Report OS: Bazzite 44 (Kinoite) — Fedora atomic variant Kernel: 6.19.14-ogc5.1.fc44.x86_64 CPU: AMD Ryzen 5 7500F 6-Core RAM: 30 GiB Node.js: v24.18.0 (freshly installed via nvm) Install method: git clone from Pasta-Devs/Marinara-Engine (main branch) Steps: 1. ./start.sh — failed with [ERROR] Node.js is not installed (no node was found) 2. Installed Node.js v24.18.0 via nvm 3. Ran ./start.sh again — auto-update ran (git merge origin/main --ff-only), rebuilt, server started successfully Data loss: After the update + restart, all user-created characters and personas are gone. The packages/server/data/ directory was recreated fresh (all files timestamped 2026-07-23 11:26–11:31). Only the built-in __professor_mari__ character survives. The previous install (cloned 2026-07-21) had user data that was present before the update. The .gitignore includes packages/server/data/, so data shouldn't be touched by git operations. Unclear if the stash‑push + reset‑hard in the auto-update path or something else caused the wipe. No backup was available. No .encryption-key file remains. [Discord message: https://discord.com/channels/1417099416812392641/1529787421468921966/1529787421468921966] ``` </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:45:48 +07:00
Author
Owner

@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"

<!-- gh-comment-id:5057126341 --> @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"
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#2151
No description provided.