.. _help_troubleshooting: Troubleshooting =============== User-facing fixes for common problems while running the app. For install, ports, and environment variables, use the repository ``INSTALL.md``. =============================== =========================================== Symptom What to try =============================== =========================================== API / network errors in the UI Confirm the backend is running and healthy (``/api/health``). Restart uvicorn if needed. Blank UI in the container Rebuild the image; confirm static assets exist. Open ``/help/`` to verify the manual was baked in. Stuck read-only (ordinary) Use **Force Acquire Lock**, wait for a stale lock, or ensure no other tab is writing. See :ref:`help_sessions`. Stuck read-only (Shared) Use **Request Edit Lock**. If the other machine does not answer, verify cloud sync, then use the sync-warning **Take Over Lock** only when you are sure. See :ref:`help_cloud_shared`. Lock request times out Other computer asleep, or cloud client paused/disconnected. Resume sync; retry yield from the holder if possible. Revision history conflict After a force takeover or divergent edits, use **Revision Compare**. See :ref:`help_restore_points`. Spellcheck empty or errors Reinstall backend dependencies so ``spylls`` is present; confirm API reachability. Proper names flagged Add a Story Bible card (name/aliases) or **Add to Dictionary**. See :ref:`help_spellcheck`. Compile fails Check the compile dialog error text; fix template/metadata issues and retry. See :ref:`help_compile`. Backup/restore conflict Choose overwrite vs restore-as when the slug already exists. Overwrite requires owner. See :ref:`help_backup`. Unexpected project location Check ``XDG_DATA_HOME`` / ``projects_dir`` in App Config or ``config.toml`` (``INSTALL.md``). Custom-path projects still use local XDG space for WAL and git — see :ref:`help_cloud_shared`. Cannot enable Shared Shared requires a **custom project path**. Create with a custom path or **Link existing folder**, then toggle Shared in General settings. =============================== =========================================== Still stuck? ------------ * Review ``INSTALL.md`` troubleshooting for LAN access, ports, and Dulwich / Git project folder issues. * Developer-oriented design notes live under ``doc/devs/`` in the repository (not required for normal writing).