{"id":124849,"date":"2026-05-08T15:07:23","date_gmt":"2026-05-08T08:07:23","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=124849"},"modified":"2026-10-27T13:22:25","modified_gmt":"2026-10-27T06:22:25","slug":"khoi-dong-lai-hermes-agent","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/khoi-dong-lai-hermes-agent\/","title":{"rendered":"C\u00e1ch kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent: h\u01b0\u1edbng d\u1eabn cho t\u1eebng t\u00ecnh hu\u1ed1ng"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Mu\u1ed1n kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent, ph\u1ea7n l\u1edbn tr\u01b0\u1eddng h\u1ee3p ch\u1ec9 c\u1ea7n ch\u1ea1y <code>hermes gateway restart<\/code> (gateway nh\u1eafn tin tr\u00ean Linux\/macOS) ho\u1eb7c tho\u00e1t r\u1ed3i m\u1edf l\u1ea1i <code>hermes<\/code> (phi\u00ean chat CLI).<\/strong> Tr\u00ean WSL2 v\u00e0 Docker, gateway ch\u1ea1y foreground n\u00ean kh\u1edfi \u0111\u1ed9ng l\u1ea1i b\u1eb1ng <code>hermes gateway run<\/code> ho\u1eb7c <code>docker restart<\/code>; sau <code>hermes update<\/code>, gateway t\u1ef1 \u0111\u01b0\u1ee3c kh\u1edfi \u0111\u1ed9ng l\u1ea1i.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes Agent kh\u00f4ng c\u00f3 m\u1ed9t n\u00fat &#8220;restart&#8221; duy nh\u1ea5t v\u00ec n\u00f3 g\u1ed3m nhi\u1ec1u th\u00e0nh ph\u1ea7n ch\u1ea1y \u0111\u1ed9c l\u1eadp: phi\u00ean chat CLI, gateway nh\u1eafn tin, cron scheduler v\u00e0 backend n\u1ec1n. N\u1ebfu ch\u01b0a r\u00f5 c\u00e1c th\u00e0nh ph\u1ea7n n\u00e0y, xem <a href=\"https:\/\/tino.vn\/blog\/hermes-agent-la-gi\/\">Hermes Agent l\u00e0 g\u00ec<\/a>; c\u00e0i \u0111\u1eb7t t\u1eeb \u0111\u1ea7u xem <a href=\"https:\/\/tino.vn\/blog\/cai-dat-va-su-dung-hermes-agent-tren-vps\/\">h\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Hermes Agent tr\u00ean VPS<\/a>.<\/p>\n\n\n\n<h2 id=\"Hi\u1ec3u_c\u1ea5u_tr\u00fac_Hermes_Agent_tr\u01b0\u1edbc_khi_restart\">Hi\u1ec3u c\u1ea5u tr\u00fac Hermes Agent tr\u01b0\u1edbc khi restart<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Hermes Agent c\u00f3 ba th\u00e0nh ph\u1ea7n kh\u1edfi \u0111\u1ed9ng l\u1ea1i \u0111\u1ed9c l\u1eadp: phi\u00ean chat CLI (tho\u00e1t r\u1ed3i m\u1edf l\u1ea1i), gateway nh\u1eafn tin (<code>hermes gateway restart<\/code> ho\u1eb7c ch\u1ea1y l\u1ea1i <code>hermes gateway run<\/code>) v\u00e0 cron scheduler ch\u1ea1y b\u00ean trong gateway. Bi\u1ebft m\u00ecnh \u0111ang restart th\u00e0nh ph\u1ea7n n\u00e0o gi\u00fap ch\u1ecdn \u0111\u00fang l\u1ec7nh:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Phi\u00ean chat CLI<\/strong> \u2014 Giao di\u1ec7n terminal b\u1ea1n g\u00f5 l\u1ec7nh v\u00e0 nh\u1eadn ph\u1ea3n h\u1ed3i. \u0110\u00e2y l\u00e0 th\u00e0nh ph\u1ea7n b\u1ea1n t\u01b0\u01a1ng t\u00e1c tr\u1ef1c ti\u1ebfp. M\u1ed7i l\u1ea7n g\u00f5 hermes l\u00e0 m\u1ed9t phi\u00ean m\u1edbi \u0111\u01b0\u1ee3c m\u1edf.<\/li>\n\n\n<li><strong>Gateway<\/strong> \u2014 D\u1ecbch v\u1ee5 n\u1ec1n k\u1ebft n\u1ed1i Hermes v\u1edbi Telegram, Discord, <a href=\"https:\/\/slack.com\/\" target=\"_blank\" rel=\"noopener nofollow\">Slack<\/a> v\u00e0 c\u00e1c n\u1ec1n t\u1ea3ng nh\u1eafn tin kh\u00e1c. Gateway c\u00f3 th\u1ec3 ch\u1ea1y nh\u01b0 ti\u1ebfn tr\u00ecnh foreground b\u1eb1ng <code>hermes gateway run<\/code> ho\u1eb7c nh\u01b0 d\u1ecbch v\u1ee5 systemd\/launchd n\u1ec1n b\u1eb1ng <code>hermes gateway start<\/code>. \u0110\u00e2y l\u00e0 th\u00e0nh ph\u1ea7n c\u1ea7n restart th\u01b0\u1eddng xuy\u00ean nh\u1ea5t sau khi c\u1eadp nh\u1eadt c\u1ea5u h\u00ecnh. T\u1eeb v0.22, m\u1eb7c \u0111\u1ecbnh m\u1ed9t gateway ph\u1ee5c v\u1ee5 chung m\u1ecdi profile tr\u00ean m\u00e1y.<\/li>\n\n\n<li><strong>Cron scheduler<\/strong> \u2014 Th\u00e0nh ph\u1ea7n x\u1eed l\u00fd c\u00e1c t\u00e1c v\u1ee5 t\u1ef1 \u0111\u1ed9ng theo l\u1ecbch. Ki\u1ec3m tra tr\u1ea1ng th\u00e1i scheduler b\u1eb1ng <code>hermes cron status<\/code>; <code>hermes cron tick<\/code> ch\u1ea1y c\u00e1c t\u00e1c v\u1ee5 \u0111\u1ebfn h\u1ea1n m\u1ed9t l\u1ea7n r\u1ed3i tho\u00e1t. Scheduler ch\u1ea1y b\u00ean trong gateway.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/khoi-dong-lai-hermes-agent-1.png\" alt=\"\u1ea2nh ti\u00eau \u0111\u1ec1 &quot;Hi\u1ec3u c\u1ea5u tr\u00fac Hermes Agent tr\u01b0\u1edbc khi restart&quot; v\u1edbi m\u00e0n h\u00ecnh hi\u1ec3n th\u1ecb giao di\u1ec7n Hermes Agent\" class=\"wp-image-124857\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/khoi-dong-lai-hermes-agent-1.png 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/khoi-dong-lai-hermes-agent-1-300x161.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_Hermes_Agent_\u0111\u00fang_c\u00e1ch\">H\u01b0\u1edbng d\u1eabn kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent \u0111\u00fang c\u00e1ch<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1ch kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent ph\u1ee5 thu\u1ed9c v\u00e0o th\u00e0nh ph\u1ea7n v\u00e0 m\u00f4i tr\u01b0\u1eddng: phi\u00ean CLI ch\u1ec9 c\u1ea7n tho\u00e1t r\u1ed3i m\u1edf l\u1ea1i; gateway tr\u00ean Linux, macOS d\u00f9ng <code>hermes gateway restart<\/code>; tr\u00ean WSL2 v\u00e0 Docker d\u00f9ng <code>hermes gateway run<\/code> ho\u1eb7c <code>docker restart<\/code>. B\u1ea3y t\u00ecnh hu\u1ed1ng d\u01b0\u1edbi \u0111\u00e2y \u0111i t\u1eeb \u0111\u01a1n gi\u1ea3n \u0111\u1ebfn kh\u1edfi \u0111\u1ed9ng l\u1ea1i ho\u00e0n to\u00e0n.<\/p>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_1_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_phi\u00ean_chat_CLI\">T\u00ecnh hu\u1ed1ng 1 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i phi\u00ean chat CLI<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y l\u00e0 tr\u01b0\u1eddng h\u1ee3p \u0111\u01a1n gi\u1ea3n nh\u1ea5t khi b\u1ea1n mu\u1ed1n b\u1eaft \u0111\u1ea7u l\u1ea1i cu\u1ed9c h\u1ed9i tho\u1ea1i ho\u1eb7c \u00e1p d\u1ee5ng c\u1ea5u h\u00ecnh m\u1edbi v\u00e0o phi\u00ean chat.<\/p>\n\n\n\n<h4 id=\"Tho\u00e1t_v\u00e0_m\u1edf_l\u1ea1i_phi\u00ean_m\u1edbi\">Tho\u00e1t v\u00e0 m\u1edf l\u1ea1i phi\u00ean m\u1edbi<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"># Trong phi\u00ean chat \u0111ang m\u1edf, tho\u00e1t b\u1eb1ng m\u1ed9t trong c\u00e1c c\u00e1ch sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ctrl+C:<\/strong> Nh\u1ea5n 2 l\u1ea7n trong 2 gi\u00e2y \u0111\u1ec3 tho\u00e1t ho\u00e0n to\u00e0n<\/li>\n\n\n<li><strong>Ctrl+D: <\/strong>Tho\u00e1t ngay l\u1eadp t\u1ee9c<\/li>\n\n\n<li><strong>\/quit: <\/strong>Slash command tho\u00e1t<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"919\" height=\"241\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/1.png\" alt=\"Tho\u00e1t phi\u00ean chat Hermes Agent, terminal in Goodbye v\u00e0 tr\u1edf v\u1ec1 d\u1ea5u nh\u1eafc l\u1ec7nh\" class=\"wp-image-124852\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/1.png 919w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/1-300x79.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/1-768x201.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"># M\u1edf phi\u00ean m\u1edbi<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes\n\nhermes --tui # Giao di\u1ec7n TUI hi\u1ec7n \u0111\u1ea1i h\u01a1n<\/code><\/pre>\n\n\n\n<h4 id=\"Ti\u1ebfp_t\u1ee5c_\u0111\u00fang_phi\u00ean_c\u0169_sau_khi_tho\u00e1t\">Ti\u1ebfp t\u1ee5c \u0111\u00fang phi\u00ean c\u0169 sau khi tho\u00e1t<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Khi tho\u00e1t, Hermes hi\u1ec3n th\u1ecb l\u1ec7nh \u0111\u1ec3 resume nh\u01b0 sau, v\u00ed d\u1ee5:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Resume this session with:\n\nhermes --resume 20260225_143052_a1b2c3<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1c l\u1ec7nh resume ph\u1ed5 bi\u1ebfn:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>hermes <code>--continue<\/code>: <\/strong>Ti\u1ebfp t\u1ee5c phi\u00ean g\u1ea7n nh\u1ea5t<\/li>\n\n\n<li><strong>hermes -c:<\/strong> Vi\u1ebft t\u1eaft<\/li>\n\n\n<li><strong>hermes -c &#8220;t\u00ean d\u1ef1 \u00e1n&#8221;:<\/strong> Ti\u1ebfp t\u1ee5c phi\u00ean c\u00f3 t\u00ean n\u00e0y<\/li>\n\n\n<li><strong>hermes <code>--resume<\/code> &lt;session-id&gt;:<\/strong> Ti\u1ebfp t\u1ee5c theo ID c\u1ee5 th\u1ec3<\/li>\n<\/ul>\n\n\n\n<h4 id=\"M\u1edf_phi\u00ean_ho\u00e0n_to\u00e0n_t\u00e1ch_bi\u1ec7t_\u2014_b\u1ecf_qua_c\u1ea5u_h\u00ecnh_c\u00e1_nh\u00e2n\">M\u1edf phi\u00ean ho\u00e0n to\u00e0n t\u00e1ch bi\u1ec7t \u2014 b\u1ecf qua c\u1ea5u h\u00ecnh c\u00e1 nh\u00e2n<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Khi c\u1ea7n debug m\u00e0 kh\u00f4ng mu\u1ed1n c\u1ea5u h\u00ecnh c\u00e1 nh\u00e2n \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn k\u1ebft qu\u1ea3:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># B\u1ecf qua config.yaml, d\u00f9ng gi\u00e1 tr\u1ecb m\u1eb7c \u0111\u1ecbnh<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes chat --ignore-user-config<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># B\u1ecf qua c\u1ea3 memory, skills, AGENTS.md<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes chat --ignore-rules<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># K\u1ebft h\u1ee3p c\u1ea3 hai \u0111\u1ec3 c\u00f3 phi\u00ean ho\u00e0n to\u00e0n c\u00f4 l\u1eadp<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes chat --ignore-user-config --ignore-rules -q \"T\u00e1i hi\u1ec7n l\u1ed7i m\u00e0 kh\u00f4ng c\u00f3 c\u1ea5u h\u00ecnh c\u00e1 nh\u00e2n\"<\/code><\/pre>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_2_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_Gateway\">T\u00ecnh hu\u1ed1ng 2 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Gateway<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Gateway l\u00e0 th\u00e0nh ph\u1ea7n c\u1ea7n restart th\u01b0\u1eddng xuy\u00ean nh\u1ea5t sau khi thay \u0111\u1ed5i c\u1ea5u h\u00ecnh Telegram, th\u00eam n\u1ec1n t\u1ea3ng m\u1edbi ho\u1eb7c sau khi ch\u1ea1y hermes update.<\/p>\n\n\n\n<h4 id=\"Restart_gateway_tr\u00ean_Linux_(systemd)\">Restart gateway tr\u00ean Linux (systemd)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"># D\u1eebng gateway<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway stop<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># Kh\u1edfi \u0111\u1ed9ng l\u1ea1i<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway restart<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026 (Hermes Agent v0.22.5): khi gateway \u0111ang ch\u1ea1y d\u1edf l\u01b0\u1ee3t chat, cron ho\u1eb7c t\u00e1c v\u1ee5 n\u1ec1n, <code>hermes gateway restart<\/code> v\u00e0 <code>stop<\/code> li\u1ec7t k\u00ea c\u00e1c vi\u1ec7c \u0111\u00f3 v\u00e0 h\u1ecfi y\/N tr\u01b0\u1edbc khi ng\u1eaft; th\u00eam <code>-y<\/code> \u0111\u1ec3 b\u1ecf qua c\u00e2u h\u1ecfi (b\u1eaft bu\u1ed9c khi ch\u1ea1y trong script). Ngu\u1ed3n: <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/reference\/cli-commands\" target=\"_blank\" rel=\"noopener nofollow\">CLI Commands Reference<\/a>.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># Ki\u1ec3m tra tr\u1ea1ng th\u00e1i<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway status<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"409\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/2-1024x409.png\" alt=\"Ch\u1ea1y hermes gateway stop, hermes gateway restart r\u1ed3i hermes gateway status: user service hermes-gateway active (running), linger \u0111\u00e3 b\u1eadt\" class=\"wp-image-124851\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/2-1024x409.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/2-300x120.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/2-768x307.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/2.png 1257w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 id=\"Restart_gateway_tr\u00ean_WSL2_v\u00e0_Docker\">Restart gateway tr\u00ean WSL2 v\u00e0 Docker<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">WSL2 kh\u00f4ng h\u1ed7 tr\u1ee3 systemd \u1ed5n \u0111\u1ecbnh \u2014 d\u00f9ng hermes gateway run thay v\u00ec hermes gateway start. K\u1ebft h\u1ee3p tmux \u0111\u1ec3 gi\u1eef gateway ch\u1ea1y li\u00ean t\u1ee5c:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># V\u00e0o phi\u00ean tmux \u0111ang ch\u1ea1y gateway<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmux attach -t hermes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># D\u1eebng gateway<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Ctrl+C<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># Kh\u1edfi \u0111\u1ed9ng l\u1ea1i<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway run<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># T\u00e1ch ra kh\u1ecfi tmux m\u00e0 gateway v\u1eabn ch\u1ea1y<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># Nh\u1ea5n <strong>Ctrl+B<\/strong> r\u1ed3i nh\u1ea5n <strong>D<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu ch\u01b0a c\u00f3 phi\u00ean tmux:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># T\u1ea1o phi\u00ean tmux m\u1edbi v\u00e0 kh\u1edfi \u0111\u1ed9ng gateway\n\ntmux new -s hermes 'hermes gateway run'<\/code><\/pre>\n\n\n\n<h4 id=\"Restart_Hermes_Agent_ch\u1ea1y_trong_Docker\">Restart Hermes Agent ch\u1ea1y trong Docker<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea3n ch\u1ea1y trong container kh\u1edfi \u0111\u1ed9ng l\u1ea1i b\u1eb1ng l\u1ec7nh c\u1ee7a Docker, kh\u00f4ng d\u00f9ng <code>hermes update<\/code> b\u00ean trong container. V\u1edbi container \u0111\u1eb7t t\u00ean <code>hermes<\/code> nh\u01b0 <a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/user-guide\/docker\" target=\"_blank\" rel=\"noopener nofollow\">h\u01b0\u1edbng d\u1eabn Docker<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker restart hermes\ndocker logs -f hermes   # xem log sau khi ch\u1ea1y l\u1ea1i<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u1eadp nh\u1eadt b\u1ea3n Docker b\u1eb1ng c\u00e1ch k\u00e9o image m\u1edbi (<code>nousresearch\/hermes-agent:stable<\/code>) r\u1ed3i t\u1ea1o l\u1ea1i container; chi ti\u1ebft \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/cai-dat-hermes-agent-tren-docker\/\">c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean Docker<\/a>.<\/p>\n\n\n\n<h4 id=\"Restart_gateway_tr\u00ean_macOS_(launchd)\">Restart gateway tr\u00ean macOS (launchd)<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway stop\n\nhermes gateway start\n\nhermes gateway status<\/code><\/pre>\n\n\n\n<h4 id=\"Restart_t\u1ea5t_c\u1ea3_gateway_c\u1ee7a_m\u1ecdi_profile_c\u00f9ng_l\u00fac\">Restart t\u1ea5t c\u1ea3 gateway c\u1ee7a m\u1ecdi profile c\u00f9ng l\u00fac<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu b\u1ea1n ch\u1ea1y nhi\u1ec1u profile song song v\u00e0 mu\u1ed1n restart gateway ph\u1ee5c v\u1ee5 t\u1ea5t c\u1ea3 profile:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway restart --all<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026 (Hermes Agent v0.22.5): v\u1edbi gateway d\u00f9ng chung (multiplex), <code>restart --all<\/code> ngh\u0129a l\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i ti\u1ebfn tr\u00ecnh gateway chung \u0111\u00f3; profile n\u00e0o c\u00f2n ch\u1ea1y gateway ri\u00eang s\u1ebd \u0111\u01b0\u1ee3c b\u00e1o t\u00ean ch\u1ee9 kh\u00f4ng b\u1ecb t\u1eaft. Xem tr\u1ea1ng th\u00e1i t\u1eebng profile b\u1eb1ng <code>hermes gateway list<\/code> (<a href=\"https:\/\/hermes-agent.nousresearch.com\/docs\/user-guide\/multi-profile-gateways\" target=\"_blank\" rel=\"noopener nofollow\">Running Many Gateways at Once<\/a>).<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"584\" height=\"140\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/3.png\" alt=\"L\u1ec7nh hermes gateway restart --all d\u1eebng 1 ti\u1ebfn tr\u00ecnh gateway c\u1ee7a m\u1ecdi profile r\u1ed3i kh\u1edfi \u0111\u1ed9ng l\u1ea1i user service\" class=\"wp-image-124853\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/3.png 584w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/3-300x72.png 300w\" sizes=\"(max-width: 584px) 100vw, 584px\" \/><\/figure>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_3_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_sau_khi_c\u1eadp_nh\u1eadt\">T\u00ecnh hu\u1ed1ng 3 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i sau khi c\u1eadp nh\u1eadt<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u00e2y l\u00e0 t\u00ecnh hu\u1ed1ng th\u01b0\u1eddng g\u1eb7p c\u1ea7n restart \u2014 sau khi ch\u1ea1y hermes update \u0111\u1ec3 \u00e1p d\u1ee5ng phi\u00ean b\u1ea3n m\u1edbi.<\/p>\n\n\n\n<h4 id=\"C\u1eadp_nh\u1eadt_v\u00e0_restart_trong_m\u1ed9t_b\u01b0\u1edbc\">C\u1eadp nh\u1eadt v\u00e0 restart trong m\u1ed9t b\u01b0\u1edbc<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"># C\u1eadp nh\u1eadt; sau khi xong, Hermes t\u1ef1 kh\u1edfi \u0111\u1ed9ng l\u1ea1i c\u00e1c gateway \u0111ang ch\u1ea1y<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026 (Hermes Agent v0.22.5): c\u00e1c phi\u00ean b\u1ea3n \u0111\u1ea7u c\u1ee7a b\u00e0i d\u00f9ng c\u1edd <code>--restart-gateway<\/code>; c\u1edd n\u00e0y kh\u00f4ng c\u00f3 trong t\u00e0i li\u1ec7u hi\u1ec7n h\u00e0nh. Sau khi c\u1eadp nh\u1eadt th\u00e0nh c\u00f4ng, <code>hermes update<\/code> t\u1ef1 kh\u1edfi \u0111\u1ed9ng l\u1ea1i m\u1ecdi gateway \u0111ang ch\u1ea1y c\u1ee7a c\u00f9ng th\u01b0 m\u1ee5c Hermes v\u00e0 in b\u1ea3ng phi\u00ean b\u1ea3n t\u1eebng profile; gateway n\u00e0o ch\u01b0a l\u00ean b\u1ea3n m\u1edbi s\u1ebd c\u00f3 d\u00f2ng \u26a0 k\u00e8m l\u1ec7nh restart c\u1ea7n ch\u1ea1y. Xem tr\u01b0\u1edbc k\u1ebf ho\u1ea1ch c\u1eadp nh\u1eadt (d\u1ecbch v\u1ee5 n\u00e0o s\u1ebd \u0111\u01b0\u1ee3c restart) b\u1eb1ng <code>hermes update --plan<\/code>.<\/em><\/p>\n\n\n\n<h4 id=\"C\u1eadp_nh\u1eadt_th\u1ee7_c\u00f4ng_t\u1eebng_b\u01b0\u1edbc\">C\u1eadp nh\u1eadt th\u1ee7 c\u00f4ng t\u1eebng b\u01b0\u1edbc<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 1:<\/strong> Ki\u1ec3m tra c\u00f3 b\u1ea3n c\u1eadp nh\u1eadt kh\u00f4ng m\u00e0 ch\u01b0a t\u1ea3i v\u1ec1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes update --check<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 2:<\/strong> T\u1ea3i v\u1ec1 v\u00e0 c\u00e0i \u0111\u1eb7t b\u1ea3n m\u1edbi nh\u1ea5t<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes update<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 3:<\/strong> Restart gateway th\u1ee7 c\u00f4ng n\u1ebfu b\u01b0\u1edbc 2 b\u00e1o gateway ch\u01b0a l\u00ean b\u1ea3n m\u1edbi<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway restart<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 4:<\/strong> X\u00e1c nh\u1eadn m\u1ecdi th\u1ee9 ho\u1ea1t \u0111\u1ed9ng<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes doctor\n\nhermes gateway status<\/code><\/pre>\n\n\n\n<h4 id=\"C\u1eadp_nh\u1eadt_c\u00f3_sao_l\u01b0u_tr\u01b0\u1edbc\">C\u1eadp nh\u1eadt c\u00f3 sao l\u01b0u tr\u01b0\u1edbc<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"># Sao l\u01b0u \u0111\u1ea7y \u0111\u1ee7 th\u01b0 m\u1ee5c Hermes tr\u01b0\u1edbc khi c\u1eadp nh\u1eadt (m\u1eb7c \u0111\u1ecbnh ch\u1ec9 ch\u1ee5p nhanh tr\u1ea1ng th\u00e1i)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes update --backup<\/code><\/pre>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_4_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_khi_g\u1eb7p_s\u1ef1_c\u1ed1\">T\u00ecnh hu\u1ed1ng 4 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i khi g\u1eb7p s\u1ef1 c\u1ed1<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Khi Hermes ho\u1ea1t \u0111\u1ed9ng b\u1ea5t th\u01b0\u1eddng, ch\u1eb3ng h\u1ea1n nh\u01b0 ph\u1ea3n h\u1ed3i ch\u1eadm, gateway m\u1ea5t k\u1ebft n\u1ed1i, ho\u1eb7c config kh\u00f4ng \u0111\u01b0\u1ee3c \u00e1p d\u1ee5ng \u2014 th\u1ee9 t\u1ef1 x\u1eed l\u00fd sau s\u1ebd gi\u00fap b\u1ea1n nhanh ch\u00f3ng kh\u00f4i ph\u1ee5c:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 1:<\/strong> Ch\u1ea9n \u0111o\u00e1n t\u1ed5ng th\u1ec3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes doctor<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 2: <\/strong>T\u1ef1 \u0111\u1ed9ng s\u1eeda n\u1ebfu c\u00f3 th\u1ec3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes doctor --fix<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 3:<\/strong> Ki\u1ec3m tra l\u1ea1i model v\u00e0 provider<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes model<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 4:<\/strong> Ch\u1ea1y l\u1ea1i wizard thi\u1ebft l\u1eadp n\u1ebfu c\u1ea7n<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes setup<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 5:<\/strong> Ki\u1ec3m tra danh s\u00e1ch session<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes sessions list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 6:<\/strong> Ki\u1ec3m tra tr\u1ea1ng th\u00e1i gateway<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu gateway b\u1ecb treo ho\u00e0n to\u00e0n v\u00e0 kh\u00f4ng ph\u1ea3n h\u1ed3i v\u1edbi l\u1ec7nh stop:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># T\u00ecm ti\u1ebfn tr\u00ecnh Hermes \u0111ang ch\u1ea1y<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ps aux | grep hermes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># Bu\u1ed9c d\u1eebng t\u1ea5t c\u1ea3 ti\u1ebfn tr\u00ecnh Hermes<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pkill -f hermes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>L\u01b0u \u00fd: <code>pkill -f hermes<\/code> d\u1eebng m\u1ecdi ti\u1ebfn tr\u00ecnh c\u00f3 ch\u1eef &#8220;hermes&#8221; trong d\u00f2ng l\u1ec7nh, k\u1ec3 c\u1ea3 backend Desktop v\u00e0 t\u00e1c v\u1ee5 \u0111ang ch\u1ea1y d\u1edf. Ch\u1ec9 d\u00f9ng khi <code>hermes gateway stop<\/code> kh\u00f4ng ph\u1ea3n h\u1ed3i; n\u1ebfu ch\u1ec9 m\u1ed9t ti\u1ebfn tr\u00ecnh treo, d\u1eebng \u0111\u00fang PID t\u00ecm \u0111\u01b0\u1ee3c \u1edf b\u01b0\u1edbc tr\u00ean.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># \u0110\u1ee3i v\u00e0i gi\u00e2y r\u1ed3i kh\u1edfi \u0111\u1ed9ng l\u1ea1i<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway run # Tr\u00ean WSL2\n\nhermes gateway start # Tr\u00ean Linux\/macOS c\u00f3 systemd\/launchd<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"770\" height=\"360\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/4.png\" alt=\"Ch\u1ea1y hermes gateway run khi gateway \u0111ang ch\u1ea1y: Hermes b\u00e1o Gateway already running v\u00e0 g\u1ee3i \u00fd d\u00f9ng restart, stop ho\u1eb7c run --replace\" class=\"wp-image-124854\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/4.png 770w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/4-300x140.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/4-768x359.png 768w\" sizes=\"(max-width: 770px) 100vw, 770px\" \/><\/figure>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_5_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_theo_profile\">T\u00ecnh hu\u1ed1ng 5 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i theo profile<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu d\u00f9ng nhi\u1ec1u profile, v\u00ed d\u1ee5 m\u1ed9t profile cho c\u00f4ng vi\u1ec7c, m\u1ed9t profile c\u00e1 nh\u00e2n, b\u1ea1n c\u00f3 th\u1ec3 restart t\u1eebng profile ri\u00eang l\u1ebb.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># Kh\u1edfi \u0111\u1ed9ng Hermes v\u1edbi profile c\u1ee5 th\u1ec3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes --profile work\n\nhermes -p work<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># Restart gateway c\u1ee7a m\u1ed9t profile c\u1ee5 th\u1ec3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes -p work gateway restart<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>C\u1eadp nh\u1eadt 10\/2026 (Hermes Agent v0.22.5): khi m\u1ed9t gateway ph\u1ee5c v\u1ee5 chung m\u1ecdi profile, l\u1ec7nh n\u00e0y ch\u1ec9 kh\u1edfi \u0111\u1ed9ng l\u1ea1i c\u00e1c bot c\u1ee7a profile <code>work<\/code>, kh\u00f4ng d\u1eebng gateway chung.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># Xem danh s\u00e1ch t\u1ea5t c\u1ea3 profile<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes profile list<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"803\" height=\"175\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/5.png\" alt=\"L\u1ec7nh hermes profile list hi\u1ec7n profile default, model gemini-2.5-flash, gateway running\" class=\"wp-image-124855\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/5.png 803w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/5-300x65.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/05\/5-768x167.png 768w\" sizes=\"(max-width: 803px) 100vw, 803px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"># Xem chi ti\u1ebft profile \u0111ang d\u00f9ng<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes status<\/code><\/pre>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_6_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_Cron_Scheduler\">T\u00ecnh hu\u1ed1ng 6 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Cron Scheduler<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Khi t\u00e1c v\u1ee5 t\u1ef1 \u0111\u1ed9ng kh\u00f4ng ch\u1ea1y \u0111\u00fang gi\u1edd ho\u1eb7c c\u1ea7n k\u00edch ho\u1ea1t th\u1ee7 c\u00f4ng:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># Ki\u1ec3m tra scheduler \u0111ang ch\u1ea1y kh\u00f4ng<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes cron status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># Xem danh s\u00e1ch t\u00e1c v\u1ee5 \u0111\u00e3 l\u00ean l\u1ecbch<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes cron list<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># \u0110\u01b0a m\u1ed9t t\u00e1c v\u1ee5 c\u1ee5 th\u1ec3 v\u00e0o l\u01b0\u1ee3t ch\u1ea1y \u1edf nh\u1ecbp scheduler k\u1ebf ti\u1ebfp<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes cron run &lt;t\u00ean-t\u00e1c-v\u1ee5&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># Ch\u1ea1y t\u1ea5t c\u1ea3 t\u00e1c v\u1ee5 \u0111\u1ebfn h\u1ea1n ngay l\u1eadp t\u1ee9c v\u00e0 tho\u00e1t<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes cron tick<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Cron Scheduler th\u01b0\u1eddng t\u1ef1 kh\u1edfi \u0111\u1ed9ng l\u1ea1i c\u00f9ng gateway. N\u1ebfu t\u00e1c v\u1ee5 kh\u00f4ng ch\u1ea1y d\u00f9 scheduler \u0111ang ch\u1ea1y, ki\u1ec3m tra xem t\u00e1c v\u1ee5 c\u00f3 \u0111ang \u1edf tr\u1ea1ng th\u00e1i pause kh\u00f4ng:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>hermes cron list:<\/strong> Xem tr\u1ea1ng th\u00e1i t\u1eebng t\u00e1c v\u1ee5<\/li>\n\n\n<li><strong>hermes cron resume &lt;t\u00ean>:<\/strong> Ti\u1ebfp t\u1ee5c t\u00e1c v\u1ee5 \u0111ang t\u1ea1m d\u1eebng<\/li>\n<\/ul>\n\n\n\n<h3 id=\"T\u00ecnh_hu\u1ed1ng_7_\u2014_Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_ho\u00e0n_to\u00e0n_t\u1eeb_\u0111\u1ea7u\">T\u00ecnh hu\u1ed1ng 7 \u2014 Kh\u1edfi \u0111\u1ed9ng l\u1ea1i ho\u00e0n to\u00e0n t\u1eeb \u0111\u1ea7u<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Khi m\u1ecdi th\u1ee9 r\u1ed1i tung v\u00e0 b\u1ea1n mu\u1ed1n b\u1eaft \u0111\u1ea7u l\u1ea1i ho\u00e0n to\u00e0n \u2014 kh\u00f4ng m\u1ea5t d\u1eef li\u1ec7u.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 1:<\/strong> Sao l\u01b0u to\u00e0n b\u1ed9 d\u1eef li\u1ec7u tr\u01b0\u1edbc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes backup -o ~\/hermes-backup-$(date +%Y%m%d).zip<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>B\u1ea3n sao l\u01b0u g\u1ed3m c\u1ea5u h\u00ecnh, skill, session v\u00e0 d\u1eef li\u1ec7u (kh\u00f4ng g\u1ed3m m\u00e3 ngu\u1ed3n). Kh\u00f4i ph\u1ee5c b\u1eb1ng <code>hermes import &lt;file.zip&gt;<\/code>.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 2:<\/strong> D\u1eebng t\u1ea5t c\u1ea3 ti\u1ebfn tr\u00ecnh Hermes<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway stop\n\npkill -f hermes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 3:<\/strong> Ch\u1ea1y l\u1ea1i wizard thi\u1ebft l\u1eadp \u0111\u1ea7y \u0111\u1ee7<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes setup<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 4:<\/strong> X\u00e1c nh\u1eadn model v\u00e0 provider \u0111ang ho\u1ea1t \u0111\u1ed9ng<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes model\n\nhermes chat -q \"Ki\u1ec3m tra k\u1ebft n\u1ed1i\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 5: <\/strong>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i gateway<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes gateway start # Linux\/macOS\n\nhermes gateway run # WSL2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"># <strong>B\u01b0\u1edbc 6:<\/strong> Ki\u1ec3m tra t\u1ed5ng th\u1ec3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>hermes doctor\n\nhermes status<\/code><\/pre>\n\n\n\n<h3 id=\"B\u1ea3ng_t\u00f3m_t\u1eaft_\u2014_ch\u1ecdn_\u0111\u00fang_l\u1ec7nh_theo_t\u00ecnh_hu\u1ed1ng\">B\u1ea3ng t\u00f3m t\u1eaft \u2014 ch\u1ecdn \u0111\u00fang l\u1ec7nh theo t\u00ecnh hu\u1ed1ng<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>T\u00ecnh hu\u1ed1ng<\/th><th>L\u1ec7nh c\u1ea7n d\u00f9ng<\/th><\/tr><\/thead><tbody><tr><td>M\u1edf l\u1ea1i phi\u00ean chat m\u1edbi<\/td><td>Tho\u00e1t b\u1eb1ng Ctrl+C (2 l\u1ea7n) ho\u1eb7c \/quit \u2192 ch\u1ea1y <code>hermes<\/code><\/td><\/tr><tr><td>Ti\u1ebfp t\u1ee5c phi\u00ean chat c\u0169<\/td><td><code>hermes -c<\/code> ho\u1eb7c <code>hermes --resume &lt;id&gt;<\/code><\/td><\/tr><tr><td>Restart gateway tr\u00ean Linux\/macOS<\/td><td><code>hermes gateway restart<\/code> (th\u00eam <code>-y<\/code> trong script)<\/td><\/tr><tr><td>Restart gateway tr\u00ean WSL2<\/td><td>V\u00e0o tmux \u2192 Ctrl+C \u2192 <code>hermes gateway run<\/code><\/td><\/tr><tr><td>Restart trong Docker<\/td><td><code>docker restart hermes<\/code><\/td><\/tr><tr><td>Restart gateway d\u00f9ng chung m\u1ecdi profile<\/td><td><code>hermes gateway restart --all<\/code><\/td><\/tr><tr><td>Sau khi c\u1eadp nh\u1eadt<\/td><td><code>hermes update<\/code> (t\u1ef1 restart gateway; ki\u1ec3m tra b\u1eb1ng <code>hermes gateway status<\/code>)<\/td><\/tr><tr><td>Khi g\u1eb7p s\u1ef1 c\u1ed1<\/td><td><code>hermes doctor<\/code> \u2192 <code>hermes doctor --fix<\/code><\/td><\/tr><tr><td>\u0110\u01b0a t\u00e1c v\u1ee5 cron v\u00e0o l\u01b0\u1ee3t ch\u1ea1y k\u1ebf ti\u1ebfp<\/td><td><code>hermes cron run &lt;t\u00ean&gt;<\/code><\/td><\/tr><tr><td>Xem tr\u1ea1ng th\u00e1i hi\u1ec7n t\u1ea1i<\/td><td><code>hermes status<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"Khi_n\u00e0o_kh\u00f4ng_n\u00ean_kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_ngay?\">Khi n\u00e0o kh\u00f4ng n\u00ean kh\u1edfi \u0111\u1ed9ng l\u1ea1i ngay?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng n\u00ean kh\u1edfi \u0111\u1ed9ng l\u1ea1i gateway khi n\u00f3 \u0111ang ch\u1ea1y d\u1edf t\u00e1c v\u1ee5 d\u00e0i (cron b\u00e1o c\u00e1o, subagent n\u1ec1n, l\u01b0\u1ee3t chat \u0111ang g\u1ecdi c\u00f4ng c\u1ee5), v\u00ec vi\u1ec7c \u0111ang ch\u1ea1y s\u1ebd b\u1ecb ng\u1eaft. H\u00e3y xem danh s\u00e1ch vi\u1ec7c \u0111ang ch\u1ea1y m\u00e0 <code>hermes gateway restart<\/code> in ra r\u1ed3i m\u1edbi x\u00e1c nh\u1eadn, ho\u1eb7c \u0111\u1ee3i t\u00e1c v\u1ee5 xong.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mu\u1ed1n ch\u1eb7n vi\u1ec7c m\u1edbi nh\u01b0ng \u0111\u1ec3 vi\u1ec7c \u0111ang ch\u1ea1y ho\u00e0n t\u1ea5t: d\u00f9ng <code>hermes pause<\/code>, xong th\u00ec <code>hermes resume<\/code>.<\/li>\n\n\n<li>L\u1ed7i do c\u1ea5u h\u00ecnh sai (YAML h\u1ecfng, thi\u1ebfu API key): restart kh\u00f4ng gi\u1ea3i quy\u1ebft \u0111\u01b0\u1ee3c; ch\u1ea1y <code>hermes doctor<\/code> tr\u01b0\u1edbc.<\/li>\n\n\n<li>Docker: kh\u00f4ng ch\u1ea1y <code>hermes update<\/code> trong container; c\u1eadp nh\u1eadt b\u1eb1ng image m\u1edbi.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Ch\u1ea1y_Hermes_Agent_24\/7_tr\u00ean_VPS\">Ch\u1ea1y Hermes Agent 24\/7 tr\u00ean VPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Gateway, cron v\u00e0 bot nh\u1eafn tin ch\u1ec9 ch\u1ea1y khi m\u00e1y ch\u1ee7 c\u00f2n b\u1eadt, n\u00ean VPS l\u00e0 n\u01a1i h\u1ee3p l\u00fd \u0111\u1ec3 Hermes Agent ho\u1ea1t \u0111\u1ed9ng li\u00ean t\u1ee5c v\u00e0 t\u1ef1 kh\u1edfi \u0111\u1ed9ng c\u00f9ng h\u1ec7 th\u1ed1ng. Tr\u00ean VPS, gateway c\u00e0i th\u00e0nh d\u1ecbch v\u1ee5 systemd s\u1ebd t\u1ef1 ch\u1ea1y l\u1ea1i sau m\u1ed7i l\u1ea7n m\u00e1y ch\u1ee7 kh\u1edfi \u0111\u1ed9ng, n\u00ean b\u1ea1n \u00edt ph\u1ea3i restart th\u1ee7 c\u00f4ng.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y Hermes Agent 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-hermes\">VPS Hermes Agent c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n Hermes Agent tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m. N\u1ebfu d\u00f9ng trong 30 ng\u00e0y m\u00e0 kh\u00f4ng h\u00e0i l\u00f2ng, b\u1ea1n \u0111\u01b0\u1ee3c ho\u00e0n 100% (<a href=\"https:\/\/tino.vn\/chinh-sach-hoan-tien\">xem \u0111i\u1ec1u ki\u1ec7n<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>C\u00e1c b\u00e0i vi\u1ebft li\u00ean quan:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tino.vn\/blog\/cau-hinh-toi-thieu-de-chay-hermes-agent\/\">C\u1ea5u h\u00ecnh t\u1ed1i thi\u1ec3u \u0111\u1ec3 ch\u1ea1y Hermes Agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/huong-dan-su-dung-hermes-agent\/\">H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng Hermes Agent c\u01a1 b\u1ea3n<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cach-thiet-lap-hermes-agent\/\">H\u01b0\u1edbng d\u1eabn thi\u1ebft l\u1eadp Hermes Agent cho ng\u01b0\u1eddi m\u1edbi<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/su-dung-cron-job-tren-hermes-agent\/\">H\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng cron job tr\u00ean Hermes Agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/cai-dat-hermes-agent-tren-docker\/\">H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean Docker<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/go-cai-dat-hermes-agent-tren-vps\/\">H\u01b0\u1edbng d\u1eabn g\u1ee1 c\u00e0i \u0111\u1eb7t Hermes Agent tr\u00ean VPS<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent kh\u00f4ng ph\u1ea3i l\u00e0 m\u1ed9t thao t\u00e1c \u0111\u01a1n gi\u1ea3n ki\u1ec3u &#8220;t\u1eaft \u0111i b\u1eadt l\u1ea1i&#8221; m\u00e0 l\u00e0 vi\u1ec7c x\u00e1c \u0111\u1ecbnh \u0111\u00fang th\u00e0nh ph\u1ea7n n\u00e0o c\u1ea7n restart v\u00e0 d\u00f9ng \u0111\u00fang l\u1ec7nh cho th\u00e0nh ph\u1ea7n \u0111\u00f3. Ph\u1ea7n l\u1edbn tr\u01b0\u1eddng h\u1ee3p, <code>hermes gateway restart<\/code> cho gateway v\u00e0 tho\u00e1t r\u1ed3i m\u1edf l\u1ea1i <code>hermes<\/code> cho phi\u00ean chat l\u00e0 \u0111\u1ee7.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Khi kh\u00f4ng ch\u1eafc v\u1ea5n \u0111\u1ec1 \u0111ang \u1edf \u0111\u00e2u, <code>hermes doctor<\/code> l\u00e0 \u0111i\u1ec3m b\u1eaft \u0111\u1ea7u h\u1ee3p l\u00fd: l\u1ec7nh n\u00e0y ki\u1ec3m tra c\u1ea5u h\u00ecnh, ph\u1ee5 thu\u1ed9c v\u00e0 k\u1ebft n\u1ed1i, ch\u1ec9 ra th\u00e0nh ph\u1ea7n c\u00f3 v\u1ea5n \u0111\u1ec1 tr\u01b0\u1edbc khi b\u1ea1n restart t\u1eebng th\u1ee9 m\u1ed9t.<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Kh\u1edfi_\u0111\u1ed9ng_l\u1ea1i_Hermes_Agent_c\u00f3_l\u00e0m_m\u1ea5t_l\u1ecbch_s\u1eed_h\u1ed9i_tho\u1ea1i_kh\u00f4ng?\">Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent c\u00f3 l\u00e0m m\u1ea5t l\u1ecbch s\u1eed h\u1ed9i tho\u1ea1i kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng. To\u00e0n b\u1ed9 l\u1ecbch s\u1eed h\u1ed9i tho\u1ea1i \u0111\u01b0\u1ee3c l\u01b0u trong SQLite database t\u1ea1i ~\/.hermes\/state.db \u2014 ho\u00e0n to\u00e0n t\u00e1ch bi\u1ec7t v\u1edbi ti\u1ebfn tr\u00ecnh Hermes \u0111ang ch\u1ea1y. D\u00f9 b\u1ea1n tho\u00e1t, restart hay t\u1eaft m\u00e1y, d\u1eef li\u1ec7u v\u1eabn nguy\u00ean v\u1eb9n. Sau khi kh\u1edfi \u0111\u1ed9ng l\u1ea1i, ch\u1ea1y hermes -c \u0111\u1ec3 ti\u1ebfp t\u1ee5c \u0111\u00fang phi\u00ean h\u1ed9i tho\u1ea1i g\u1ea7n nh\u1ea5t m\u00e0 kh\u00f4ng m\u1ea5t b\u1ea5t k\u1ef3 ng\u1eef c\u1ea3nh n\u00e0o.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Restart_gateway_c\u00f3_l\u00e0m_gi\u00e1n_\u0111o\u1ea1n_tin_nh\u1eafn_qua_Telegram_kh\u00f4ng?\">Restart gateway c\u00f3 l\u00e0m gi\u00e1n \u0111o\u1ea1n tin nh\u1eafn qua Telegram kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">C\u00f3 m\u1ed9t kho\u1ea3ng gi\u00e1n \u0111o\u1ea1n ng\u1eafn trong th\u1eddi gian gateway \u0111ang t\u1eaft v\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i. Telegram gi\u1eef c\u00e1c tin ch\u01b0a \u0111\u01b0\u1ee3c bot nh\u1eadn tr\u00ean m\u00e1y ch\u1ee7 c\u1ee7a Telegram (t\u1ed1i \u0111a 24 gi\u1edd theo Telegram Bot API), n\u00ean gateway s\u1ebd nh\u1eadn l\u1ea1i khi k\u1ebft n\u1ed1i tr\u1edf l\u1ea1i. Sau khi restart, ch\u1ea1y hermes gateway status \u0111\u1ec3 x\u00e1c nh\u1eadn gateway \u0111\u00e3 k\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng tr\u01b0\u1edbc khi th\u00f4ng b\u00e1o cho ng\u01b0\u1eddi d\u00f9ng.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"S\u1ef1_kh\u00e1c_bi\u1ec7t_gi\u1eefa_hermes_gateway_restart_v\u00e0_hermes_gateway_stop_r\u1ed3i_hermes_gateway_start_l\u00e0_g\u00ec?\">S\u1ef1 kh\u00e1c bi\u1ec7t gi\u1eefa hermes gateway restart v\u00e0 hermes gateway stop r\u1ed3i hermes gateway start l\u00e0 g\u00ec?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">V\u1ec1 k\u1ebft qu\u1ea3 cu\u1ed1i c\u00f9ng th\u00ec gi\u1ed1ng nhau \u2014 gateway d\u1eebng r\u1ed3i ch\u1ea1y l\u1ea1i. <strong>hermes gateway restart<\/strong> l\u00e0 l\u1ec7nh g\u1ed9p, trong khi <strong>hermes gateway stop<\/strong> k\u1ebft h\u1ee3p <strong>hermes gateway start<\/strong> l\u00e0 hai l\u1ec7nh ri\u00eang l\u1ebb. D\u00f9ng <strong>hermes gateway restart<\/strong> trong h\u1ea7u h\u1ebft tr\u01b0\u1eddng h\u1ee3p v\u00ec ng\u1eafn g\u1ecdn h\u01a1n. D\u00f9ng <strong>stop<\/strong> v\u00e0 <strong>start<\/strong> ri\u00eang bi\u1ec7t khi c\u1ea7n l\u00e0m g\u00ec \u0111\u00f3 \u1edf gi\u1eefa hai b\u01b0\u1edbc \u2014 v\u00ed d\u1ee5 ch\u1ec9nh s\u1eeda file c\u1ea5u h\u00ecnh xong r\u1ed3i m\u1edbi start l\u1ea1i.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Tr\u00ean_WSL2,_t\u1ea1i_sao_hermes_gateway_restart_kh\u00f4ng_ho\u1ea1t_\u0111\u1ed9ng_m\u00e0_ph\u1ea3i_d\u00f9ng_tmux?\">Tr\u00ean WSL2, t\u1ea1i sao hermes gateway restart kh\u00f4ng ho\u1ea1t \u0111\u1ed9ng m\u00e0 ph\u1ea3i d\u00f9ng tmux?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">WSL2 kh\u00f4ng h\u1ed7 tr\u1ee3 systemd \u1ed5n \u0111\u1ecbnh. L\u1ec7nh hermes gateway start v\u00e0 hermes gateway restart d\u1ef1a v\u00e0o systemd \u0111\u1ec3 qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 n\u1ec1n, n\u00ean kh\u00f4ng ho\u1ea1t \u0111\u1ed9ng \u0111\u00fang trong m\u00f4i tr\u01b0\u1eddng WSL2. Gi\u1ea3i ph\u00e1p ch\u00ednh th\u1ee9c l\u00e0 d\u00f9ng hermes gateway run \u2014 l\u1ec7nh n\u00e0y ch\u1ea1y gateway \u1edf foreground thay v\u00ec \u0111\u0103ng k\u00fd nh\u01b0 d\u1ecbch v\u1ee5 systemd. K\u1ebft h\u1ee3p v\u1edbi tmux \u0111\u1ec3 gi\u1eef gateway ch\u1ea1y li\u00ean t\u1ee5c d\u00f9 \u0111\u00f3ng c\u1eeda s\u1ed5 terminal: <code>tmux new -s hermes 'hermes gateway run'<\/code>.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent c\u00f3 l\u00e0m m\u1ea5t l\u1ecbch s\u1eed h\u1ed9i tho\u1ea1i kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng. To\u00e0n b\u1ed9 l\u1ecbch s\u1eed h\u1ed9i tho\u1ea1i \u0111\u01b0\u1ee3c l\u01b0u trong SQLite database t\u1ea1i ~\/.hermes\/state.db \u2014 ho\u00e0n to\u00e0n t\u00e1ch bi\u1ec7t v\u1edbi ti\u1ebfn tr\u00ecnh Hermes \u0111ang ch\u1ea1y. D\u00f9 b\u1ea1n tho\u00e1t, restart hay t\u1eaft m\u00e1y, d\u1eef li\u1ec7u v\u1eabn nguy\u00ean v\u1eb9n. Sau khi kh\u1edfi \u0111\u1ed9ng l\u1ea1i, ch\u1ea1y hermes -c \u0111\u1ec3 ti\u1ebfp t\u1ee5c \u0111\u00fang phi\u00ean h\u1ed9i tho\u1ea1i g\u1ea7n nh\u1ea5t m\u00e0 kh\u00f4ng m\u1ea5t b\u1ea5t k\u1ef3 ng\u1eef c\u1ea3nh n\u00e0o.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Restart gateway c\u00f3 l\u00e0m gi\u00e1n \u0111o\u1ea1n tin nh\u1eafn qua Telegram kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3 m\u1ed9t kho\u1ea3ng gi\u00e1n \u0111o\u1ea1n ng\u1eafn trong th\u1eddi gian gateway \u0111ang t\u1eaft v\u00e0 kh\u1edfi \u0111\u1ed9ng l\u1ea1i. Telegram gi\u1eef c\u00e1c tin ch\u01b0a \u0111\u01b0\u1ee3c bot nh\u1eadn tr\u00ean m\u00e1y ch\u1ee7 c\u1ee7a Telegram (t\u1ed1i \u0111a 24 gi\u1edd theo Telegram Bot API), n\u00ean gateway s\u1ebd nh\u1eadn l\u1ea1i khi k\u1ebft n\u1ed1i tr\u1edf l\u1ea1i. Sau khi restart, ch\u1ea1y hermes gateway status \u0111\u1ec3 x\u00e1c nh\u1eadn gateway \u0111\u00e3 k\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng tr\u01b0\u1edbc khi th\u00f4ng b\u00e1o cho ng\u01b0\u1eddi d\u00f9ng.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"S\u1ef1 kh\u00e1c bi\u1ec7t gi\u1eefa hermes gateway restart v\u00e0 hermes gateway stop r\u1ed3i hermes gateway start l\u00e0 g\u00ec?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>V\u1ec1 k\u1ebft qu\u1ea3 cu\u1ed1i c\u00f9ng th\u00ec gi\u1ed1ng nhau \u2014 gateway d\u1eebng r\u1ed3i ch\u1ea1y l\u1ea1i. <strong>hermes gateway restart<\/strong> l\u00e0 l\u1ec7nh g\u1ed9p, trong khi <strong>hermes gateway stop<\/strong> k\u1ebft h\u1ee3p <strong>hermes gateway start<\/strong> l\u00e0 hai l\u1ec7nh ri\u00eang l\u1ebb. D\u00f9ng <strong>hermes gateway restart<\/strong> trong h\u1ea7u h\u1ebft tr\u01b0\u1eddng h\u1ee3p v\u00ec ng\u1eafn g\u1ecdn h\u01a1n. D\u00f9ng <strong>stop<\/strong> v\u00e0 <strong>start<\/strong> ri\u00eang bi\u1ec7t khi c\u1ea7n l\u00e0m g\u00ec \u0111\u00f3 \u1edf gi\u1eefa hai b\u01b0\u1edbc \u2014 v\u00ed d\u1ee5 ch\u1ec9nh s\u1eeda file c\u1ea5u h\u00ecnh xong r\u1ed3i m\u1edbi start l\u1ea1i.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Tr\u00ean WSL2, t\u1ea1i sao hermes gateway restart kh\u00f4ng ho\u1ea1t \u0111\u1ed9ng m\u00e0 ph\u1ea3i d\u00f9ng tmux?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>WSL2 kh\u00f4ng h\u1ed7 tr\u1ee3 systemd \u1ed5n \u0111\u1ecbnh. L\u1ec7nh hermes gateway start v\u00e0 hermes gateway restart d\u1ef1a v\u00e0o systemd \u0111\u1ec3 qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5 n\u1ec1n, n\u00ean kh\u00f4ng ho\u1ea1t \u0111\u1ed9ng \u0111\u00fang trong m\u00f4i tr\u01b0\u1eddng WSL2. Gi\u1ea3i ph\u00e1p ch\u00ednh th\u1ee9c l\u00e0 d\u00f9ng hermes gateway run \u2014 l\u1ec7nh n\u00e0y ch\u1ea1y gateway \u1edf foreground thay v\u00ec \u0111\u0103ng k\u00fd nh\u01b0 d\u1ecbch v\u1ee5 systemd. K\u1ebft h\u1ee3p v\u1edbi tmux \u0111\u1ec3 gi\u1eef gateway ch\u1ea1y li\u00ean t\u1ee5c d\u00f9 \u0111\u00f3ng c\u1eeda s\u1ed5 terminal: tmux new -s hermes 'hermes gateway run'.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Mu\u1ed1n kh\u1edfi \u0111\u1ed9ng l\u1ea1i Hermes Agent, ph\u1ea7n l\u1edbn tr\u01b0\u1eddng h\u1ee3p ch\u1ec9 c\u1ea7n ch\u1ea1y hermes gateway restart (gateway nh\u1eafn tin tr\u00ean Linux\/macOS) ho\u1eb7c tho\u00e1t r\u1ed3i m\u1edf l\u1ea1i hermes (phi\u00ean chat CLI). Tr\u00ean WSL2 v\u00e0 Docker, gateway ch\u1ea1y foreground n\u00ean kh\u1edfi \u0111\u1ed9ng l\u1ea1i b\u1eb1ng hermes gateway run ho\u1eb7c docker restart; sau hermes update, gateway t\u1ef1 \u0111\u01b0\u1ee3c kh\u1edfi [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":124858,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7592],"tags":[7608],"class_list":["post-124849","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hermes-agent","tag-restart-hermes-agent"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=124849"}],"version-history":[{"count":5,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124849\/revisions"}],"predecessor-version":[{"id":132490,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/124849\/revisions\/132490"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/124858"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=124849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=124849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=124849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}