Logo vun Base44 Troubleshooter

Base44 Troubleshooter

Organisatioun
base44
base44-troubleshooter

Troubleshoot production issues using backend function logs and workflow run history. Use when investigating app errors, debugging function calls, diagnosing why a scheduled job or automation failed, or diagnosing production problems in Base44 apps.

Iwwersiicht

Editeurbase44
Repositoryskills
Skill-Nummbase44-troubleshooter
Stären
92
Forks
21
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum base44 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Base44 Troubleshooter an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/base44/skills/tree/main/skills/base44-troubleshooter
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/base44/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/base44-troubleshooter .claude/skills/base44-troubleshooter
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Base44 Troubleshooter an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Base44 Troubleshooter automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Base44 Troubleshooter net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Troubleshoot Production Issues

Prerequisites

Verify authentication before fetching logs:

bash
npx base44 whoami

If not authenticated or token expired, instruct user to run npx base44 login.

Resolve app context in one of these ways:

bash
# From a linked local project
cat base44/.app.jsonc

# Or explicitly
npx base44 logs --app-id app_123

Available Commands

CommandDescriptionReference
base44 logsFetch function logs for this appproject-logs.md
base44 workflows runsList workflow runs, newest first; failed runs carry the failing task and the underlying errorworkflows-runs.md
base44 workflows listList this app's workflows with status and run summaryworkflows-list.md

Logs are not read-after-write

A single fetch that misses your run proves nothing. One-shot base44 logs reads an index that lags behind the invocation, so an empty result right after triggering a function is the expected result, not evidence of a problem.

  • Live debugging: use --follow. Where the realtime stream is available it delivers lines in under a second. Where it is not, the CLI says so and polls instead (Warning: Realtime logs are not available for this app — falling back to polling (lines may lag ~20-30s).). Either way --follow is the right tool — you never have to pick.
  • One-shot fetches lag ~20-30s. That is ingestion time, not a filter problem.
  • When output is empty, the variable to change is TIME, never a flag. Wait and re-run the same command. Widening --limit, dropping --level, or switching --order changes nothing about a line that has not been ingested yet, and re-rolling flags is how agents talk themselves into a wrong diagnosis.

Troubleshooting Flow

1. Watch it happen — --follow

If you can trigger the failure (or it is happening now), start here rather than fetching after the fact:

bash
npx base44 logs --follow
npx base44 logs --follow --function <function_name>

Then invoke the function and read what arrives. Rules that keep you from misreading a healthy stream:

  • Never decide on a timer. Open the stream, trigger the function, and read until you see the lines — do not read a fixed window, print, and conclude "broken". A quiet stream is quiet because nothing has been invoked.
  • Delivery is per-invocation, not per-line. A long-running function's lines all arrive when the invocation ends. Silence mid-invocation is normal.
  • Redeploying mid-follow is safe. A deploy rotates the script in seconds and the same open stream delivers the new code's lines on the next invoke. Do not tear the stream down and rebuild it after every deploy.
  • --since is rejected with --follow (the stream starts from now), as are --until and --order. For anything historical, use a one-shot fetch.
  • The mode is decided once, at startup. If the first connection is refused or unreachable, the run polls for its whole life. If the stream opens, there is no polling fallback left.
  • A stream lost mid-run ends the command with Error: The realtime log stream stopped and could not be re-established, exit code 1. That exit is the stream giving up, not proof that logging is broken — re-run the same command rather than changing flags.

2. Ask whether it was a scheduled run, not a request

Workflows are the automation system — cron schedules, entity triggers, connector events, in-app agent actions. When the complaint is "my scheduled job didn't run" or "the automation stopped working", function logs are the wrong tool. They show what a function printed; they cannot tell you whether a run was dispatched at all, which task inside it failed, or why the workflow stopped firing.

bash
npx base44 workflows runs --status failed
npx base44 workflows list

A failed run carries the failing task and the underlying error, so start there and drop into base44 logs only once you know which function a failing task called. workflows list reports consecutiveFailures — anything above zero is a workflow that needs attention.

Two things that mislead here:

  • manual in the trigger column does not mean a person clicked something. It is what a run is stamped with when it was dispatched with no trigger type at all.
  • Test runs are included, tagged next to the trigger type as (scheduled, test). A run you fired yourself to check something will show up in the list.

3. Check Recent Errors

Start by pulling the latest errors across all functions:

bash
npx base44 logs --level error

4. Drill Into a Specific Function

If you know which function is failing:

bash
npx base44 logs --function <function_name> --level error

If you are outside the project directory, pass the app explicitly:

bash
npx base44 logs --app-id app_123 --function <function_name> --level error

A --function filter is a filter on stamped rows. Apps still on the legacy per-function deployment emit unstamped rows, so a filtered view can hide them; this self-heals on the app's next deploy. If a filtered run comes back empty, re-run without --function before concluding there are no logs.

5. Inspect a Time Range

Correlate with user-reported issue timestamps:

bash
npx base44 logs --function <function_name> --since <start_time> --until <end_time>

6. Analyze the Logs

  • Look for stack traces and error messages in the output
  • Check timestamps to correlate with user-reported issues
  • Pass --limit explicitly to reach further back — there is no default page size, and a value above 500 is clamped down to 500

Reading an empty result

No logs found matching the filters. is ambiguous — never read it as "healthy". It means one of:

  • the run has not been ingested yet (most common — wait and re-run, see above)
  • no function by that name, or the filter dropped unstamped rows (see step 3)
  • the app has not been published, when reading --env prod (No production logs found. — try --env preview for draft logs)

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Base44 Troubleshooter?

Troubleshoot production issues using backend function logs and workflow run history. Use when investigating app errors, debugging function calls, diagnosing why a scheduled job or automation failed, or diagnosing production problems in Base44 apps.

Firwat Base44 Troubleshooter op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Base44 Troubleshooter besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Base44 Troubleshooter an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/base44/skills/tree/main/skills/base44-troubleshooter an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Base44 Troubleshooter benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Base44 Troubleshooter benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Base44 Troubleshooter domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Base44 Troubleshooter gratis?

Jo. De Skill gëtt vum base44 ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