JianBo He
bd640a1748
Merge tag 'v4.3.14' into fix/v4.4.3
2022-04-21 17:27:42 +08:00
Ilya Averyanov
d60252d678
fix(install_upgrade): fix unpack_zipballs return value
2022-04-21 11:56:51 +03:00
Zaiming (Stone) Shi
f3a7c75871
Merge remote-tracking branch 'origin/main-v4.3' into dev/v4.4.3
2022-04-06 13:24:37 +02:00
Zaiming (Stone) Shi
8798a5160c
fix: ensure install_upgrace.escript always restore cwd
2022-04-04 19:10:52 +02:00
JianBo He
9c1848e440
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-04-01 09:36:38 +08:00
Zaiming (Stone) Shi
cd06edf8c8
fix(relup): upgrader node hidden connect target node
2022-03-31 18:30:20 +02:00
Zaiming (Stone) Shi
87a2155fb5
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-03-05 10:40:03 +01: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
JianBo He
f0be91b7fd
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-03-03 11:13:45 +08: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
Zaiming (Stone) Shi
c157a16907
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2022-02-26 01:05:06 +01:00
Shawn
442a1290a8
fix(relup): release upgrade failed on symlink already exists
2022-02-23 19:14:59 +08:00
JianBo He
521bdd20b4
Merge remote-tracking branch 'ce/main-v4.3' into merge-main-v4.3-into-v4.4
2022-02-22 11:43:46 +08:00
Zaiming (Stone) Shi
3a5a2047e9
build: fix windows build
2022-02-21 00:53:56 +01: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
Shawn
791b22f151
Merge branch 'main-v4.4' into copy_of_main-v4.3
2022-01-27 18:46:49 +08:00
Zaiming (Stone) Shi
72c909051b
fix: stop command should detect defunct pid
2022-01-26 23:48:31 +01:00
JianBo He
b297388c20
Merge branch 'main-v4.3' into merge-main-v4.3-into-v4.4
2022-01-11 10:03:28 +08:00
Zaiming (Stone) Shi
8f92d286e3
fix(bin/emqx): bump WAIT_FOR_ERLANG default to 150 seconds
2021-12-30 01:00:56 +01:00
Zaiming (Stone) Shi
967dc7d55e
fix: portable shebang
2021-12-27 15:40:25 +01:00
Shawn
66e848b771
fix(code_port): improve node stop wait loop
2021-12-17 17:42:55 +08:00
Zaiming (Stone) Shi
2514f474b0
Sync v4.3 to v4.4 ( #6262 )
...
* fix(http): fix duplicate http headers
* chore(appup): add appup.src
* fix(appup): fix multiply defined module in appup
* chore(appup): fix wrong version
* chore(ekka): Bump version to 0.8.1.5
* fix(update_appup): Fix warnings, add support for external repos
* build: use find command's -delete option
* ci: do not sync master branch
* build: ensure openssl11
* build: copy only libcrypto and libtinfo
* fix(trace): handler_id now always return atom
Co-authored-by: zhouzb <zhouzb@emqx.io>
Co-authored-by: k32 <10274441+k32@users.noreply.github.com>
2021-11-23 09:33:20 +08:00
Zaiming Shi
122842a656
build: copy only libcrypto and libtinfo
2021-11-22 15:46:19 +01:00
William Yang
a0fb78a38d
Merge pull request #6209 from qzhuyan/backport/william/4.3/node_dump-log-dir
2021-11-17 21:36:11 +01:00
William Yang
59656b3c3a
fix: source emqx_vars in node_dump tool
2021-11-17 13:19:05 +01:00
William Yang
4f0d86dd57
fix(node_dump): locate log dir for package installation
2021-11-17 13:18:59 +01:00
Shawn
133609a040
fix(relup): configs for plugins are missing after relup
2021-11-10 11:10:23 +08:00
Zaiming Shi
f5a2421fdb
fix(bin/emqx): ensure NAME is set
2021-11-08 13:27:38 +01:00
Zaiming Shi
ecb6c1c59e
build: copy dynamic libs for zip package
2021-10-31 17:21:26 +01:00
Zaiming Shi
18fc82855b
fix(bin/emqx): handle flags in vm.args
...
prior to this fix, the flags such as -heart in vm.args file were taken
as KEY="", VALUE="-heart"
as a result, the sed replacement replaces all lines with "-heart"
causing beam to crash at boot
2021-10-28 21:09:06 +02:00
Zaiming Shi
2e3c98dd55
fix(bin/emqx): fix boot log
...
prior to this fix the logger message (syslog) has the name and pid
missing.
with this change, the programe name, and its boot command is logged
to syslog, so the console boot is cleaner
2021-07-31 00:29:53 +02:00
Turtle
99c22eb2a8
fix(relup): fix relup badfun
2021-06-05 13:56:27 +08:00
Zaiming Shi
d4dcf94da6
fix(emqx.cmd): windows boot
2021-05-18 20:30:48 +08:00
Zaiming Shi
a1162249b5
fix(nodetool): find release in releases
2021-05-13 22:57:44 +02:00
Zaiming Shi
53291ac3ff
fix(nodetool): add path from RELEASES file
2021-05-13 21:59:08 +08:00
Zaiming Shi
873459a07f
fix(emqx_ctl): ensure env variables are exported
2021-05-11 14:25:46 +02:00
Zaiming Shi
3aba50605a
chore(nodetool): ensure correct lib dirs
...
Prioro to this change, ekka lib dir was added by inspecting
the ekka lib version in persisted RELEASES file.
However, this file may not be the true version if a hot
upgrade failed in the middle.
In this fix, it reads the per-version emqx.rel file
content to load lib paths.
2021-05-10 12:04:22 +02:00
k32
eb0488828b
fix(node_dump): Remove bashisms from node_dump script
2021-05-06 14:19:09 +02:00
k32
cb3dce598c
feat(node_dump): Add an option to set max log file age
2021-05-06 14:19:09 +02:00
k32
5302459a36
fix(node_dump): Please shellcheck
2021-05-06 14:19:09 +02:00
k32
f3083601ff
fix(node_dump): Avoid collecting old log files
2021-05-06 14:19:09 +02:00
k32
1db8483bb3
feat(node_dump): Hide `secret' configuration keys
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2021-05-06 14:19:09 +02:00
k32
e6c85dfb04
fix(node_dump): Attempt to censor passwords
2021-05-06 14:19:09 +02:00
k32
d913a7d20d
feat(node_dump): Create a node dump script
2021-05-06 14:19:09 +02:00
Zaiming Shi
2a9a5e74d7
fix(bin/emqx): print cuttlefish error
2021-04-10 08:48:13 +00:00
Yudai Kiyofuji
e3a5f65c88
feat(config): print override env ( #4517 )
2021-04-09 16:28:01 +02:00
Zaiming Shi
a8a9bda484
chore(bin/emqx): Fix typo
2021-04-02 15:53:19 +08:00
z8674558
299d489ef9
refactor(bin/emqx): use cuttlefish `get` to get values from .conf
2021-04-02 08:42:58 +02:00