#Pasos para restaurar Open Claw de mis backup

1 messages ยท Page 1 of 1 (latest)

narrow dune
#

Restaurar Open Claw de la ultima configuracion buena conocida

bronze bobcatBOT
#

Sรญ โ€” pero primero pรกsame tu versiรณn:

openclaw --version

Mientras tanto, pasos seguros para restaurar la รบltima config buena:

CONFIG="$(openclaw config file)"
echo "$CONFIG"

openclaw logs --follow
openclaw config validate
ls -lt "$CONFIG".last-good "$CONFIG".clobbered.* "$CONFIG".rejected.* 2>/dev/null | head
#

Si ves en logs algo como โ€œConfig auto-restored from last-known-goodโ€, entonces openclaw.json ya fue restaurado automรกticamente. No copies .clobbered.* encima: ese archivo suele ser la config rota/rechazada.

Si necesitas forzar restauraciรณn manual desde la รบltima buena:

openclaw gateway stop

CONFIG="$(openclaw config file)"
cp -a "$CONFIG" "$CONFIG.before-manual-restore.$(date +%Y%m%d-%H%M%S)" 2>/dev/null || true
cp -a "$CONFIG.last-good" "$CONFIG"
chmod 600 "$CONFIG"

openclaw config validate
openclaw doctor
openclaw gateway start
openclaw status
narrow dune
#

OpenClaw 2026.4.23 (a979721)

bronze bobcatBOT
#

Perfecto, 2026.4.23 tiene soporte de last-good. Hazlo asรญ:

CONFIG="$(openclaw config file)"
echo "$CONFIG"
ls -lh "$CONFIG" "$CONFIG.last-good" 2>/dev/null

Si existe openclaw.json.last-good, restaura:

openclaw gateway stop

CONFIG="$(openclaw config file)"
cp -a "$CONFIG" "$CONFIG.before-restore.$(date +%Y%m%d-%H%M%S)"
cp -a "$CONFIG.last-good" "$CONFIG"
#
chmod 600 "$CONFIG"

openclaw config validate
openclaw doctor
openclaw gateway start
openclaw status

Importante: no pegues aquรญ el contenido de openclaw.json, puede tener tokens/secrets.

Si estรกs restaurando desde un .tar.gz creado con openclaw backup create, primero verifica:

openclaw backup verify /ruta/a/tu-backup.tar.gz
narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ CONFIG="$(openclaw config file)"
echo "$CONFIG"
ls -lh "$CONFIG" "$CONFIG.last-good" 2>/dev/null
~/.openclaw/openclaw.json

bronze bobcatBOT
#

Ese output indica que openclaw config file devolviรณ ~/.openclaw/openclaw.json, pero Bash no expande ~ dentro de una variable entre comillas, por eso el ls probablemente no encontrรณ nada.

Prueba asรญ:

CONFIG="$(openclaw config file)"
CONFIG="${CONFIG/#\~/$HOME}"
echo "$CONFIG"

ls -lh "$CONFIG" "$CONFIG.last-good" "$CONFIG".clobbered.* "$CONFIG".rejected.* 2>/dev/null || true

Si ahora aparece:

/home/alexifra/.openclaw/openclaw.json.last-good
#

restaura con:

openclaw gateway stop

cp -a "$CONFIG" "$CONFIG.before-restore.$(date +%Y%m%d-%H%M%S)"
cp -a "$CONFIG.last-good" "$CONFIG"
chmod 600 "$CONFIG"

openclaw config validate
openclaw doctor
openclaw gateway start
openclaw status

Si no aparece .last-good, dime quรฉ sale del ls y buscamos el backup .tar.gz.

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ CONFIG="$(openclaw config file)"
CONFIG="${CONFIG/#~/$HOME}"
echo "$CONFIG"

ls -lh "$CONFIG" "$CONFIG.last-good" "$CONFIG".clobbered.* "$CONFIG".rejected.* 2>/dev/null || true
/home/alexifra/.openclaw/openclaw.json
-rw------- 1 alexifra alexifra 4.6K Apr 27 16:28 /home/alexifra/.openclaw/openclaw.json
-rw------- 1 alexifra alexifra 166 Apr 6 17:37 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-06T20-37-36-262Z
-rw------- 1 alexifra alexifra 263 Apr 6 17:50 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-06T20-50-41-887Z
-rw------- 1 alexifra alexifra 392 Apr 6 18:33 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-06T21-33-43-828Z
-rw------- 1 alexifra alexifra 413 Apr 6 19:57 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-06T22-57-07-000Z
-rw------- 1 alexifra alexifra 583 Apr 7 23:53 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-08T02-53-00-698Z
-rw------- 1 alexifra alexifra 413 Apr 7 23:55 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-08T02-55-41-267Z
-rw------- 1 alexifra alexifra 493 Apr 7 23:55 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-08T02-55-41-425Z
-rw------- 1 alexifra alexifra 971 Apr 8 00:20 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-08T03-20-45-036Z
-rw------- 1 alexifra alexifra 392 Apr 8 00:46 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-08T03-46-34-113Z
-rw------- 1 alexifra alexifra 5.1K Apr 24 20:25 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-24T23-25-52-639Z
-rw------- 1 alexifra alexifra 5.1K Apr 24 20:25 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-24T23-25-52-696Z
-rw------- 1 alexifra alexifra 5.2K Apr 24 20:38 /home/alexifra/.openclaw/openclaw.json.clobbered.2026-04-24T23-38-38-632Z
-rw------- 1 alexifra alexifra 4.6K Apr 27 16:28 /home/alexifra/.openclaw/openclaw.json.last-good

bronze bobcatBOT
#

Bien โ€” tienes .last-good y parece que ya coincide con el openclaw.json actual: ambos 4.6K y Apr 27 16:28. O sea, probablemente ya estรกs en la รบltima config buena.

Verifรญcalo:

cmp -s "$CONFIG" "$CONFIG.last-good" && echo "OK: config actual = last-good" || echo "DIFERENTE"
openclaw config validate
openclaw doctor
openclaw status

Si cmp dice OK, no copies nada; ya estรก restaurado.

Si dice DIFERENTE, entonces sรญ puedes restaurar:

#
openclaw gateway stop
cp -a "$CONFIG" "$CONFIG.before-restore.$(date +%Y%m%d-%H%M%S)"
cp -a "$CONFIG.last-good" "$CONFIG"
chmod 600 "$CONFIG"
openclaw config validate
openclaw gateway start
openclaw status

Los .clobbered.* son configs rechazadas/rotas guardadas para inspecciรณn โ€” no las restaures encima salvo que sepas exactamente quรฉ cambio quieres recuperar.

narrow dune
#

ahora el sistema de Open Claw se conecta con Discord al LLM, pero le escrbes, responde que lo esta buscando y no devuelve nada. Lo mejor es ir restaurando versiones anteriores, hasta encontrar una estable

bronze bobcatBOT
#

Sรญ, pero lo harรญa metรณdico, no restaurando .clobbered.* a ciegas. Esos archivos son configs que OpenClaw marcรณ como problemรกticas.

Primero guarda el estado actual:

mkdir -p ~/openclaw-backups
openclaw backup create --output ~/openclaw-backups --verify
openclaw update status
openclaw status --all

Antes de bajar versiรณn, prueba una sesiรณn limpia en Discord:

/new
#

y manda algo simple tipo โ€œresponde solo PONGโ€. Si vuelve a decir que busca y no termina, entonces mira logs mientras envรญas el mensaje:

openclaw logs --follow

Para probar versiones anteriores de OpenClaw:

openclaw update --tag 2026.4.22 --dry-run
openclaw update --tag 2026.4.22 --yes
openclaw gateway restart
openclaw --version
openclaw doctor
openclaw status
#

Si sigue igual, baja un paso mรกs:

openclaw update --tag 2026.4.21 --dry-run
openclaw update --tag 2026.4.21 --yes
openclaw gateway restart
openclaw doctor
openclaw status

