@agenticmail/enterprise 0.5.236 → 0.5.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -463,7 +463,7 @@ export function DomainStatusPage() {
|
|
|
463
463
|
h('span', { style: { fontSize: 20 } }, '\uD83D\uDCE6'),
|
|
464
464
|
h('div', null,
|
|
465
465
|
h('div', { style: { fontSize: 14, fontWeight: 700, display: 'flex', alignItems: 'center' } }, 'Migrate to Another Machine', h(HelpButton, { label: 'Migration' },
|
|
466
|
-
h('p', null, 'Move your entire AgenticMail deployment to a different server or computer.
|
|
466
|
+
h('p', null, 'Move your entire AgenticMail deployment to a different server or computer. You need the .env file (configuration and encryption keys) and optionally the ~/.agenticmail/branding/ folder (company logo, favicon, login background).'),
|
|
467
467
|
h('div', { style: _tip }, h('strong', null, 'Tip: '), 'Always back up your .env file securely. Without the VAULT_KEY, encrypted credentials cannot be recovered.')
|
|
468
468
|
)),
|
|
469
469
|
h('div', { style: { fontSize: 12, color: 'var(--text-muted)' } }, 'Move your entire deployment to a new server or computer')
|
|
@@ -480,7 +480,8 @@ export function DomainStatusPage() {
|
|
|
480
480
|
h('li', null, 'On the new machine, create the directory: ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'mkdir -p ~/.agenticmail')),
|
|
481
481
|
h('li', null, 'Save the .env file there: ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, '~/.agenticmail/.env')),
|
|
482
482
|
h('li', null, 'Start the server: ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'npx @agenticmail/enterprise@latest start')),
|
|
483
|
-
h('li', null, 'If using Cloudflare Tunnel: run ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'cloudflared tunnel login'), ' on the new machine (same CF account), then redeploy the tunnel from the dashboard')
|
|
483
|
+
h('li', null, 'If using Cloudflare Tunnel: run ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'cloudflared tunnel login'), ' on the new machine (same CF account), then redeploy the tunnel from the dashboard'),
|
|
484
|
+
h('li', null, 'If you have company branding (logo, favicon, login background): copy the ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, '~/.agenticmail/branding/'), ' folder to the new machine')
|
|
484
485
|
)
|
|
485
486
|
),
|
|
486
487
|
h('div', { style: { padding: '12px 16px', background: 'var(--bg-primary)', borderRadius: 'var(--radius)', border: '1px solid var(--border)', fontSize: 12, color: 'var(--text-muted)', lineHeight: 1.6 } },
|
|
@@ -490,13 +491,17 @@ export function DomainStatusPage() {
|
|
|
490
491
|
'\u2022 ', h('strong', null, 'AGENTICMAIL_VAULT_KEY'), ' — decrypts stored credentials (email passwords, API keys)', h('br'),
|
|
491
492
|
'\u2022 ', h('strong', null, 'PORT'), ' — the port your server runs on', h('br'),
|
|
492
493
|
h('br'),
|
|
494
|
+
h('strong', { style: { color: 'var(--text-secondary)' } }, 'Branding assets:'), h('br'),
|
|
495
|
+
'Company branding files (logo, favicon, login background) are stored on disk at ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, '~/.agenticmail/branding/'),
|
|
496
|
+
'. These are ', h('strong', null, 'not'), ' in the database — copy this folder to keep your branding on the new machine. If you skip this, you can re-upload them from Settings after migration.',
|
|
497
|
+
h('br'), h('br'),
|
|
493
498
|
h('strong', { style: { color: 'var(--warning)' } }, 'Important:'), ' Without the same VAULT_KEY, encrypted credentials (agent email passwords, API keys) cannot be decrypted. You would need to re-enter them in the dashboard.'
|
|
494
499
|
),
|
|
495
500
|
h('div', { style: { marginTop: 12 } },
|
|
496
501
|
h('button', {
|
|
497
502
|
className: 'btn btn-sm',
|
|
498
503
|
onClick: function() {
|
|
499
|
-
var text = 'To migrate AgenticMail to a new machine:\\n\\n1. mkdir -p ~/.agenticmail\\n2. Copy this file to ~/.agenticmail/.env on the new machine\\n3. npx @agenticmail/enterprise@latest start\\
|
|
504
|
+
var text = 'To migrate AgenticMail to a new machine:\\n\\n1. mkdir -p ~/.agenticmail\\n2. Copy this file to ~/.agenticmail/.env on the new machine\\n3. Copy ~/.agenticmail/branding/ folder (if you have company branding)\\n4. npx @agenticmail/enterprise@latest start\\n5. If using CF Tunnel: cloudflared tunnel login + redeploy from dashboard';
|
|
500
505
|
navigator.clipboard.writeText(text);
|
|
501
506
|
toast('Migration instructions copied!', 'success');
|
|
502
507
|
}
|
package/package.json
CHANGED
|
@@ -463,7 +463,7 @@ export function DomainStatusPage() {
|
|
|
463
463
|
h('span', { style: { fontSize: 20 } }, '\uD83D\uDCE6'),
|
|
464
464
|
h('div', null,
|
|
465
465
|
h('div', { style: { fontSize: 14, fontWeight: 700, display: 'flex', alignItems: 'center' } }, 'Migrate to Another Machine', h(HelpButton, { label: 'Migration' },
|
|
466
|
-
h('p', null, 'Move your entire AgenticMail deployment to a different server or computer.
|
|
466
|
+
h('p', null, 'Move your entire AgenticMail deployment to a different server or computer. You need the .env file (configuration and encryption keys) and optionally the ~/.agenticmail/branding/ folder (company logo, favicon, login background).'),
|
|
467
467
|
h('div', { style: _tip }, h('strong', null, 'Tip: '), 'Always back up your .env file securely. Without the VAULT_KEY, encrypted credentials cannot be recovered.')
|
|
468
468
|
)),
|
|
469
469
|
h('div', { style: { fontSize: 12, color: 'var(--text-muted)' } }, 'Move your entire deployment to a new server or computer')
|
|
@@ -480,7 +480,8 @@ export function DomainStatusPage() {
|
|
|
480
480
|
h('li', null, 'On the new machine, create the directory: ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'mkdir -p ~/.agenticmail')),
|
|
481
481
|
h('li', null, 'Save the .env file there: ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, '~/.agenticmail/.env')),
|
|
482
482
|
h('li', null, 'Start the server: ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'npx @agenticmail/enterprise@latest start')),
|
|
483
|
-
h('li', null, 'If using Cloudflare Tunnel: run ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'cloudflared tunnel login'), ' on the new machine (same CF account), then redeploy the tunnel from the dashboard')
|
|
483
|
+
h('li', null, 'If using Cloudflare Tunnel: run ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, 'cloudflared tunnel login'), ' on the new machine (same CF account), then redeploy the tunnel from the dashboard'),
|
|
484
|
+
h('li', null, 'If you have company branding (logo, favicon, login background): copy the ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, '~/.agenticmail/branding/'), ' folder to the new machine')
|
|
484
485
|
)
|
|
485
486
|
),
|
|
486
487
|
h('div', { style: { padding: '12px 16px', background: 'var(--bg-primary)', borderRadius: 'var(--radius)', border: '1px solid var(--border)', fontSize: 12, color: 'var(--text-muted)', lineHeight: 1.6 } },
|
|
@@ -490,13 +491,17 @@ export function DomainStatusPage() {
|
|
|
490
491
|
'\u2022 ', h('strong', null, 'AGENTICMAIL_VAULT_KEY'), ' — decrypts stored credentials (email passwords, API keys)', h('br'),
|
|
491
492
|
'\u2022 ', h('strong', null, 'PORT'), ' — the port your server runs on', h('br'),
|
|
492
493
|
h('br'),
|
|
494
|
+
h('strong', { style: { color: 'var(--text-secondary)' } }, 'Branding assets:'), h('br'),
|
|
495
|
+
'Company branding files (logo, favicon, login background) are stored on disk at ', h('code', { style: { fontSize: 11, color: 'var(--accent)' } }, '~/.agenticmail/branding/'),
|
|
496
|
+
'. These are ', h('strong', null, 'not'), ' in the database — copy this folder to keep your branding on the new machine. If you skip this, you can re-upload them from Settings after migration.',
|
|
497
|
+
h('br'), h('br'),
|
|
493
498
|
h('strong', { style: { color: 'var(--warning)' } }, 'Important:'), ' Without the same VAULT_KEY, encrypted credentials (agent email passwords, API keys) cannot be decrypted. You would need to re-enter them in the dashboard.'
|
|
494
499
|
),
|
|
495
500
|
h('div', { style: { marginTop: 12 } },
|
|
496
501
|
h('button', {
|
|
497
502
|
className: 'btn btn-sm',
|
|
498
503
|
onClick: function() {
|
|
499
|
-
var text = 'To migrate AgenticMail to a new machine:\\n\\n1. mkdir -p ~/.agenticmail\\n2. Copy this file to ~/.agenticmail/.env on the new machine\\n3. npx @agenticmail/enterprise@latest start\\
|
|
504
|
+
var text = 'To migrate AgenticMail to a new machine:\\n\\n1. mkdir -p ~/.agenticmail\\n2. Copy this file to ~/.agenticmail/.env on the new machine\\n3. Copy ~/.agenticmail/branding/ folder (if you have company branding)\\n4. npx @agenticmail/enterprise@latest start\\n5. If using CF Tunnel: cloudflared tunnel login + redeploy from dashboard';
|
|
500
505
|
navigator.clipboard.writeText(text);
|
|
501
506
|
toast('Migration instructions copied!', 'success');
|
|
502
507
|
}
|