browser-console-logs.adoc 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [#browser-console-logs]
  2. = Browser console logs (WebUI troubleshooting)
  3. :experimental:
  4. The **developer console** (or **browser console**) is a panel built into your web browser. It records technical messages from the OliveTin WebUI—errors, warnings, and network failures—that do not always appear on the page itself.
  5. When something looks wrong in the WebUI (for example a blank area, buttons that never load, or errors after clicking), sharing **console output** helps others see what the browser reported and narrow down the cause. You do **not** need to be a web developer to open it or share it.
  6. **A screenshot of the console is often enough.** If you can copy text instead, that is helpful too. Either way, include what you were doing right before the problem (for example “opened the dashboard”, “clicked Start on action X”).
  7. TIP: Before posting publicly, glance at the console for anything that looks like a password, token, or private URL. Crop or redact those lines if needed.
  8. [#open-the-console]
  9. == Open the console
  10. Use OliveTin in the browser where you see the problem, then open the console *before* or *right after* reproducing the issue so the messages are still visible.
  11. [#desktop-chromium]
  12. === Google Chrome, Microsoft Edge, Brave, and other Chromium-based browsers
  13. . Open the OliveTin page.
  14. . Open the developer tools:
  15. ** *Windows / Linux:* press kbd:[F12], or kbd:[Ctrl+Shift+J] to go straight to the *Console*.
  16. ** *macOS:* press kbd:[Cmd+Option+J] for the *Console*, or kbd:[Cmd+Option+I] for developer tools (then click the *Console* tab).
  17. . If you do not see a *Console* tab, click *»* or *+* in the developer tools toolbar and choose *Console*.
  18. [#desktop-firefox]
  19. === Mozilla Firefox
  20. . Open the OliveTin page.
  21. . Open developer tools: kbd:[F12], or kbd:[Ctrl+Shift+I] on Windows/Linux, or kbd:[Cmd+Option+I] on macOS.
  22. . Select the *Console* tab. (On Windows/Linux you can also use kbd:[Ctrl+Shift+K] to open the console directly.)
  23. [#desktop-safari]
  24. === Safari (macOS)
  25. Safari hides the console until you turn on the Develop menu:
  26. . *Safari* → *Settings* (or *Preferences*) → *Advanced* → enable *Show features for web developers* (wording may vary slightly by Safari version).
  27. . In the menu bar, open *Develop* → *Show JavaScript Console*, or press kbd:[Cmd+Option+C].
  28. [#what-to-capture]
  29. == What to capture
  30. . Stay on the *Console* tab.
  31. . If there are many old messages, use the console’s *Clear* control so only new messages appear, then reload the page or repeat the steps that trigger the problem.
  32. . Note any lines in **red** (errors) or **yellow** (warnings)—those are usually the most useful.
  33. . Use your system's screenshot tool to capture the console window, *or* right-click in the console → *Save as…* / *Copy all messages* if your browser offers it.
  34. [#share-the-logs]
  35. == Share the logs
  36. Attach the screenshot or pasted text to a xref:troubleshooting/wheretofindhelp.adoc[Discord or GitHub support] message, along with your OliveTin version and how you access it (direct URL, reverse proxy, etc.). That combination helps diagnose WebUI issues much faster than a description of the screen alone.
  37. If the problem might be on the server (OliveTin not starting, actions failing, API errors), also collect xref:troubleshooting/service-logs.adoc[service logs] from Docker, Podman, or systemd.