Cuando encuentres una versiรณn estable, quรฉdate ahรญ y comparte el error exacto de openclaw logs --follow; asรญ vemos si era bug de versiรณn, modelo, web search/tool-call, o sesiรณn atascada.

Docs: https://docs.openclaw.ai/cli/update y https://docs.openclaw.ai/cli/backup

narrow dune
#

02:11:31+00:00 warn agent/embedded {"subsystem":"agent/embedded"} {"event":"embedded_run_failover_decision","tags":["error_handling","failover","assistant","fallback_model"],"runId":"42b7412a-609c-4cf9-a9c1-35e1412e2e3b","stage":"assistant","decision":"fallback_model","failoverReason":"rate_limit","profileFailureReason":"rate_limit","provider":"google","model":"gemini-3-flash-preview","sourceProvider":"google","sourceModel":"gemini-3-flash-preview","profileId":"sha256:a94403a4f9d0","fallbackConfigured":true,"timedOut":false,"aborted":false,"status":429,"rawErrorPreview":"Google Generative AI API error (429): {\n "error": {\n "code": 429,\n "message": "Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps. ",\n "status": "RESOURCE_EXHAUSTED"\n }\n}","rawErrorHash":"sha256:d9e25fa16ac7","providerRuntimeFailureKind":"rate_limit"} embedded run failover decision
02:11:31+00:00 error diagnostic {"subsystem":"diagnostic"} lane task error: lane=main durationMs=19939 error="FailoverError: โš ๏ธ API rate limit reached. Please try again later."
02:11:31+00:00 error diagnostic {"subsystem":"diagnostic"} lane task error: lane=session:agent:main:discord:direct:1416148785159213106 durationMs=19941 error="FailoverError: โš ๏ธ API rate limit reached. Please try again later."
02:11:31+00:00 warn model-fallback/decision {"subsystem":"model-fallback/decision"} {"event":"model_fallback_decision","tags":["error_handling","model_fallback","candidate_failed"],"runId":"42b7412a-609c-4cf9-a9c1-35e1412e2e3b","decision":"candidate_failed","requestedProvider":"google","requestedModel":"gemini-3-flash-preview","candidateProvider":"google","candidateModel":"gemini-3-flash-preview","attempt":1,"total":3,"reason":"rate_limit","status":429,"errorPreview":"Google Generative AI API error (429): {\n "error": {\n "code": 429,\n "message": "Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps. ",\n "status": "RESOURCE_EXHAUSTED"\n }\n}","errorHash":"sha256:d9e25fa16ac7","nextCandidateProvider":"openrouter","nextCandidateModel":"moonshotai/kimi-k2.6","isPrimary":true,"requestedModelMatched":true,"fallbackConfigured":true} model fallback decision
02:11:51+00:00 warn model-fallback/decision {"subsystem":"model-fallback/decision"} {"event":"model_fallback_decision","tags":["error_handling","model_fallback","candidate_succeeded"],"runId":"42b7412a-609c-4cf9-a9c1-35e1412e2e3b","decision":"candidate_succeeded","requestedProvider":"google","requestedModel":"gemini-3-flash-preview","candidateProvider":"openrouter","candidateModel":"moonshotai/kimi-k2.6","attempt":2,"total":3,"isPrimary":false,"requestedModelMatched":false,"fallbackConfigured":true,"previousAttempts":[{"provider":"google","model":"gemini-3-flash-preview","reason":"rate_limit","status":429,"errorPreview":"Google Generative AI API error (429): {\n "error": {\n "code": 429,\n "message": "Your project has exceeded its monthly spending cap. Please go to AI Studio at https://ai.studio/spend to manage your project spend cap. Learn more at https://ai.google.dev/gemini-api/docs/billing#project-spend-caps. ",\n "status": "RESOURCE_EXHAUSTED"\n }\n}","errorHash":"sha256:d9e25fa16ac7"}]} model fallback decision

bronze bobcatBOT
#

Esto ya no parece problema de versiรณn/config. El log es bastante claro:

Google/Gemini estรก fallando por lรญmite de gasto mensual:

Your project has exceeded its monthly spending cap
status: RESOURCE_EXHAUSTED / 429

OpenClaw intenta fallback y el fallback sรญ tuvo รฉxito a las 02:11:51. Asรญ que yo no bajarรญa versiones todavรญa; primero quita Google como modelo primario o sube el spending cap en AI Studio.

Haz esto:

openclaw models status
openclaw models fallbacks list

Luego elige un modelo no-Google de los que ya tengas configurados:

#
openclaw models list
openclaw models set <provider/model>
openclaw gateway restart

Despuรฉs en Discord manda:

/new

y prueba:

responde solo PONG
#

Si quieres arreglar Google en vez de cambiar modelo: entra en AI Studio/Billing y sube o resetea el monthly spending cap del proyecto Gemini.

Si despuรฉs de cambiar a un modelo no-Google sigue โ€œbuscandoโ€ y no devuelve mensaje, entonces el siguiente paso es mirar el log despuรฉs de candidate_succeeded, porque ahรญ ya serรญa un problema de entrega Discord/sesiรณn, no de LLM.

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ openclaw models status
openclaw models fallbacks list

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” If it's repetitive, I'll automate it; if it's hard, I'll bring jokes and a rollback plan.

Config : ~/.openclaw/openclaw.json
Agent dir : ~/.openclaw/agents/main/agent
Default : google/gemini-3.1-flash-lite-preview
Fallbacks (1) : openrouter/moonshotai/kimi-k2.6
Image model : -
Image fallbacks (0): -
Aliases (3) : gemini-flash-lite -> google/gemini-3.1-flash-lite-preview, gemini-flash -> google/gemini-3-flash-preview, OpenRouter -> openrouter/auto
Configured models (6): openrouter/free, google/gemini-3.1-flash-lite-preview, google/gemini-3-flash-preview, openrouter/auto, openrouter/@preset/asistente-diario, openrouter/moonshotai/kimi-k2.6

Auth overview
Auth store : ~/.openclaw/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (0): -

  • brave effective=env:BSAwl7-5...x7NCmChU | env=BSAwl7-5...x7NCmChU | source=env: BRAVE_API_KEY
  • google effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | google:default=AIzaSyCx...1ghdoEJY | env=AIzaSyCx...1ghdoEJY | source=env: GEMINI_API_KEY
  • openai effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | openai:default=sk-proj-...fRb8ZXEA | env=sk-proj-...pSn135wA | source=env: OPENAI_API_KEY
  • openrouter effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | openrouter:default=sk-or-v1...23d8c66e | env=sk-or-v1...23d8c66e | source=env: OPENROUTER_API_KEY
  • perplexity effective=env:sk-or-v1...23d8c66e | env=sk-or-v1...23d8c66e | source=env: OPENROUTER_API_KEY

OAuth/token status

  • none

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” One CLI to rule them all, and one more restart because you changed the port.

Fallbacks (1):

  • openrouter/moonshotai/kimi-k2.6
bronze bobcatBOT
#

Ahรญ estรก el problema: tu default sigue siendo Google:

Default: google/gemini-3.1-flash-lite-preview

y tu Google estรก bloqueado por spending cap. Cambia el default a OpenRouter:

openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw models status
openclaw gateway restart

Luego en Discord prueba con sesiรณn limpia:

#
/new

y despuรฉs:

responde solo PONG

Si quieres usar tu preset diario como default, tambiรฉn podrรญas probar:

openclaw models set openrouter/@preset/asistente-diario
openclaw gateway restart
#

Yo empezarรญa con openrouter/moonshotai/kimi-k2.6 porque ya vimos en logs que ese fallback sรญ llegรณ a funcionar.

narrow dune
#

verifiquemos los tar.gz de bacup que tenemos en el sistema

bronze bobcatBOT
#

Sรญ. Para localizarlos sin tocar nada:

find "$HOME" -type f \( -name "*openclaw*backup*.tar.gz" -o -name "*.tar.gz" \) \
  -printf '%TY-%Tm-%Td %TH:%TM  %10s  %p\n' 2>/dev/null | sort -r | head -50

Si salen muchos .tar.gz, filtra solo backups de OpenClaw:

find "$HOME" -type f -name "*.tar.gz" -print 2>/dev/null | while read -r f; do
  if tar -tzf "$f" 2>/dev/null | grep -q 'manifest.json'; then
    echo "$f"
  fi
done
#

Luego verifica cada candidato:

openclaw backup verify "/ruta/al/backup.tar.gz"

Si quieres hacerlo en lote:

find "$HOME" -type f -name "*.tar.gz" -print 2>/dev/null | while read -r f; do
  echo "== $f =="
  openclaw backup verify "$f" >/tmp/openclaw-verify.out 2>&1 && echo "OK" || cat /tmp/openclaw-verify.out
done

Pega aquรญ solo las rutas/nombres y fechas, no el contenido del backup.

narrow dune
#

/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz
2026-04-20 04:00 2844376 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/workspace_full.tar.gz
2026-04-20 04:00 1719 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/config_essentials.tar.gz
2026-04-19 04:00 2843608 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/workspace_full.tar.gz
2026-04-19 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/config_essentials.tar.gz
2026-04-15 04:00 2842975 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-15/workspace_full.tar.gz
2026-04-15 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-15/config_essentials.tar.gz
2026-04-14 04:00 2842927 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-14/workspace_full.tar.gz
2026-04-14 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-14/config_essentials.tar.gz
2026-04-13 04:00 2842257 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-13/workspace_full.tar.gz
2026-04-13 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-13/config_essentials.tar.gz
2026-04-12 20:29 2966515508 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-12-Validado/system_config.tar.gz
2026-04-12 20:29 2842244 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-12/workspace_full.tar.gz
2026-04-12 20:29 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-12/config_essentials.tar.gz
2026-04-12 20:27 2842244 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-12-Validado/workspace.tar.gz
2026-04-10 07:25 1069838390 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-10-last-email_draft.txt/system_config.tar.gz
2026-04-10 07:25 2841684 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-10-last-email_draft.txt/workspace.tar.gz
2026-04-09 10:21 639831459 /home/alexifra/.openclaw/backups/Backup-Diario-2026-04-09-1021/system_config.tar.gz
2026-04-09 10:21 2840626 /home/alexifra/.openclaw/backups/Backup-Diario-2026-04-09-1021/workspace.tar.gz
2026-04-09 10:21 4862 /home/alexifra/.openclaw/backups/Backup-Diario-2026-04-09-1021/scripts.tar.gz
2026-04-08 16:16 209740519 /home/alexifra/.openclaw/backups/Backup-Gemini-3.1-Flash-Lite-2026-04-08-1616/system_config.tar.gz
2026-04-08 16:16 2837099 /home/alexifra/.openclaw/backups/Backup-Gemini-3.1-Flash-Lite-2026-04-08-1616/workspace.tar.gz
2026-04-08 16:16 2276 /home/alexifra/.openclaw/backups/Backup-Gemini-3.1-Flash-Lite-2026-04-08-1616/scripts.tar.gz
2026-04-08 03:36 131560 /home/alexifra/.openclaw/backups/Backup-Autoplus-2026-04-08/workspace.tar.gz
2026-04-08 03:36 1781 /home/alexifra/.openclaw/backups/Backup-Autoplus-2026-04-08/scripts_usuario.tar.gz
2026-04-08 02:15 131560 /home/alexifra/.openclaw/backups/autenticacion-Google-Workspace-OK-2026-04-08-0215/workspace.tar.gz
2026-04-08 02:15 910 /home/alexifra/.openclaw/backups/autenticacion-Google-Workspace-OK-2026-04-08-0215/user_scripts.tar.gz
2026-04-06 19:48 50069504 /home/alexifra/.openclaw/backups/pre-restore-completo-2026-04-06-1948.tar.gz
2026-04-06 19:30 133505 /home/alexifra/.openclaw/backups/pre-restore-hoy.tar.gz
2026-04-05 10:39 49807360 /home/alexifra/.openclaw/backups/system-backup-2026-04-05.tar.gz
2026-03-31 13:08 2250 /home/alexifra/.openclaw/backups/state-2026-03-31_13-10-google-drive-autorizacion-ok.tar.gz
2026-03-26 00:13 209192 /home/alexifra/.openclaw/snapshots/workspace-2026-03-26_00-13-40-stability-gog-telegram.tar.gz
2026-03-26 00:13 3790 /home/alexifra/.openclaw/backups/state-2026-03-26_00-13-40-gog-telegram.tar.gz

bronze bobcatBOT
#

Tienes varios. El mejor candidato primero es este, porque parece backup oficial de OpenClaw:

/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz

Verifรญcalo asรญ:

openclaw backup verify "/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz"

Para los otros .tar.gz hechos a mano, usa verificaciรณn de integridad:

for f in \
#
  /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/config_essentials.tar.gz \
  /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/config_essentials.tar.gz \
  /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-15/config_essentials.tar.gz \
  /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-14/config_essentials.tar.gz \
  /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-13/config_essentials.tar.gz
do
  echo "== $f =="
  tar -tzf "$f" >/dev/null && echo "OK" || echo "ERROR"
done

Y para ver quรฉ contienen sin extraer encima de nada:

tar -tzf /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/config_essentials.tar.gz
#

Mi recomendaciรณn: no restaures system_config.tar.gz todavรญa; son enormes y pueden pisar muchas cosas. Primero revisemos/restauremos solo config_essentials.tar.gz o el backup oficial del 20 de abril.

narrow dune
#

pego nuevamente la lista completa ny dime cuales son los mas recientes

bronze bobcatBOT
#

Claro. Pega la lista completa y te la ordeno.

Por lo que ya mandaste, los mรกs recientes son:

  1. 2026-04-20 17:42 โ€” backup oficial OpenClaw
    /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz

  2. 2026-04-20 04:00 โ€” config essentials
    /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/config_essentials.tar.gz

  3. 2026-04-20 04:00 โ€” workspace full
    /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/workspace_full.tar.gz

  4. 2026-04-19 04:00 โ€” config essentials
    /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/config_essentials.tar.gz

  5. 2026-04-19 04:00 โ€” workspace full

#

/home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/workspace_full.tar.gz

Para restaurar config, los que mรกs importan son los config_essentials.tar.gz y el backup oficial 2026-04-20T17-42...openclaw-backup.tar.gz. Los workspace_full son memoria/workspace, no tanto conexiรณn/modelos.

narrow dune
#

2026-04-20 15:24 3964867423 /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz
2026-04-20 15:08 3964867439 /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-06-34.084Z-openclaw-backup.tar.gz
2026-04-20 14:44 3964867343 /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz
2026-04-20 04:00 2844376 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/workspace_full.tar.gz
2026-04-20 04:00 1719 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/config_essentials.tar.gz
2026-04-19 04:00 2843608 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/workspace_full.tar.gz
2026-04-19 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/config_essentials.tar.gz
2026-04-15 04:00 2842975 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-15/workspace_full.tar.gz
2026-04-15 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-15/config_essentials.tar.gz
2026-04-14 04:00 2842927 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-14/workspace_full.tar.gz
2026-04-14 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-14/config_essentials.tar.gz
2026-04-13 04:00 2842257 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-13/workspace_full.tar.gz
2026-04-13 04:00 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-13/config_essentials.tar.gz
2026-04-12 20:29 2966515508 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-12-Validado/system_config.tar.gz
2026-04-12 20:29 2842244 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-12/workspace_full.tar.gz
2026-04-12 20:29 1720 /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-12/config_essentials.tar.gz
2026-04-12 20:27 2842244 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-12-Validado/workspace.tar.gz
2026-04-10 07:25 1069838390 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-10-last-email_draft.txt/system_config.tar.gz
2026-04-10 07:25 2841684 /home/alexifra/.openclaw/backups/Backup-Full-2026-04-10-last-email_draft.txt/workspace.tar.gz
2026-04-09 10:21 639831459 /home/alexifra/.openclaw/backups/Backup-Diario-2026-04-09-1021/system_config.tar.gz
2026-04-09 10:21 2840626 /home/alexifra/.openclaw/backups/Backup-Diario-2026-04-09-1021/workspace.tar.gz
2026-04-09 10:21 4862 /home/alexifra/.openclaw/backups/Backup-Diario-2026-04-09-1021/scripts.tar.gz
2026-04-08 16:16 209740519 /home/alexifra/.openclaw/backups/Backup-Gemini-3.1-Flash-Lite-2026-04-08-1616/system_config.tar.gz
2026-04-08 16:16 2837099 /home/alexifra/.openclaw/backups/Backup-Gemini-3.1-Flash-Lite-2026-04-08-1616/workspace.tar.gz
2026-04-08 16:16 2276 /home/alexifra/.openclaw/backups/Backup-Gemini-3.1-Flash-Lite-2026-04-08-1616/scripts.tar.gz
2026-04-08 03:36 131560 /home/alexifra/.openclaw/backups/Backup-Autoplus-2026-04-08/workspace.tar.gz
2026-04-08 03:36 1781 /home/alexifra/.openclaw/backups/Backup-Autoplus-2026-04-08/scripts_usuario.tar.gz
2026-04-08 02:15 131560 /home/alexifra/.openclaw/backups/autenticacion-Google-Workspace-OK-2026-04-08-0215/workspace.tar.gz
2026-04-08 02:15 910 /home/alexifra/.openclaw/backups/autenticacion-Google-Workspace-OK-2026-04-08-0215/user_scripts.tar.gz
2026-04-06 19:48 50069504 /home/alexifra/.openclaw/backups/pre-restore-completo-2026-04-06-1948.tar.gz
2026-04-06 19:30 133505 /home/alexifra/.openclaw/backups/pre-restore-hoy.tar.gz
2026-04-05 10:39 49807360 /home/alexifra/.openclaw/backups/system-backup-2026-04-05.tar.gz
2026-03-31 13:08 2250 /home/alexifra/.openclaw/backups/state-2026-03-31_13-10-google-drive-autorizacion-ok.tar.gz
2026-03-26 00:13 209192 /home/alexifra/.openclaw/snapshots/workspace-2026-03-26_00-13-40-stability-gog-telegram.tar.gz
2026-03-26 00:13

bronze bobcatBOT
#

Los mรกs recientes son estos, en orden:

  1. 2026-04-20 15:24 โ€” mรกs reciente
    /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz

  2. 2026-04-20 15:08
    /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-06-34.084Z-openclaw-backup.tar.gz

  3. 2026-04-20 14:44
    /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz

  4. 2026-04-20 04:00 โ€” backup manual de config/workspace
    /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/config_essentials.tar.gz
    /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-20/workspace_full.tar.gz

  5. 2026-04-19 04:00
    /home/alexifra/.openclaw/backups/Backup-Seguro-2026-04-19/config_essentials.tar.gz

#

Yo verificarรญa primero los 3 backups oficiales de GoogleDrive, empezando por el mรกs reciente:

for f in \
"/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz" \
"/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-06-34.084Z-openclaw-backup.tar.gz" \
"/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T17-42-06.456Z-openclaw-backup.tar.gz"
do
  echo "== $f =="
  openclaw backup verify "$f"
done

Si esos verifican bien, el candidato principal es el 2026-04-20T18-22-13.136Z.

narrow dune
#

restauremos el numero 1 y vamos probando, si esta ok lo dejamos ahi. Si no funciona probamos el numero 2. Y asi sucesivamente

bronze bobcatBOT
#

Sรญ. Hagรกmoslo seguro y reversible con el backup #1:

ARCHIVE="/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz"

openclaw backup verify "$ARCHIVE"

Si dice OK, crea un backup del estado actual antes de tocar nada:

mkdir -p ~/openclaw-restore-safety
openclaw backup create --output ~/openclaw-restore-safety --verify

Ahora restaura el backup #1 completo:

#
openclaw gateway stop

TS="$(date +%Y%m%d-%H%M%S)"
mv ~/.openclaw ~/.openclaw.before-restore-$TS

TMP="$(mktemp -d)"
tar -xzf "$ARCHIVE" -C "$TMP"

# Copia el estado .openclaw desde el backup oficial
rsync -a "$TMP"/*/payload/posix/home/alexifra/.openclaw/ ~/.openclaw/

chmod 700 ~/.openclaw
chmod 600 ~/.openclaw/openclaw.json 2>/dev/null || true

openclaw config validate
#
openclaw doctor
openclaw gateway start
openclaw status

Luego prueba en Discord:

/new

y:

responde solo PONG
#

Si no funciona, volvemos atrรกs o probamos el #2. Para volver al estado anterior:

openclaw gateway stop
mv ~/.openclaw ~/.openclaw.failed-restore-$TS
mv ~/.openclaw.before-restore-$TS ~/.openclaw
openclaw gateway start

Ojo: si el backup #1 tambiรฉn usa Google/Gemini como default, el problema del spending cap seguirรก. En ese caso la restauraciรณn no lo arregla; habrรก que dejar OpenRouter como modelo default.

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ ARCHIVE="/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz"

openclaw backup verify "$ARCHIVE"

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Give me a workspace and I'll give you fewer tabs, fewer toggles, and more oxygen.

Backup archive OK: /home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz
Archive root: 2026-04-20T18-22-13.136Z-openclaw-backup
Created at: 2026-04-20T18:22:13.136Z
Runtime version: 2026.4.15
Assets verified: 1
Archive entries scanned: 5821

bronze bobcatBOT
#

Perfecto: el backup #1 estรก sano. Nota importante: fue creado con OpenClaw 2026.4.15, y tu runtime actual es 2026.4.23. Aun asรญ podemos restaurar el estado; despuรฉs vemos si tambiรฉn conviene bajar versiรณn.

Antes de mover ~/.openclaw, haz backup actual:

mkdir -p ~/openclaw-restore-safety
openclaw backup create --output ~/openclaw-restore-safety --verify

Luego restaura #1:

ARCHIVE="/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz"

openclaw gateway stop
#
TS="$(date +%Y%m%d-%H%M%S)"
mv ~/.openclaw ~/.openclaw.before-restore-$TS

TMP="$(mktemp -d)"
tar -xzf "$ARCHIVE" -C "$TMP"

rsync -a "$TMP"/*/payload/posix/home/alexifra/.openclaw/ ~/.openclaw/

chmod 700 ~/.openclaw
chmod 600 ~/.openclaw/openclaw.json 2>/dev/null || true

openclaw config validate
openclaw doctor
openclaw gateway start
openclaw status
#

Si rsync no estรก instalado, usa:

cp -a "$TMP"/*/payload/posix/home/alexifra/.openclaw ~/.openclaw

Despuรฉs prueba Discord con:

/new

y:

responde solo PONG
narrow dune
#

voy a ir pegando por parte el resultado

bronze bobcatBOT
#

Perfecto, pega las partes.

No pegues tokens completos, claves API ni contenido de openclaw.json entero. Si aparece algo tipo sk-..., AIza..., DISCORD_TOKEN, etc., redรกctalo.

Lo que mรกs me interesa ver tras la restauraciรณn:

openclaw config validate
openclaw doctor
openclaw status
openclaw models status

y si falla al probar Discord, las รบltimas lรญneas de:

#
openclaw logs --follow
narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ ARCHIVE="/home/alexifra/GoogleDrive/OpenClawBackups/2026-04-20T18-22-13.136Z-openclaw-backup.tar.gz"

openclaw gateway stop

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” I speak fluent bash, mild sarcasm, and aggressive tab-completion energy.

Stopped systemd service: openclaw-gateway.service
alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ TS="$(date +%Y%m%d-%H%M%S)"
mv ~/.openclaw ~/.openclaw.before-restore-$TS

TMP="$(mktemp -d)"
tar -xzf "$ARCHIVE" -C "$TMP"

rsync -a "$TMP"/*/payload/posix/home/alexifra/.openclaw/ ~/.openclaw/

chmod 700 ~/.openclaw
chmod 600 ~/.openclaw/openclaw.json 2>/dev/null || true

openclaw config validate
openclaw doctor
openclaw gateway start
openclaw status

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Welcome to the command line: where dreams compile and confidence segfaults.

Config valid: ~/.openclaw/openclaw.json

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” I've read more man pages than any human shouldโ€”so you don't have to.

bronze bobcatBOT
#

Bien: la config restaurada valida correctamente โœ…

Parece que openclaw doctor siguiรณ corriendo o el paste se cortรณ justo despuรฉs. Espera a que termine y pega la siguiente parte desde doctor, gateway start y status.

Si se quedรณ colgado mรกs de 2โ€“3 minutos, abre otra terminal y mira:

openclaw gateway status
openclaw logs --tail 80

Despuรฉs de que arranque, revisa el modelo:

openclaw models status
#

Si el backup restaurรณ Google como default, cรกmbialo otra vez a OpenRouter antes de probar Discord:

openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw gateway restart
narrow dune
#

โ”Œ OpenClaw doctor
โ”‚
โ—‡ Update โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ This install is not a git checkout. โ”‚
โ”‚ Run openclaw update to update via your package manager (npm/pnpm), then rerun doctor. โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Doctor warnings โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ - channels.discord.groupPolicy is "allowlist" but groupAllowFrom (and allowFrom) is โ”‚
โ”‚ empty โ€” all group messages will be silently dropped. Add sender IDs to โ”‚
โ”‚ channels.discord.groupAllowFrom or channels.discord.allowFrom, or set groupPolicy to โ”‚
โ”‚ "open". โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Archive 1 orphan transcript file in ~/.openclaw/agents/main/sessions? This only renames them to *.deleted.<timestamp>.
โ”‚ Yes
โ”‚
โ—‡ State integrity โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ - 1/5 recent sessions are missing transcripts. โ”‚
โ”‚ Verify sessions in store: openclaw sessions --store โ”‚
โ”‚ "/home/alexifra/.openclaw/agents/main/sessions/sessions.json" โ”‚
โ”‚ Preview cleanup impact: openclaw sessions cleanup --store โ”‚
โ”‚ "/home/alexifra/.openclaw/agents/main/sessions/sessions.json" --dry-run โ”‚
โ”‚ Prune missing entries: openclaw sessions cleanup --store โ”‚
โ”‚ "/home/alexifra/.openclaw/agents/main/sessions/sessions.json" --enforce --fix-missing โ”‚
โ”‚ - Found 1 orphan transcript file in ~/.openclaw/agents/main/sessions. โ”‚
โ”‚ These .jsonl files are no longer referenced by sessions.json, so they are not part of โ”‚
โ”‚ any active session history. โ”‚
โ”‚ Doctor can archive them safely by renaming each file to *.deleted.<timestamp>. โ”‚
โ”‚ Examples: e66a0a9e-3268-4bc4-a83b-9e417947d75f.jsonl โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Doctor changes โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ - Archived 1 orphan transcript file in ~/.openclaw/agents/main/sessions as .deleted โ”‚
โ”‚ timestamped backups. โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Security โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ - No channel security warnings detected. โ”‚
โ”‚ - Run: openclaw security audit --deep โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Skills status โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Eligible: 19 โ”‚
โ”‚ Missing requirements: 36 โ”‚
โ”‚ Blocked by allowlist: 0 โ”‚
โ”‚ โ”‚

bronze bobcatBOT
#

Bien, doctor no muestra nada fatal. Pero sรญ aparece una causa muy probable para Discord:

channels.discord.groupPolicy is "allowlist" but groupAllowFrom (and allowFrom) is empty
โ€” all group messages will be silently dropped

Como estรกs probando desde Discord en servidor/thread, eso puede hacer que no responda.

Para permitir mensajes de grupos/servidor Discord:

openclaw config set channels.discord.groupPolicy open
openclaw config validate
openclaw gateway start
openclaw status
#

Luego prueba en Discord:

/new

y despuรฉs:

responde solo PONG

Si prefieres mantener allowlist en vez de open, hay que agregar IDs a channels.discord.groupAllowFrom o channels.discord.allowFrom; pero para probar rรกpido, groupPolicy open es lo mรกs simple.

Despuรฉs revisa tambiรฉn el modelo:

#
openclaw models status

Si sigue en Google/Gemini, cรกmbialo:

openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw gateway restart
narrow dune
#

โ—‡ Plugins โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Loaded: 50 โ”‚
โ”‚ Imported: 1 โ”‚
โ”‚ Disabled: 53 โ”‚
โ”‚ Errors: 0 โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡
โ”‚
โ—‡ Gateway โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Gateway not running. โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Gateway connection โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Gateway target: ws://127.0.0.1:18789 โ”‚
โ”‚ Source: local loopback โ”‚
โ”‚ Config: /home/alexifra/.openclaw/openclaw.json โ”‚
โ”‚ Bind: loopback โ”‚
โ”‚ โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ”‚
โ—‡ Gateway โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ โ”‚
โ”‚ Runtime: stopped (state inactive, sub dead, last exit 0, reason 1) โ”‚
โ”‚ Service is loaded but not running (likely exited immediately). โ”‚
โ”‚ File logs: /tmp/openclaw/openclaw-2026-04-27.log โ”‚
โ”‚ Logs: journalctl --user -u openclaw-gateway.service -n 200 --no-pager โ”‚
โ”‚ Restart attempts: /home/alexifra/.openclaw/logs/gateway-restart.log โ”‚

bronze bobcatBOT
#

Eso puede ser normal: doctor lo vio parado porque acabรกbamos de hacer openclaw gateway stop. Ahora toca arrancarlo y ver si se queda vivo.

Ejecuta:

openclaw config set channels.discord.groupPolicy open
openclaw models set openrouter/moonshotai/kimi-k2.6

openclaw gateway start
sleep 5
openclaw gateway status
openclaw status

Si dice otra vez โ€œservice loaded but not running / exited immediatelyโ€, pega estas salidas:

#
journalctl --user -u openclaw-gateway.service -n 200 --no-pager
tail -n 200 ~/.openclaw/logs/gateway-restart.log
tail -n 200 "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"

No pegues tokens/API keys si aparecen.

narrow dune
#

โ—‡ Start gateway service now?
โ”‚ Yes
Restarted systemd service: openclaw-gateway.service
Run "openclaw doctor --fix" to apply changes.
โ”‚
โ”” Doctor complete.

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Your AI assistant, now without the $3,499 headset.

Restarted systemd service: openclaw-gateway.service

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Making 'I'll automate that later' happen now.

โ”‚
โ—‡
โ”‚
โ—‡
OpenClaw status

Overview
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Item โ”‚ Value โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ OS โ”‚ linux 6.6.87.2-microsoft-standard-WSL2 (x64) ยท node 22.22.1 โ”‚
โ”‚ Dashboard โ”‚ http://127.0.0.1:18789/ โ”‚
โ”‚ Tailscale โ”‚ off โ”‚
โ”‚ Channel โ”‚ stable (default) โ”‚
โ”‚ Update โ”‚ available ยท pnpm ยท npm update 2026.4.26 โ”‚
โ”‚ Gateway โ”‚ local ยท ws://127.0.0.1:18789 (local loopback) ยท unreachable (connect ECONNREFUSED 127.0.0.1:18789) โ”‚
โ”‚ Gateway service โ”‚ systemd installed ยท enabled ยท running (pid 6563, state active) โ”‚
โ”‚ Node service โ”‚ systemd not installed โ”‚
โ”‚ Agents โ”‚ 1 ยท no bootstrap files ยท sessions 11 ยท default main active 7d ago โ”‚
โ”‚ Memory โ”‚ 15 files ยท 36 chunks ยท sources memory ยท plugin memory-core ยท vector ready ยท fts ready ยท cache on (38) โ”‚
โ”‚ Plugin compatibility โ”‚ none โ”‚
โ”‚ Probes โ”‚ skipped (use --deep) โ”‚
โ”‚ Events โ”‚ none โ”‚
โ”‚ Tasks โ”‚ 0 active ยท 0 queued ยท 0 running ยท 3 issues ยท audit 7 warn ยท 7 tracked โ”‚
โ”‚ Heartbeat โ”‚ 30m (main) โ”‚
โ”‚ Sessions โ”‚ 11 active ยท default gemini-3.1-flash-lite-preview (200k ctx) ยท ~/.openclaw/agents/main/sessions/sessions.json โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

bronze bobcatBOT
#

Buen avance: el servicio systemd estรก โ€œrunningโ€, pero el Gateway todavรญa sale unreachable / ECONNREFUSED. Puede estar arrancando lento o fallando dentro del proceso. Ademรกs el modelo volviรณ a Gemini.

Haz esto en orden:

openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw config set channels.discord.groupPolicy open
openclaw gateway restart

sleep 10
openclaw gateway status
openclaw status --deep

Si sigue ECONNREFUSED, necesitamos logs:

#
journalctl --user -u openclaw-gateway.service -n 120 --no-pager
tail -n 120 ~/.openclaw/logs/gateway-restart.log
tail -n 160 "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"

El dato clave ahora: systemd estรก vivo pero el puerto 18789 no escucha, asรญ que no sigas restaurando backups todavรญa; primero veamos por quรฉ el gateway no abriรณ el puerto.

narrow dune
#

Security audit
Summary: 0 critical ยท 6 warn ยท 1 info
WARN Reverse proxy headers are not trusted
gateway.bind is loopback and gateway.trustedProxies is empty. If you expose the Control UI through a reverse proxy, configure trusted proxies so local-client cโ€ฆ
Fix: Set gateway.trustedProxies to your proxy IPs or keep the Control UI local-only.
WARN Exec security=full is configured
Full exec trust is enabled for: main.
Fix: Prefer tools.exec.security="allowlist" with ask prompts, and reserve "full" for tightly scoped break-glass agents only.
WARN Some configured models are below recommended tiers
Smaller/older models are generally more susceptible to prompt injection and tool misuse. - openai/gpt-4.1-mini (Below GPT-5 family) @ agents.defaults.model.falโ€ฆ
Fix: Use the latest, top-tier model for any bot with tools or untrusted inboxes. Avoid Haiku tiers; prefer GPT-5+ and Claude 4.5+.
WARN Potential multi-user setup detected (personal-assistant model warning)
Heuristic signals indicate this gateway may be reachable by multiple users: - channels.discord.groupPolicy="allowlist" with configured group targets Runtime/prโ€ฆ
Fix: If users may be mutually untrusted, split trust boundaries (separate gateways + credentials, ideally separate OS users/hosts). If you intentionally run shared-user access, set agents.defaults.sandbox.mode="all", keep tools.fs.workspaceOnly=true, deny runtime/fs/web tools unless required, and keep personal/private identities + credentials off that runtime.
WARN plugins.allow contains entries with no matching installed plugin
The following plugins.allow entries do not correspond to any installed plugin: google, openrouter, openai, memory-core, perplexity. Phantom entries could be exโ€ฆ
Fix: Remove unused entries from plugins.allow, or verify the expected plugins are installed.
WARN Plugin installs include unpinned npm specs
Unpinned plugin install records: - camofox-browser (@askjo/camofox-browser)
Fix: Pin install specs to exact versions (for example, @scope/pkg@1.2.3) for higher supply-chain stability.
Full report: openclaw security audit
Deep probe: openclaw security audit --deep

bronze bobcatBOT
#

Ese audit no muestra nada que explique el ECONNREFUSED. Son warnings de seguridad/config, pero no son el bloqueo principal.

Ahora necesitamos confirmar si el gateway realmente levantรณ el puerto. Corre esto:

openclaw gateway status
openclaw status --deep

Si sigue unreachable, pega logs:

journalctl --user -u openclaw-gateway.service -n 120 --no-pager
tail -n 120 ~/.openclaw/logs/gateway-restart.log
tail -n 160 "$(ls -t /tmp/openclaw/openclaw-*.log | head -1)"
#

Tambiรฉn cambia ya el default fuera de Gemini:

openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw models status

Una vez el gateway estรฉ reachable, probamos Discord.

narrow dune
#

Channels
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Channel โ”‚ Enabled โ”‚ State โ”‚ Detail โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Discord โ”‚ ON โ”‚ OK โ”‚ token config (MTQ4โ€ฆODoE ยท len 72) ยท accounts 1/1 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Sessions
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Key โ”‚ Kind โ”‚ Age โ”‚ Model โ”‚ Tokens โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ agent:main:discord:direct:14161โ€ฆ โ”‚ direct โ”‚ 7d ago โ”‚ gpt-4.1-mini โ”‚ 12k/200k (6%) ยท ๐Ÿ—„๏ธ 97% cached โ”‚
โ”‚ agent:main:main โ”‚ direct โ”‚ 7d ago โ”‚ gpt-4.1-mini โ”‚ 24k/1049k (2%) โ”‚
โ”‚ agent:main:cron:e1bbd455-4c44-4โ€ฆ โ”‚ direct โ”‚ 8d ago โ”‚ gpt-4.1-mini โ”‚ 6.7k/1048k (1%) โ”‚
โ”‚ agent:main:cron:e1bbd455-4c44-4โ€ฆ โ”‚ direct โ”‚ 8d ago โ”‚ gpt-4.1-mini โ”‚ 6.7k/1048k (1%) โ”‚
โ”‚ agent:main:cron:9079932c-034f-4โ€ฆ โ”‚ direct โ”‚ 8d ago โ”‚ gpt-4.1-mini โ”‚ 7.0k/1048k (1%) โ”‚
โ”‚ agent:main:cron:e1bbd455-4c44-4โ€ฆ โ”‚ direct โ”‚ 8d ago โ”‚ gpt-4.1-mini โ”‚ 6.7k/1048k (1%) ยท ๐Ÿ—„๏ธ 21% cached โ”‚
โ”‚ agent:main:discord:channel:1482โ€ฆ โ”‚ group โ”‚ 9d ago โ”‚ gemini-3.1-flash-lite-preview โ”‚ 136k/1049k (13%) โ”‚
โ”‚ agent:main:subagent:6e75854b-45โ€ฆ โ”‚ direct โ”‚ 20d ago โ”‚ gemini-3-flash-preview โ”‚ 36k/1049k (3%) ยท ๐Ÿ—„๏ธ 80% cached โ”‚
โ”‚ agent:main:discord:channel:1416โ€ฆ โ”‚ group โ”‚ 25d ago โ”‚ gemini-3.1-flash-lite-preview โ”‚ unknown/200k (?%) โ”‚
โ”‚ agent:main:discord:channel:1482โ€ฆ โ”‚ group โ”‚ 25d ago โ”‚ gemini-3.1-flash-lite-preview โ”‚ unknown/200k (?%)
Update available (npm 2026.4.26). Run: openclaw update
Next steps:
Need to share? openclaw status --all
Need to debug live? openclaw logs --follow
Fix reachability first: openclaw gateway probe

bronze bobcatBOT
#

Genial: Discord ya aparece ON / OK. Eso es buena seรฑal.

Ahora hay dos ajustes importantes:

  1. El default todavรญa parece volver a Gemini en sesiones de grupo.
  2. Hay sesiones viejas de Discord con Gemini; conviene probar con sesiรณn nueva.

Ejecuta:

openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw models status
openclaw gateway restart
sleep 5
openclaw status --deep
#

Luego en el Discord donde pruebas:

/new

Despuรฉs:

responde solo PONG

Si responde, dejamos el backup #1 y ya estรก.

Si no responde, pega solo las รบltimas lรญneas de:

#
openclaw logs --follow

especialmente desde que envรญas el mensaje.

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ openclaw models set openrouter/moonshotai/kimi-k2.6
openclaw models status
openclaw gateway restart
sleep 5
openclaw status --deep

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” One CLI to rule them all, and one more restart because you changed the port.

Config overwrite: /home/alexifra/.openclaw/openclaw.json (sha256 497e5c3c2659f89f8f929cf064a9d12c0486f8dd7eeaea57a9715316ec97433d -> 7dfe927efa20d4d6827cc75b13e8ad64a31b0072def227af15a65dbc9f2081fc, backup=/home/alexifra/.openclaw/openclaw.json.bak)
Updated ~/.openclaw/openclaw.json
Default model: openrouter/moonshotai/kimi-k2.6

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” I can run local, remote, or purely on vibesโ€”results may vary with DNS.

Config : ~/.openclaw/openclaw.json
Agent dir : ~/.openclaw/agents/main/agent
Default : openrouter/moonshotai/kimi-k2.6
Fallbacks (2) : openrouter/auto, openai/gpt-4.1-mini
Image model : -
Image fallbacks (0): -
Aliases (4) : GPT -> openai/gpt-5.1-codex, gpt -> openai/gpt-5.4, gemini-lite -> google/gemini-3.1-flash-lite-preview, gemini-flash -> google/gemini-3-flash-preview
Configured models (8): openai/gpt-5.1-codex, openai/gpt-5.4, openrouter/free, google/gemini-3.1-flash-lite-preview, google/gemini-3-flash-preview, openrouter/auto, openai/gpt-4.1-mini, openrouter/moonshotai/kimi-k2.6

Auth overview
Auth store : ~/.openclaw/agents/main/agent/auth-profiles.json
Shell env : off
Providers w/ OAuth/tokens (0): -

  • brave effective=env:BSAwl7-5...x7NCmChU | env=BSAwl7-5...x7NCmChU | source=env: BRAVE_API_KEY
  • google effective=env:AIzaSyCx...1ghdoEJY | env=AIzaSyCx...1ghdoEJY | source=env: GEMINI_API_KEY
  • openai effective=profiles:~/.openclaw/agents/main/agent/auth-profiles.json | profiles=1 (oauth=0, token=0, api_key=1) | openai:default=sk-proj-...fRb8ZXEA | env=sk-proj-...pSn135wA | source=env: OPENAI_API_KEY
  • openrouter effective=env:sk-or-v1...6a9c8da7 | env=sk-or-v1...6a9c8da7 | source=env: OPENROUTER_API_KEY
  • perplexity effective=env:sk-or-v1...6a9c8da7 | env=sk-or-v1...6a9c8da7 | source=env: OPENROUTER_API_KEY

OAuth/token status

  • none
bronze bobcatBOT
#

Perfecto: el default ya quedรณ en OpenRouter/Kimi โœ…

Parece que el paste se cortรณ antes de gateway restart / status --deep. Pega la parte siguiente cuando termine.

Si no saliรณ nada mรกs, corre:

openclaw gateway restart
sleep 10
openclaw status --deep
openclaw gateway status

Y prueba en Discord con:

#
/new

Luego:

responde solo PONG

Si responde, yo dejarรญa este backup #1 + modelo OpenRouter como estado bueno.

narrow dune
#

El agente no responde. mensaje. La aplicacion no respondio

bronze bobcatBOT
#

Ok, entonces no cambiemos mรกs backups todavรญa. Ahora toca ver por quรฉ no respondiรณ: puede ser que el Gateway no estรฉ reachable, que Discord estรฉ descartando el mensaje por allowlist, o que el run falle.

Pega estas salidas:

openclaw gateway status
openclaw status --deep

Y luego mira logs mientras mandas un mensaje en Discord:

openclaw logs --follow

En Discord manda:

#
/new

y despuรฉs:

responde solo PONG

Pega las lรญneas nuevas del log desde ese momento.

Tambiรฉn confirma este ajuste, porque antes doctor avisรณ que grupos se descartaban:

openclaw config get channels.discord.groupPolicy
#
openclaw config get channels.discord.groupAllowFrom
openclaw config get channels.discord.allowFrom

Si groupPolicy sigue en allowlist y las listas estรกn vacรญas, arregla con:

openclaw config set channels.discord.groupPolicy open
openclaw gateway restart
narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ openclaw gateway status
openclaw status --deep

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” It's not "failing," it's "discovering new ways to configure the same thing wrong."

โ”‚
โ—‡
Service: systemd (enabled)
File logs: /tmp/openclaw/openclaw-2026-04-27.log
Command: /usr/bin/node /home/alexifra/.local/lib/node_modules/openclaw/dist/index.js gateway --port 18789
Service file: ~/.config/systemd/user/openclaw-gateway.service
Service env: OPENCLAW_GATEWAY_PORT=18789

Config (cli): ~/.openclaw/openclaw.json
Config (service): ~/.openclaw/openclaw.json

Gateway: bind=loopback (127.0.0.1), port=18789 (service args)
Probe target: ws://127.0.0.1:18789
Dashboard: http://127.0.0.1:18789/
Probe note: Loopback-only gateway; only local clients can connect.

Runtime: running (pid 6726, state active, sub running, last exit 0, reason 0)
Connectivity probe: ok
Capability: admin-capable

Listening: 127.0.0.1:18789
Troubles: run openclaw status
Troubleshooting: https://docs.openclaw.ai/troubleshooting

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Gateway onlineโ€”please keep hands, feet, and appendages inside the shell at all times.

โ”‚
โ—‡
โ”‚
โ—‡
โ”‚
โ—‡
OpenClaw status

Overview

bronze bobcatBOT
#

Gateway estรก bien ahora: running, probe OK, listening 127.0.0.1:18789 โœ…

Entonces el problema ya no es arranque. Necesitamos ver si Discord estรก descartando el mensaje o si el agente falla al generar/enviar.

Primero confirma la policy:

openclaw config get channels.discord.groupPolicy
openclaw config get channels.discord.groupAllowFrom
openclaw config get channels.discord.allowFrom

Si groupPolicy no es open, ponlo:

openclaw config set channels.discord.groupPolicy open
#
openclaw gateway restart

Luego logs en vivo:

openclaw logs --follow

Con eso abierto, manda en Discord:

/new

y despuรฉs:

#
responde solo PONG

Pega las lรญneas nuevas del log. Ahรญ veremos si llega el mensaje, si lo filtra la allowlist, si llama al modelo, o si falla al enviar la respuesta.

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ openclaw config get channels.discord.groupPolicy
openclaw config get channels.discord.groupAllowFrom
openclaw config get channels.discord.allowFrom

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Claws out, commit inโ€”let's ship something mildly responsible.

allowlist

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” I'm the middleware between your ambition and your attention span.

Config path not found: channels.discord.groupAllowFrom

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” The only open-source project where the mascot could eat the competition.

Config path not found: channels.discord.allowFrom

bronze bobcatBOT
#

Ahรญ estรก: Discord estรก en allowlist y no hay listas configuradas, asรญ que los mensajes de servidor/thread se descartan.

Cรกmbialo a open:

openclaw config set channels.discord.groupPolicy open
openclaw config validate
openclaw gateway restart
sleep 5
openclaw config get channels.discord.groupPolicy
openclaw status --deep

Debe salir:

#
open

Luego prueba en Discord:

/new

y despuรฉs:

responde solo PONG

Si responde, el backup #1 queda bien y el problema era la policy restaurada desde backup.

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ openclaw config set channels.discord.groupPolicy open
openclaw config validate
openclaw gateway restart
sleep 5
openclaw config get channels.discord.groupPolicy
openclaw status --deep

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Hot reload for config, cold sweat for deploys.

Config overwrite: /home/alexifra/.openclaw/openclaw.json (sha256 7dfe927efa20d4d6827cc75b13e8ad64a31b0072def227af15a65dbc9f2081fc -> cbd0a3c4f246b5e09edfb5e9a517ff6ed33f04a5cf1d9051322dedbfe70e03af, backup=/home/alexifra/.openclaw/openclaw.json.bak)
Updated channels.discord.groupPolicy. Restart the gateway to apply.

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” I'll refactor your busywork like it owes me money.

Config valid: ~/.openclaw/openclaw.json

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” I read logs so you can keep pretending you don't have to.

Restarted systemd service: openclaw-gateway.service

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Open source means you can see exactly how I judge your config.

open

bronze bobcatBOT
#

Perfecto โ€” groupPolicy ya estรก en open โœ…

Parece que el paste se cortรณ antes del status --deep, pero ya tenemos el cambio importante aplicado.

Ahora prueba en Discord:

/new

Luego:

responde solo PONG

Si todavรญa sale โ€œLa aplicaciรณn no respondiรณโ€, corre logs en vivo:

#
openclaw logs --follow

manda otra vez responde solo PONG, y pega las lรญneas nuevas. Ahรญ ya deberรญa verse si llega el mensaje y quรฉ falla.

narrow dune
#

sigue sin responder

#

03:01:15+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] starting provider
03:01:16+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} discord channel users resolved: 1416148785159213106
03:01:16+00:00 error gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] channel exited: Failed to resolve Discord application id
03:01:16+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] auto-restart attempt 1/10 in 5s
03:01:21+00:00 info gateway/ws {"subsystem":"gateway/ws"} โ‡„ res โœ“ health 199ms conn=da46a8d8โ€ฆ4c8d id=e3793b54โ€ฆ9a9d
03:01:21+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] starting provider
03:01:21+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} discord channel users resolved: 1416148785159213106
03:01:22+00:00 error gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] channel exited: Failed to resolve Discord application id
03:01:22+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] auto-restart attempt 2/10 in 11s
03:01:33+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] starting provider
03:01:33+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} discord channel users resolved: 1416148785159213106
03:01:33+00:00 error gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] channel exited: Failed to resolve Discord application id
03:01:33+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] auto-restart attempt 3/10 in 21s
03:01:55+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] starting provider
03:01:55+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} discord channel users resolved: 1416148785159213106
03:01:56+00:00 error gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] channel exited: Failed to resolve Discord application id
03:01:56+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] auto-restart attempt 4/10 in 41s
03:02:38+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] starting provider
03:02:38+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} discord channel users resolved: 1416148785159213106
03:02:38+00:00 error gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] channel exited: Failed to resolve Discord application id
03:02:38+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] auto-restart attempt 5/10 in 82s
03:04:02+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] starting provider
03:04:02+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} discord channel users resolved: 1416148785159213106
03:04:03+00:00 error gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] channel exited: Failed to resolve Discord application id
03:04:03+00:00 info gateway/channels/discord {"subsystem":"gateway/channels/discord"} [default] auto-restart attempt 6/10 in 176s

