Skip to content

Problems and fixes ​

Each entry gives the symptom first, then the cause and the fix. Problems that need server access are marked (server).

Signing in ​

"Sign-in failed" after several tries. Five failed sign-ins lock the account for 15 minutes. Wait, or ask an admin to set a temporary password.

Your account is "waiting for approval". Self sign-up needs an admin to approve each account on the Users page.

Every sign-in fails, for every user (server). The API can't reach Postgres. Check that the database container runs (docker ps) and that the API started. On Windows, Docker Desktop must be started outside Claude: a Docker started from a Claude Code shell stops when the Claude app updates or restarts.

Uploads and indexing ​

An upload is refused with "unsupported file type". Scholar Lens reads PDF, DOCX, PPTX, EPUB, Markdown, HTML and TXT. Save .doc and .ppt files in the newer format.

An upload is refused for size or storage. The file is over the upload limit (512 MB by default), or your storage quota is used up. Your Account page shows the storage used.

An item stays at "Queued". The job worker is not running (server). In development it runs inside the API (RUN_WORKER_IN_API=true). In the Docker stack it is the worker service.

An item failed with "No extractable text". The file has no text layer and OCR found nothing readable. Try a better scan.

An import failed with "private address". Imports only fetch public internet addresses, to protect the server's own network.

Answers ​

The answer says the sources don't cover the question. Retrieval found nothing relevant in the Space's sources. Check the Space's sources and scopes, or try the Retrieval test page in the Library to see what the index returns. Turn on Web if the Space allows it.

An answer is slow, or waits "Queued behind another answer". Two answers run at once by default. Comprehensive and Academic answers take 1 to 2 minutes on the 35B model.

An answer stopped at its time limit, or with an error. On a slower machine a Comprehensive answer can run out of time, often while checking its claims, after the search and the draft are done. Each step is saved as the answer runs, so the chat offers Continue from where it stopped: the answer carries on from its last finished step with a fresh time limit instead of starting again. It is offered for the chat's newest answer only (a later question would compete with it). The saved steps are deleted as soon as an answer completes, and a stopped answer's steps are cleared after 30 days.

"model_unavailable" or the answer fails at the first step (server). LM Studio is not running, or the chat model is not loaded. Start it with lms server start and load the model (see Local models). Test the model in Settings checks it.

"Context size has been exceeded" (server). LM Studio shares one context window between its parallel slots. Two long answers, or an eval next to a chat, can overflow it. Use a larger context, fewer parallel slots, or run evals alone.

Web and Research are greyed out. Web search is off on the server, or the Space's Web search policy is Off.

Code never runs (server). No sandbox is set up, or the sandbox is not reachable. Test the sandbox in Settings checks it. On Windows the sandbox runs in a WSL distro, which must be kept open.

The database ​

alembic upgrade head prints nothing (server). Migrations also run when the API starts, so the database may already be at the latest version. Check with alembic current from the backend folder. It prints the revision and "(head)" when up to date.

alembic says "No 'script_location' key found" (server). Run it from the backend folder, where alembic.ini is.

alembic: command not found (server). Activate the Python environment first, for example conda activate learning.

The API refuses to start: "JWT_SECRET must be at least 32 characters" (server). Generate one with openssl rand -hex 32 and put it in .env.

Embedding errors after a model change (server). The vector column is fixed to EMBEDDING_DIMENSIONS. A model with a different size needs a new database and a full re-index.

The development server ​

curl 127.0.0.1:5021 fails but the browser works. Vite listens on localhost, which may resolve to IPv6 only. Use http://localhost:5021.

A setting saved in the app has no effect (server). Saved settings are read when the API starts. Restart the API.