You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Doc Page wipes to clear and overwrites on every window load - Needs backup restoration #2353
After editing some pages, I closed the windows, and upon reopening the windows, the pages continually cleared all data, then updated the page history to blank.
The history buttons and windows were failing and asking to [Try Again]
No matter what user or machine I opened the pages from, the page would wipe then save.
I disabled the user preference for the bar, but none of that corrected the behaviour.
Resolution
I moved my image to 0.95.0 which preserved the database compatibility (thankfully), and removed the behaviour.
Notes
I cant be certain that it was the bar explicitly, or just the state of the latest main. But this was massively problematic.
@Philipinho Nothing in particular, though I didn't check the console deeply.
In dev tools:
There were 2 Network sockets, the site and then the collab.
The response data listed an incoming read/write which indicated the incoming doc data did come in.
But the on-machine logs in command line didn't report any logs of anything happening on the window load.
Here's the diagnostic trail, briefest form:
DB check — page content survived in Postgres; wiped versions were ~97–112 bytes vs the good 4383-byte version in page_history.
Redis — inspected queue keys; found a history-queue job for the page; flushed. Didn't fix it.
Server logs — app logged nothing on wipe; boot was clean. Ruled out server-side.
WebSocket frames — /collab and /socket.io both connected (101); server sent the real doc down (read-write, valid Yjs payload). So server was serving good content — the client was overwriting it after load.
Version/migration — pinned down the cause: the image was built from upstream main (unreleased), which carried an editor regression that wiped pages on load. DB migrations were ahead of stock latest. Rolling to tagged release v0.95.0 cleared it.
What we did not check: the in-browser JS console (only the Network/WS tab). If the dev wants console errors, that's the remaining gap — worth capturing on the broken main build if you can still reproduce it, though the fix (pin to v0.95.0, don't run main) already resolved it.
Root cause in one line: unreleased main build had a client-side editor bug that wiped page content on load; pinning to release v0.95.0 fixed it. Data was never lost.
If you can backup and restore your db to a new test Docmost installation and then run the main code on it, that would be awesome.
I’d like to know if there’s a client side error causing this. Which in that case, would be logged in the browser console.
changed the title [-][Experimental Bar] Doc Page wipes to clear and overwrites on every window load - Needs backup restoration[/-][+]Doc Page wipes to clear and overwrites on every window load - Needs backup restoration[/+]on Aug 1, 2026
Activity
Philipinho commentedon Jul 21, 2026
Was there any error in the browser console log?
I should add, this was encountered in unreleased version of Docmost.
GaianHelmers commentedon Jul 21, 2026
@Philipinho Nothing in particular, though I didn't check the console deeply.
In dev tools:
There were 2 Network sockets, the site and then the collab.
The response data listed an incoming read/write which indicated the incoming doc data did come in.
But the on-machine logs in command line didn't report any logs of anything happening on the window load.
Here's the diagnostic trail, briefest form:
page_history.history-queuejob for the page; flushed. Didn't fix it./collaband/socket.ioboth connected (101); server sent the real doc down (read-write, valid Yjs payload). So server was serving good content — the client was overwriting it after load.main(unreleased), which carried an editor regression that wiped pages on load. DB migrations were ahead of stocklatest. Rolling to tagged release v0.95.0 cleared it.What we did not check: the in-browser JS console (only the Network/WS tab). If the dev wants console errors, that's the remaining gap — worth capturing on the broken
mainbuild if you can still reproduce it, though the fix (pin to v0.95.0, don't runmain) already resolved it.Root cause in one line: unreleased
mainbuild had a client-side editor bug that wiped page content on load; pinning to release v0.95.0 fixed it. Data was never lost.Philipinho commentedon Jul 21, 2026
If you can backup and restore your db to a new test Docmost installation and then run the main code on it, that would be awesome.
I’d like to know if there’s a client side error causing this. Which in that case, would be logged in the browser console.
docs: add fork-maintenance guide (AGENTS.md + CLAUDE.md)
feat(offline): allow editing offline on previously-synced pages (phas…
[-][Experimental Bar] Doc Page wipes to clear and overwrites on every window load - Needs backup restoration[/-][+]Doc Page wipes to clear and overwrites on every window load - Needs backup restoration[/+]