bronze bobcatBOT
#

Creo que ya encontramos el siguiente bloqueo: groupPolicy=open permite el servidor, pero Discord sigue con โ€œmention gatingโ€ por defecto. O sea: en canales/threads de servidor, OpenClaw normalmente no responde salvo que menciones al bot o estรฉ configurado requireMention: false.

Para probar rรกpido, no uses /new por ahora. Eso puede disparar un slash command nativo y Discord muestra โ€œLa aplicaciรณn no respondiรณโ€.

Prueba con mensaje normal en el canal/thread:

@mibot responde solo PONG

Si responde, el fix permanente es desactivar requireMention para tu servidor:

openclaw config set 'channels.discord.guilds.<GUILD_ID>.requireMention' false --strict-json
openclaw config validate
openclaw gateway restart
#

Reemplaza <GUILD_ID> por el ID de tu servidor Discord.

Si quieres diagnosticarlo en logs:

openclaw logs --follow

manda el mensaje normal con menciรณn al bot, y pega las lรญneas nuevas si sigue sin responder. Ahรญ deberรญa verse si lo descarta por mention-gating, auth, o error de envรญo.

#

Ese log ya es el bloqueo real:

channel exited: Failed to resolve Discord application id

Esto no es LLM ni groupPolicy ya. El provider de Discord ni siquiera queda conectado: intenta arrancar, usa el token, pero no puede consultar a Discord el Application ID del bot. Causas tรญpicas:

  • token Discord restaurado desde backup estรก viejo/revocado
  • token corresponde a otra app/bot
  • la variable/env del token no estรก disponible para systemd
  • Discord API/proxy/red bloquea la llamada

Haz esto:

#
openclaw channels status --probe
openclaw config get channels.discord.token

โš ๏ธ No pegues el token si aparece completo.

Mi recomendaciรณn: reponer el token actual desde Discord Developer Portal.

  1. Discord Developer Portal โ†’ tu aplicaciรณn โ†’ Bot โ†’ copia token actual o reset token.
  2. En la terminal:
openclaw config set channels.discord.token "PEGA_AQUI_EL_TOKEN_NUEVO"
openclaw config validate
openclaw gateway restart
#
sleep 10
openclaw channels status --probe
openclaw logs --tail 80

Cuando estรฉ bien, ya no debe aparecer Failed to resolve Discord application id; deberรญa quedarse Discord ON/OK sin reinicios.

Despuรฉs probamos de nuevo el mensaje normal.

narrow dune
#

no responde nada

bronze bobcatBOT
#

Sรญ, porque el canal Discord estรก cayรฉndose antes de escuchar mensajes:

Failed to resolve Discord application id

Mientras ese error exista, el bot no va a responder nada en Discord.

Haz esta verificaciรณn:

openclaw channels status --probe

Y necesitamos arreglar el token. Reponlo desde Discord Developer Portal:

#
openclaw config set channels.discord.token "TOKEN_NUEVO_DE_DISCORD"
openclaw config validate
openclaw gateway restart
sleep 10
openclaw channels status --probe
openclaw logs --tail 80

