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

go service version 2.3.8 upgrade to version 3.4.0 #1399

Closed
changdiyixiu opened this issue Nov 14, 2023 · 7 comments
Closed

go service version 2.3.8 upgrade to version 3.4.0 #1399

changdiyixiu opened this issue Nov 14, 2023 · 7 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@changdiyixiu
Copy link

changdiyixiu commented Nov 14, 2023

What happened?

An error occurs when executing the build-all-service script during the upgrade: Error in ./build-all-service.sh:65. 'make --no-print-directory -C "${OPENIM_ROOT}" -j$compile_count build' exited with status 2

微信图片_20231114101142

What did you expect to happen?

Service upgrade succeeded!!

How can we reproduce it (as minimally and precisely as possible)?

The make component version is 3.8.2, golang version is 1.17, zookeeper, Kafka, MySQL, redis, mongo, etcd version is correct, open-im-server version is 2.3.0

Anything else we need to know?

No response

version

```console open-im-server2.3.0 # paste output here ```

Cloud provider

tuoyun

OS version

```console # On Linux: NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Make version

GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

</details>


### Install tools

<details>
</details>
@changdiyixiu changdiyixiu added the bug Categorizes issue or PR as related to a bug. label Nov 14, 2023
@kubbot kubbot changed the title go服务2.3.8版本升级3.4.0版本 go service version 2.3.8 upgrade to version 3.4.0 Nov 14, 2023
@cubxxw
Copy link
Contributor

cubxxw commented Nov 14, 2023

Could you please help me conduct a research on the minimum version of Make that supports parallel compilation using "make -j"? Additionally, it is crucial to ensure that the Go language version is above 1.19. Thank you so much for your assistance!

@changdiyixiu
Copy link
Author

The make version is 4.2 and the go version is 1.21. When build-all-service.sh is executed, an error occurs in the above picture. How to solve this problem?

@cubxxw
Copy link
Contributor

cubxxw commented Nov 14, 2023

Could you please consider replacing the use of "build-all-service.sh" with "make build"? "build-all-service.sh" essentially executes the command "make build -j $(CPU_NUM)". Thank you for your attention to this matter.

@changdiyixiu
Copy link
Author

Version 2.3 will have a compiled binary bin file, 3.4.0 using make build can not find the compiled binary bin file, can you tell me where the binary file is?

@changdiyixiu
Copy link
Author

During data migration, the v3 folder under open-im-server cannot be found, and the path under tools is different from that in the document. What is the problem?
微信截图_20231115090712

@kubbot
Copy link
Contributor

kubbot commented Jan 14, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@kubbot
Copy link
Contributor

kubbot commented Feb 21, 2024

This issue was closed because it has been stalled for 7 days with no activity.

@kubbot kubbot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants