A stalled launch or a failed chat can leave little detail on screen. AnythingLLM Desktop logs on Windows let you trace the failure to a message from the app's local services.

About AnythingLLM with the installed version, local ports, and log folder control

AnythingLLM Desktop stores logs under the Windows account that runs the app. The filenames identify the component and date. The backend handles app requests, while the collector processes documents.

About AnythingLLM shows the ports the current session uses. The app can choose a different port at startup, so the port in the dialog is the one to compare with a message from that session.

Steps to view AnythingLLM Desktop logs on Windows:

  1. Select Get Started if AnythingLLM Desktop shows Welcome.

    If AnythingLLM Desktop or an in-app control is unavailable, use %APPDATA%\anythingllm-desktop\storage\logs in File Explorer as shown in step 5.

    AnythingLLM Welcome screen Get Started button on the Welcome screen

  2. Click the version number in the top-right corner if AnythingLLM Desktop shows it. Set Up options with the version number at the top right Version number beside the icon in the top-right corner

    The version number is available on Set Up options before you choose a model.

  3. Read the installed version and local ports if About AnythingLLM opens. About AnythingLLM open over Set Up options About AnythingLLM showing Installed version v1.20.0, Server port 3001, and Collector port 8888

    Server port is the API server port. Collector port is the document collector port.

  4. Click View beside Log files if About AnythingLLM offers it. View above the Storage folder Open control
  5. Open %APPDATA%\anythingllm-desktop\storage\logs from the Windows File Explorer address bar if the app cannot open it. File Explorer address bar with the per-user logs path Full Explorer address with the APPDATA variable
  6. Open the log for the affected component in Notepad. Dated backend and collector files in the storage logs folder Selected backend log filename in File Explorer Date modified for the selected backend log

    The filename date and the Date modified column help identify the file that changed around the failure. Windows can hide the .log extension. If another app opens text files by default, use Open with to choose Notepad.

  7. Check the log for an entry that matches the failure and its session. Notepad showing the backend log and its database access error The backend error record with the message unable to open database file

    Ctrl+F can find a phrase from the failure. A backend error reading unable to open database file signals a database access failure. Compare any timestamp with when it happened. For an entry without a timestamp, look for nearby startup or request messages you recognize from the same session. The file’s modified time only dates its latest write. If you cannot tell which session produced the entry, report it as a possible match.

If the stored logs end before the startup failure, see AnythingLLM’s Windows PowerShell debug procedure. Log excerpts can contain user paths, request content, and credentials that need to be removed before sharing.

Share this guide