[GH-ISSUE #5397] [Feature]: Instances sync #2990

Closed
opened 2026-10-21 05:58:37 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

I remake the other sync feature request I hope this make more sense this way now.
If you have a instance on your phone and other on your windows PC its hard to continue a conversation what started on the other instance

Instance 1 primary because have local LLM capability
Instance 2 Android or a NAS because I not want run a PC 24/7 for local llms Whisper etc

Proposed solution

Sync the lorebooks, chats, assets, character cards, Professor Mari chats etc between instances.
Either use onedrive, webdaw, ftp or other way

Alternatives considered

make a directory structure what make this possible with goodsync or other syncing apps what work on filesystem level

Additional context

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 @szaki2 on GitHub (Aug 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5397 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? I remake the other sync feature request I hope this make more sense this way now. If you have a instance on your phone and other on your windows PC its hard to continue a conversation what started on the other instance Instance 1 primary because have local LLM capability Instance 2 Android or a NAS because I not want run a PC 24/7 for local llms Whisper etc ## Proposed solution Sync the lorebooks, chats, assets, character cards, Professor Mari chats etc between instances. Either use onedrive, webdaw, ftp or other way ## Alternatives considered make a directory structure what make this possible with goodsync or other syncing apps what work on filesystem level ## Additional context <!-- Optional: mockups, related issues, references, or examples --> ## 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:58:37 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 22, 2026):

Export and import ME state.

<!-- gh-comment-id:5381011805 --> @SpicyMarinara commented on GitHub (Aug 22, 2026): Export and import ME state.
Author
Owner

@szaki2 commented on GitHub (Aug 22, 2026):

That not work because manual that why i asked to put that states into one directory then you can sync it. or just make ME state export import can be automatize... I not sure but hard to export on a turned off machine...

<!-- gh-comment-id:5381346907 --> @szaki2 commented on GitHub (Aug 22, 2026): That not work because manual that why i asked to put that states into one directory then you can sync it. or just make ME state export import can be automatize... I not sure but hard to export on a turned off machine...
Author
Owner

@SpicyMarinara commented on GitHub (Aug 23, 2026):

Pookie, the problem isn't where the files are stored; ME already stores essentially all of its persistent state under one DATA_DIR.

The issue is that two running ME instances cannot safely share/sync that directory. Each instance loads its copy of the data into memory and writes snapshots back independently. A filesystem sync tool like OneDrive/GoodSync/WebDAV only knows that "file A changed"; it doesn't understand chats, messages, lorebooks, deletions, relationships between records, etc. If both instances change while disconnected, there is no safe way for the filesystem sync tool to merge those changes.

You can manually export the data from one machine, hop into another, and import it on another. Automatic export/import is copying snapshots, not syncing them. As soon as both installations are allowed to make changes independently, we need conflict detection and resolution.

What you're describing would therefore require an actual multi-instance synchronization system: revisions/change logs, device IDs, conflict handling, deletion tracking, migrations, locking/versioning, and so on. That's an entirely different feature from moving ME's state into a syncable folder.

If only one instance is allowed to be authoritative, then copying its data while the other instance is stopped is possible. But two independently usable instances that later merge automatically cannot be implemented safely as filesystem synchronization.

<!-- gh-comment-id:5384738038 --> @SpicyMarinara commented on GitHub (Aug 23, 2026): Pookie, the problem isn't where the files are stored; ME already stores essentially all of its persistent state under one `DATA_DIR`. The issue is that two running ME instances cannot safely share/sync that directory. Each instance loads its copy of the data into memory and writes snapshots back independently. A filesystem sync tool like OneDrive/GoodSync/WebDAV only knows that "file A changed"; it doesn't understand chats, messages, lorebooks, deletions, relationships between records, etc. If both instances change while disconnected, there is no safe way for the filesystem sync tool to merge those changes. You can manually export the data from one machine, hop into another, and import it on another. Automatic export/import is copying snapshots, not syncing them. As soon as both installations are allowed to make changes independently, we need conflict detection and resolution. What you're describing would therefore require an actual multi-instance synchronization system: revisions/change logs, device IDs, conflict handling, deletion tracking, migrations, locking/versioning, and so on. That's an entirely different feature from moving ME's state into a syncable folder. If only one instance is allowed to be authoritative, then copying its data while the other instance is stopped is possible. But two independently usable instances that later merge automatically cannot be implemented safely as filesystem synchronization.
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#2990
No description provided.