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

memos update fails #773

Closed
1 of 2 tasks
jsapede opened this issue Dec 10, 2024 · 7 comments
Closed
1 of 2 tasks

memos update fails #773

jsapede opened this issue Dec 10, 2024 · 7 comments
Labels
bug Something isn't working question Further information is requested

Comments

@jsapede
Copy link

jsapede commented Dec 10, 2024

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

launching update scirpt fails

What settings are you currently utilizing?

  • Default Settings
  • Advanced Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

 /error: Your local changes to the following files would be overwritten by merge:
        proto/gen/api/v1/activity_service.pb.gw.go
        proto/gen/api/v1/auth_service.pb.gw.go
        proto/gen/api/v1/idp_service.pb.gw.go
        proto/gen/api/v1/inbox_service.pb.gw.go
        proto/gen/api/v1/markdown_service.pb.gw.go
        proto/gen/api/v1/memo_service.pb.gw.go
        proto/gen/api/v1/resource_service.pb.gw.go
        proto/gen/api/v1/user_service.pb.gw.go
        proto/gen/api/v1/webhook_service.pb.gw.go
        proto/gen/api/v1/workspace_service.pb.gw.go
        proto/gen/api/v1/workspace_setting_service.pb.gw.go
Please commit your changes or stash them before you merge.
Aborting

[ERROR] in line 63: exit code 0: while executing command output=$(git pull --no-rebase)
 '''

### Please provide detailed steps to reproduce the issue.

lauchend update command
@MickLesk MickLesk added the bug Something isn't working label Dec 13, 2024
@MickLesk
Copy link
Member

can you execute:
git diff

@MickLesk MickLesk added the question Further information is requested label Dec 13, 2024
@jsapede
Copy link
Author

jsapede commented Dec 13, 2024

where ? in /opt/memos folder ?

@jsapede
Copy link
Author

jsapede commented Dec 13, 2024

diff --git a/proto/gen/api/v1/activity_service.pb.gw.go b/proto/gen/api/v1/activity_service.pb.gw.go
index 0f0cf571..9c61fc17 100644
--- a/proto/gen/api/v1/activity_service.pb.gw.go
+++ b/proto/gen/api/v1/activity_service.pb.gw.go
@@ -10,6 +10,7 @@ package apiv1
 
 import (
        "context"
+       "errors"
        "io"
        "net/http"
 
@@ -24,63 +25,50 @@ import (
 )
 
 // Suppress "imported and not used" errors
-var _ codes.Code
-var _ io.Reader
-var _ status.Status
-var _ = runtime.String
-var _ = utilities.NewDoubleArray
-var _ = metadata.Join
+var (
+       _ codes.Code
+       _ io.Reader
+       _ status.Status
+       _ = errors.New
+       _ = runtime.String
+       _ = utilities.NewDoubleArray
+       _ = metadata.Join
+)
 
 func request_ActivityService_GetActivity_0(ctx context.Context, marshaler runtime.Marshaler, client ActivityServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
-       var protoReq GetActivityRequest
:

and many more messages

@jsapede
Copy link
Author

jsapede commented Dec 30, 2024

no ideas ?

@MickLesk
Copy link
Member

Not yet maybe next week.

@jsapede
Copy link
Author

jsapede commented Dec 31, 2024

was only to knwo if you need additionnal infos
no emergency

@MickLesk
Copy link
Member

MickLesk commented Jan 3, 2025

fixed with: #1207

can you check?

@MickLesk MickLesk closed this as completed Jan 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 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants