Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting some user causes a LOOP on memos that never come back. #4359

Open
mariushosting opened this issue Feb 3, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mariushosting
Copy link

mariushosting commented Feb 3, 2025

Describe the bug

2025/02/03 11:52:30 INFO OK method=/memos.api.v1.UserService/DeleteUser

2025/02/03 11:52:30 INFO OK method=/memos.api.v1.UserService/ListUsers

2025/02/03 11:52:34 INFO client error method=/memos.api.v1.UserService/GetUser error="rpc error: code = NotFound desc = user not found"

2025/02/03 11:52:34 INFO client error method=/memos.api.v1.UserService/GetUser error="rpc error: code = NotFound desc = user not found"

2025/02/03 11:52:34 ERROR server error method=/memos.api.v1.MemoService/ListMemos error="rpc error: code = Internal desc = runtime error: invalid memory address or nil pointer dereference"

2025/02/03 11:52:34 INFO OK method=/memos.api.v1.ResourceService/GetResourceBinary

2025/02/03 11:52:34 INFO OK method=/memos.api.v1.ResourceService/GetResourceBinary

2025/02/03 11:52:34 INFO OK method=/memos.api.v1.MemoService/ListMemos

2025/02/03 11:52:35 INFO OK method=/memos.api.v1.ResourceService/GetResourceBinary

2025/02/03 11:52:36 INFO OK method=/memos.api.v1.ResourceService/GetResourceBinary

2025/02/03 11:52:36 ERROR: Failed to write response: write tcp 172.23.0.3:5230->172.23.0.1:41756: write: broken pipe

2025/02/03 11:52:37 ERROR: Failed to write response: write tcp 172.23.0.3:5230->172.23.0.1:41800: write: broken pipe

2025/02/03 11:52:37 INFO OK method=/memos.api.v1.WorkspaceService/GetWorkspaceProfile

2025/02/03 11:52:37 INFO OK method=/memos.api.v1.AuthService/GetAuthStatus

Steps to reproduce

Settings / Member / Archive a registered member / Delete a registered member.

Now your pages will not be available anymore. Even if you are the admin user.

Image

The version of Memos you're using

0.23.1

Screenshots or additional context

No response

@mariushosting mariushosting added the bug Something isn't working label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant