Skip to content

Blockquote data loss #2075

Closed
Closed
@eslam-gomaa

Description

@eslam-gomaa

Describe the problem

Hello,
this is related to this issue
I found this in log, and just confirming if it's gonna be fixed in beta4 ?

image

Activity

eslam-gomaa

eslam-gomaa commented on Jun 7, 2021

@eslam-gomaa
Author

Got this when restarted the app

  • I'm using the Appimge one

image

88250

88250 commented on Jun 7, 2021

@88250
Member

image

I think the data is corrupted, but I am not sure how it happens.

eslam-gomaa

eslam-gomaa commented on Jun 7, 2021

@eslam-gomaa
Author

I think I faced this before, when I typed some paragraphs that include & symbol, for example
image

And worked normally After I removed the &


I'm not sure of this .. but I found an & symbol in the doc that got data loss and removed it
now will watch if it will happen again

eslam-gomaa

eslam-gomaa commented on Jun 7, 2021

@eslam-gomaa
Author

I checked the logs after I removed the & symbol and continued to edit the note

And did't get the error
image

self-assigned this
on Jun 7, 2021
88250

88250 commented on Jun 7, 2021

@88250
Member

v1.2.0-beta4 just released, please use it for testing.

eslam-gomaa

eslam-gomaa commented on Jun 7, 2021

@eslam-gomaa
Author

@88250, In beta4 i'm still getting block not found

image

eslam-gomaa

eslam-gomaa commented on Jun 7, 2021

@eslam-gomaa
Author

I got many of them like before

image

88250

88250 commented on Jun 8, 2021

@88250
Member

I'm not sure of this .. but I found an & symbol in the doc that got data loss and removed it
now will watch if it will happen again

Sorry, I couldn't reproduce it.

Please check whether enabled the experimental feature "use existing database" in settings - about.

eslam-gomaa

eslam-gomaa commented on Jun 8, 2021

@eslam-gomaa
Author

Yes, was used

88250

88250 commented on Jun 8, 2021

@88250
Member

Disabled it and restart it, let SiYuan recreate the database, I think it will work, thanks.

eslam-gomaa

eslam-gomaa commented on Jun 8, 2021

@eslam-gomaa
Author

Thanks will try

eslam-gomaa

eslam-gomaa commented on Jun 8, 2021

@eslam-gomaa
Author

I killed all the processes running before starting the app again, still seeing these

  • Encountered page closing automatically
    • But didn't encounter data loses
    * resident [true]
    * arch [amd64]
I 2021/06/08 06:49:09 conf.go:209: local serve path [http://192.168.1.15:6806]
I 2021/06/08 06:49:10 database.go:97: reinitialized database [/tmp/siyuan/siyuan.db]
I 2021/06/08 06:49:10 serve.go:50: kernel HTTP server is booting [http://0.0.0.0:6806]
I 2021/06/08 06:49:13 box.go:522: rebuilding database of box [siyuan-Eslam]
I 2021/06/08 06:49:19 working.go:125: kernel booted
E 2021/06/08 06:50:29 transaction.go:160: not found block [id=20210608065029-0e0yhsn]
I 2021/06/08 06:52:15 working.go:364: port [6806] is opened, try to check version of running kernel
I 2021/06/08 06:52:15 working.go:374: version of the running kernel is [1.2.0-beta4]



E 2021/06/08 07:07:34 transaction.go:160: not found block [id=20210608070733-tesiwwt]
E 2021/06/08 07:07:34 transaction.go:100: not found previous block [id=20210608070733-tesiwwt]
E 2021/06/08 07:08:03 transaction.go:160: not found block [id=20210608070802-j03xrtb]
E 2021/06/08 07:08:03 transaction.go:100: not found previous block [id=20210608070802-j03xrtb]
E 2021/06/08 07:08:05 transaction.go:160: not found block [id=20210608070803-swhvrbe]
E 2021/06/08 07:08:13 transaction.go:160: not found block [id=20210608070803-swhvrbe]
E 2021/06/08 07:08:15 transaction.go:160: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:08:15 transaction.go:100: not found previous block [id=20210608070747-z51l6w7]
E 2021/06/08 07:08:17 transaction.go:160: not found block [id=20210608070815-p4bbb0v]
E 2021/06/08 07:08:19 transaction.go:62: not found block [id=20210608070815-p4bbb0v]
E 2021/06/08 07:08:19 transaction.go:160: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:08:21 transaction.go:160: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:08:22 transaction.go:160: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:08:30 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:31 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:33 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:36 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:46 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:47 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:48 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:51 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:52 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:08:59 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:04 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:09 transaction.go:160: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:09:09 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:09 transaction.go:160: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:09:11 transaction.go:160: not found block [id=20210608070909-0hxuft1]
E 2021/06/08 07:09:16 transaction.go:160: not found block [id=20210608070909-0hxuft1]
E 2021/06/08 07:09:21 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:24 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:28 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:42 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:44 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:47 transaction.go:160: not found block [id=20210608070909-0hxuft1]
E 2021/06/08 07:09:47 transaction.go:62: not found block [id=20210608070909-0hxuft1]
E 2021/06/08 07:09:47 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:48 transaction.go:62: not found block [id=20210608070748-erngxod]
E 2021/06/08 07:09:48 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:53 transaction.go:160: not found block [id=20210608070951-5x4fndn]
E 2021/06/08 07:09:54 transaction.go:160: not found block [id=20210608070951-5x4fndn]
E 2021/06/08 07:09:56 transaction.go:160: not found block [id=20210608070951-5x4fndn]
E 2021/06/08 07:09:58 transaction.go:160: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:09:59 transaction.go:160: not found block [id=20210608070951-5x4fndn]
E 2021/06/08 07:10:01 transaction.go:62: not found block [id=20210608070747-z51l6w7]
E 2021/06/08 07:10:01 transaction.go:62: not found block [id=20210608070821-twezhfr]
E 2021/06/08 07:10:01 transaction.go:160: not found block [id=20210608070951-5x4fndn]
E 2021/06/08 07:10:02 transaction.go:160: not found block [id=20210608070951-5x4fndn]
E 2021/06/08 07:10:02 transaction.go:100: not found previous block [id=20210608070951-5x4fndn]

eslam-gomaa

eslam-gomaa commented on Jun 8, 2021

@eslam-gomaa
Author

Got to more issues

1 -- See this error when rebooting the app on linux
image

I must kill the process in order to work well

pkill siyuan

2 -- After rebooting the app, I found data missing from the note I was working on with nothing in logs ! 😢

eslam-gomaa

eslam-gomaa commented on Jun 8, 2021

@eslam-gomaa
Author

Still getting data losses, will rollback to beta2 temporarily

12 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@eslam-gomaa

      Issue actions

        Blockquote data loss · Issue #2075 · siyuan-note/siyuan