Commit Graph

103 Commits

Author SHA1 Message Date
zhongwencool 940ceb570d Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-08-19 10:53:48 +08:00
Thales Macedo Garitezi efef052ec7 feat: enable upgrading release from 4.4.X to 4.5.Y
When upgrading from 4.4.X, the `install_upgrade` script from 4.4.X
is used, which forbids such transition.
2022-08-12 11:15:58 -03:00
Zaiming (Stone) Shi 4531703d14 refactor(bin/emqx): move file permission fix out from check_erlang_start 2022-08-11 16:30:18 +02:00
Zaiming (Stone) Shi 3a917605f5 fix(bin/emqx): avoid creating crash dump file when checking erlang 2022-08-11 16:30:18 +02:00
Zaiming (Stone) Shi 6a0d2c9d46 fix: add the 'die' function in bin/emqx 2022-08-11 08:25:37 +02:00
Zaiming (Stone) Shi eca211373f Merge remote-tracking branch 'origin/dev/v4.3.18' into dev/v4.4.7 2022-08-08 16:39:09 +02:00
William Yang a88c42cf82 fix(upgrade): ensure use correct no_dot_erlang.boot 2022-08-04 15:42:19 +02:00
Zaiming (Stone) Shi f47d952d82 Merge main-4.3 to 0803-sync-v4.3-to-v4.4 2022-08-03 13:41:11 +02:00
Zaiming (Stone) Shi a162196719
Merge pull request #8511 from qzhuyan/ci/william/4.3-new-otp-23.3
[WIP] ci: [4.3 only] release with OTP 23.3
2022-08-02 13:28:41 +01:00
William Yang c9c1dfb823 fix(upgrade): ensure files in BINDIR executable
During upgrade procedure, emqx zip file is repacked to .tar.gz but does not
preserve permission of files.

This commit ensure files under BINDIR is executable
2022-08-02 09:59:33 +02:00
zhongwencool 0e8888716d Merge branch 'main-v4.3' into copy-of-main-v4.4 2022-07-26 15:48:06 +08:00
zhongwencool 3df4c8c57e chore: conf check cli notes include conf result 2022-07-25 16:57:53 +08:00
Xinyu Liu 84c2aceba9
Merge branch 'main-v4.4' into copy-of_main-v4.3 2022-07-20 21:29:49 +08:00
William Yang 1fff0ced2c
Merge pull request #8496 from qzhuyan/dev/william/4.3-script-emqx-cluster-rescue
feat: add emqx_cluster_rescue (4.3)
2022-07-19 16:22:41 +02:00
Shawn 2d267364c4 fix: OS Env EMQX_DESCRIPTION not exported 2022-07-19 22:10:49 +08:00
zhongwencool 3248cb92e8 Merge branch 'main-v4.3' into sync-4.3-to-4.4 2022-07-19 11:02:11 +08:00
Zaiming (Stone) Shi c6ba22a0b4
chore: indentation fix in bin/emqx 2022-07-18 09:47:02 +02:00
zhongwencool 5f6259f6f4
chore: update bin/emqx
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-07-18 15:10:15 +08:00
zhongwencool 53c3f48755
chore: update bin/emqx
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-07-18 15:10:08 +08:00
zhongwencool 0834bc52d4
chore: update bin/emqx
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-07-18 15:09:59 +08:00
William Yang fc67d71f17 feat: add emqx_cluster_rescue 2022-07-15 16:55:07 +02:00
zhongwencool 87aeead653 feat: add check_conf cli to check config format 2022-07-14 17:17:03 +08:00
Shawn 4b6f275a43 fix: emqx start failed after uninstalling old version 2022-07-13 20:14:20 +08:00
JianBo He 7862d75ee4 Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4 2022-05-25 16:59:04 +08:00
Zaiming (Stone) Shi c741b9dfbe fix(bin/emqx): fix license option to allow space in path 2022-05-24 09:45:58 +02:00
Thales Macedo Garitezi 24f0592e94
fix(node_dump): define `RUNNER_ROOT_DIR` before sourcing vars
Port of https://github.com/emqx/emqx/pull/7733

