usememos / memos

An open source, lightweight note-taking service. Easily capture and share your great thoughts.
https://usememos.com
MIT License
30.31k stars 2.27k forks source link

Getting a list error after migrate from 0.18 to 0.21 #3340

Closed lucky13820 closed 4 months ago

lucky13820 commented 4 months ago

Describe the bug

I upgraded to 0.21 via Docker Compose today from 0.18. I can log in, but it won't load any data. After searching the Issues, it looks like the new version has a new database schema. So I tried to create a new Cloudflare R2 bucket. But it still couldn't work. I'm not sure what I should try now.

Uncaught (in promise) ClientError: /memos.api.v2.TagService/ListTags INTERNAL: failed to list tags: SQL logic error: no such table: tag (1)

Uncaught (in promise) ClientError: /memos.api.v2.MemoService/ListMemos INTERNAL: failed to convert memo: failed to list memo resources: rpc error: code = Internal desc = failed to list resources

Steps to reproduce

Upgrade to 0.21 via Docker Compose Log in to memos Seeing the error in the console, not seeing any data.

The version of Memos you're using

0.21

Screenshots or additional context

CleanShot 2024-05-10 at 17 10 57

sslxf000 commented 4 months ago

Same error, the watchtower auto upgrade the memos's container, and now i can't login to the web, tried downgrade to version: 0.21.0 image

image

lucky13820 commented 4 months ago

Yes, I updated it by using the stable tag, which is 0.21.0. Manually update to 0.22.0 fixed the problem. Thanks.

On May 11, 2024, at 17:17, Michael @.***> wrote:

Maybe your memos had been updated automatically. We will adjust the tags after v0.22.0 and the tag table will be removed. You can try to update to v0.22.0 manually first, it will fix the problem.

— Reply to this email directly, view it on GitHub https://github.com/usememos/memos/issues/3340#issuecomment-2106067131, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXUW4Z3R35UJ2E3EZWYKY3ZB2YH3AVCNFSM6AAAAABHRNO5RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGA3DOMJTGE. You are receiving this because you authored the thread.

Issues-translate-bot commented 3 months ago

Issue is not in English. It has been translated automatically.


You can take a look at this article https://github.com/usememos/memos/issues/3348#issuecomment-2106081619