zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
26.81k stars 1.86k forks source link

(Bug report) Revisions are blank or disappeared #3637

Open lndjenkinson opened 1 year ago

lndjenkinson commented 1 year ago

Trilium Version

0.59.0 beta

What operating system are you using?

Ubuntu

What is your setup?

Local (no sync)

Operating System Version

Ubuntu 22.04 LTS

Description

All of my revisions have disappeared. Most of them, no matter how old, just say "No revisions for this note." The few notes that have revisons listed, I can click on the revision, but the page is still blank. Is there a way to revert back to an earlier version? This just happened with the last update.

Error logs


jquery.fancytree-all-deps.min.js:1
FancytreeNode@IoFP37fXGx0X[title='Shared Notes'] nodeSetExpanded: UL.style.display already set
  | d | @ | jquery.fancytree-all-deps.min.js:1 -- | -- | -- | --
DevTools failed to load source map: Could not load content for http://127.0.0.1:37840/assets/v0.59.0-beta/libraries/bootstrap/js/bootstrap.bundle.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:37840/assets/v0.59.0-beta/libraries/fancytree/jquery.fancytree-all-deps.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:37840/assets/v0.59.0-beta/libraries/split.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:37840/libraries/ckeditor/ckeditor.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:37840/assets/v0.59.0-beta/libraries/bootstrap/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
lndjenkinson commented 1 year ago

I have found something interesting. If I download a listed revision, I can open it in my browser, but I still cannot see it in Triliium. Here is a screenshot of one of them: image

zadam commented 1 year ago

Hello, there was a bug which caused that note revision content was not displayed. This was just a display problem and no data loss occurred. Will be fixed in 0.59.1 soon.

You also mention that you don't see any revisions for some notes. I'm not aware of any such problem unfortunately.

If you want, you can restore some backup and check if these revisions were available before: https://github.com/zadam/trilium/wiki/Backup#restoring-backup

lndjenkinson commented 1 year ago

I'm not going to bother with it if no data loss has occurred and it's just a visibility issue. Since I am using the beta 59.0 I figured you would have a new version soon. :) As long as I can download a revision if I need one, it'll be okay. Just is extra-nice to have a bunch of them at my fingertips.

Thanks for your quick attention to this problem and continued conscientious development of Trilium Notes.

KInd Regards, LInda Jenkinson

I see you stand with Ukraine. If you are from there, I hope you can stay safe always.

On Mon, Feb 27, 2023 at 4:01 PM zadam @.***> wrote:

Hello, there was a bug which caused that note revision content was not displayed. This was just a display problem and no data loss occurred. Will be fixed in 0.59.1 soon.

You also mention that you don't see any revisions for some notes. I'm not aware of any such problem unfortunately.

If you want, you can restore some backup and check if these revisions were available before: https://github.com/zadam/trilium/wiki/Backup#restoring-backup

— Reply to this email directly, view it on GitHub https://github.com/zadam/trilium/issues/3637#issuecomment-1447175436, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARKGKSHBLAJ7R6SCEM3ZKIDWZUP3BANCNFSM6AAAAAAVGKPDAY . You are receiving this because you authored the thread.Message ID: @.***>

process commented 1 year ago

I was experiencing this in 0.59.0-beta, but it appears fixed in 0.59.1. Thank you!

Nriver commented 9 months ago

Maybe you can try to delete the cache in ~/.config/Trilium Notes/, see if anything changes.

By the way, you need to upgrade to 0.60.4 before upgrade to the latest version.