`emqx_vars` requires `RUNNER_ROOT_DIR` to be defined before being
sourced.
2022-05-23 16:23:46 -03:00
Xinyu Liu 211fee3035
Merge branch 'main-v4.4' into copy-of_main-v4.3 2022-05-23 23:19:19 +08:00
Shawn ca842aa869 fix: merge main-v4.3 to main-v4.4 2022-05-23 11:23:27 +08:00
JianBo He 5a66f1e854
Merge pull request #7987 from zhongwencool/more-msg-check-erlang-failed
chore: show more error msg when check_erlang_start failed
2022-05-23 10:17:57 +08:00
Shawn 92c09fdd7b fix: deny relup between minor versions 2022-05-20 15:40:59 +08:00
zhongwencool 2a348c812c chore: show more error msg when check_erlang_start failed 2022-05-19 11:21:57 +08:00
DDDHuang 1adb33a6a0 fix: check node name, regular expression (good idea from stone) 2022-05-18 15:59:33 +08:00
Zaiming (Stone) Shi 5d8539c01a fix(bin/emqx): make sed replace \n work in macos 10 2022-04-23 13:27:02 +02:00
Zaiming (Stone) Shi 4a5602dc9c fix(windows): boot console and remote_console from erl not werl
Otherwise it's impossible to troubleshoot when werl fail to start
2022-04-22 09:04:11 +02:00
Zaiming (Stone) Shi 1de3ed8783 Merge remote-tracking branch 'origin/main-v4.3' into dev/v4.3.15 2022-04-22 07:45:00 +02:00
Ilya Averyanov d60252d678 fix(install_upgrade): fix unpack_zipballs return value 2022-04-21 11:56:51 +03:00
Zaiming (Stone) Shi d8cad2cc6c refactor(bin/emqx_ctl): simplify emqx_ctl
There is no need to duplicate the node name/cookie resolution
in another script, everything is ready in bin/emqx
2022-04-12 23:05:52 +02:00
Zaiming (Stone) Shi 2da27392f7 chore: refine boot script with more readable help info 2022-04-12 23:05:17 +02:00
Zaiming (Stone) Shi 5e652217c8 fix: make possible to have white spaces in root path 2022-04-12 00:05:26 +02:00
Zaiming (Stone) Shi 8798a5160c fix: ensure install_upgrace.escript always restore cwd 2022-04-04 19:10:52 +02:00
Zaiming (Stone) Shi cd06edf8c8 fix(relup): upgrader node hidden connect target node 2022-03-31 18:30:20 +02:00
Zaiming (Stone) Shi 1a02e60640
docs: fix message typo in bin/emqx 2022-03-04 13:52:11 +01:00
Zaiming (Stone) Shi a0de86f327 chore: refine boot message on missing dynlibs 2022-03-04 09:31:33 +01:00
Shawn 71100427dd fix(relup): release upgrade failed if release dir is removed
If the target vsn is in `unpacked` state, but the release dir
`releases/<vsn>` is removed, then installing the target vsn
again will fail with error `{error,enoent}`.

In this case we should extract the tar ball again and then continue
to install the release.
2022-03-01 10:13:17 +08:00
Shawn 442a1290a8 fix(relup): release upgrade failed on symlink already exists 2022-02-23 19:14:59 +08:00
Zaiming (Stone) Shi 2325e8cfb3 chore: ensure remsh node name prefix for upgrader
for remsh prefixed nodes, ekka pick a random port to listen on
instead of following the conventional port mapping rule:
ekka listens on 4370 for emqx or emqx0 and 4371 for
emqx1 and so on
2022-02-20 19:57:56 +01:00
Zaiming (Stone) Shi d2840a8aa1 docs: change EMQ X to EMQX in more descriptive info 2022-02-15 22:18:25 +01:00
Zaiming (Stone) Shi 72c909051b fix: stop command should detect defunct pid 2022-01-26 23:48:31 +01:00
Zaiming (Stone) Shi 967dc7d55e fix: portable shebang 2021-12-27 15:40:25 +01:00
Zaiming Shi 122842a656 build: copy only libcrypto and libtinfo 2021-11-22 15:46:19 +01:00