// CONTENTS Part 12 · Troubleshooting

// PART 12

Something does not load

Chapter 49 / 60 2 min read English Part 12 of 15

A page or app that will not load almost always traces to one of five causes: the server, the browser, the port, the profile or the preview switch. Work down this list.

First: is the server up?

curl -s -o /dev/null -w '%{http_code}' http://localhost:8080/health

A 200 means botserver is serving. If it is not, start it and watch the startup log until it reports ready — first runs spend a few minutes installing the stack under botserver-stack/.

The ports involved

Port Service Note
3000 Suite (the desktop, chat and apps) What you open in the browser
8080 botserver API and WebSocket The suite proxies /api/* and /ws here
4000 Cloud console (store, dashboard) Does not serve login — /login redirects to the login host
5000 Login and signup The only surface serving them

Check listeners with ss -tlnp | grep LISTEN if a port seems taken; an “address already in use” error means another process owns it.

The browser side

Symptom Fix
Blank or stale page Hard refresh (Ctrl+Shift+R), then clear the site’s cache
Nothing happens on click Open the browser console; JavaScript errors point at the broken surface
Duplicated chat surface or stray panes Reload — the shell repairs orphaned surfaces on load
Old layout after an update Cached assets: hard refresh

The profile and Preview switch

An app that “does not load” because it is not in the launcher is a profile question, not a failure:

  • The registry’s always visible apps are in every launcher.
  • Preview-only apps appear when you switch on Preview in the sidebar.
  • A deployment’s product profile lists the enabled apps; the assistant answers requests for a disabled app in prose instead of opening a window.

If an app opens to an empty shell because you navigated to its HTML file directly, go back and open it through the shell route (/drive, /tasks, …) — apps need the desktop shell to bootstrap.

Reading the logs

Log Location
Server (API, scripts, sync) botserver.log
UI botui.log
Drive monitor Inside botserver logs, [drive_monitor] prefix
Browser errors Inside botserver logs, CLIENT: prefix

Filter for the interesting lines:

grep -E " E | W " botserver.log | tail -20

Escalate when

  • The health endpoint answers but pages still fail for everyone — capture the failing URL, the console errors and the last 100 log lines.
  • It loads for you but not a colleague — compare profiles: which apps are enabled, which role the user has.

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move