No pegues el token aquรญ.

Si prefieres usar variable de entorno en vez de guardar token plano:

openclaw config set channels.discord.token --ref-provider default --ref-source env --ref-id DISCORD_BOT_TOKEN
#

pero entonces asegรบrate de que el servicio systemd tenga DISCORD_BOT_TOKEN disponible. Para salir rรกpido del bloqueo, usa temporalmente openclaw config set channels.discord.token "TOKEN_NUEVO...".

narrow dune
#

alexifra@LAPTOP-VIVOBOOK-ALEXIFRA:~$ openclaw channels status --probe

๐Ÿฆž OpenClaw 2026.4.23 (a979721) โ€” Ah, the fruit tree company! ๐ŸŽ

โ”‚
โ—‡
Gateway reachable.

  • Discord default: enabled, configured, stopped, disconnected, token:config, probe failed, error:Failed to resolve Discord application id

Tip: status --deep adds gateway health probes to status output (requires a reachable gateway).

bronze bobcatBOT
#

Confirmado: Gateway OK, Discord roto por token/app lookup.

Estado actual:

Discord default: stopped, disconnected
error: Failed to resolve Discord application id

Siguiente paso: reemplazar el token de Discord por uno vรกlido.

En Discord Developer Portal:

  1. Abre tu aplicaciรณn/bot.
  2. Ve a Bot.
  3. Reset Token o copia el token actual.
  4. En tu terminal:
#
openclaw config set channels.discord.token "TOKEN_NUEVO"
openclaw config validate
openclaw gateway restart
sleep 10
openclaw channels status --probe

Debe cambiar a algo tipo connected / OK y ya no mostrar Failed to resolve Discord application id.

Despuรฉs prueba de nuevo en Discord.

narrow dune
#

"TOKEN_NUEVO" va entre comillas o sin comillas ?