Frequently Asked Questions¶
General¶
What is TruSpace?
TruSpace is an AI-infused, decentralised document management system that enables collaboration while maintaining data sovereignty. It uses IPFS for distributed storage and Ollama for local AI processing.
Is TruSpace free?
Yes — TruSpace is 100% open-source under the GPL-3.0 licence. You can use, modify, and distribute it freely.
Where is my data stored?
Your data is stored locally on your server in:
- SQLite database — user credentials and metadata
- IPFS — documents and content (encrypted at rest)
- Docker volumes — persistent storage
No data is sent to external cloud services unless you connect to other TruSpace nodes.
Do I need internet access?
For initial setup, yes — to pull Docker images and AI models. After that, TruSpace works fully offline unless you want to sync with other nodes.
Installation¶
What are the minimum system requirements?
| Component | Minimum | Recommended |
|---|---|---|
| RAM | 4 GB (no AI) / 8 GB (with AI) | 16 GB |
| Storage | 10 GB | 100 GB+ |
| Docker | 20.10+ | Latest |
| OS | Linux, macOS, Windows (WSL) | Ubuntu 22.04 |
See Resource Requirements for the full breakdown per deployment profile.
Why is the first startup so slow?
The first startup pulls Docker images (~2–3 GB) and downloads AI models (~1–4 GB depending on the model). Subsequent starts are much faster.
How do I start without AI features?
Or setDISABLE_ALL_AI_FUNCTIONALITY=true in .env.
Can I use Podman instead of Docker?
Yes. Podman is fully compatible. Either add alias docker=podman or substitute podman for docker in all commands. See the Podman compatibility guide.
Can I run TruSpace on a Raspberry Pi?
Yes — Raspberry Pi ⅘ with 4 GB+ RAM is supported. Use tinyllama as the model or run with --no-ai to conserve resources. See the Raspberry Pi performance tips.
How do I access TruSpace from other devices on my network?
- Find your server's IP:
hostname -I - Update
CORS_ORIGINin.envwith your IP or hostname - Access via
http://<your-ip>:3000
Documents & Workspaces¶
What file types are supported?
TruSpace supports most common file types:
- Documents: PDF, DOCX, DOC, TXT, MD, HTML
- Spreadsheets: XLSX, XLS, CSV
- Presentations: PPTX, PPT
- Images: PNG, JPG, GIF, SVG, WebP
AI analysis works best with text-based formats.
What's the difference between public and private workspaces?
- Public — visible to all users on the same TruSpace node
- Private — only invited members can access it
Neither is visible on the public internet. Even public workspaces are only accessible to users on connected TruSpace nodes.
How do I share documents with someone on another node?
- Connect your nodes first — see Connecting Nodes
- Invite the user to your workspace by email
- Once the invitation event syncs via IPFS, they can access the workspace from their node
How can I check how many documents are in the system?
How do I delete a document or workspace?
AI Features¶
Which AI models are supported?
TruSpace uses Ollama, which supports many models. Common choices:
| Model | RAM needed | Best for |
|---|---|---|
tinyllama |
~2 GB | Raspberry Pi / low-RAM |
phi3 |
~4 GB | Light usage |
llama3.2:3b |
~4 GB | Default balanced choice |
gemma3:1b |
~2 GB | Fast and lightweight |
Set in .env with OLLAMA_MODEL=<model-name>. Full list at ollama.com/library.
Is AI processing done locally?
Yes — all AI processing runs on your server via Ollama. No data is sent to external AI services.
Why is AI analysis slow?
- No GPU: inference runs on CPU and can take minutes per document
- Large model: use a smaller model like
tinyllamaorgemma3:1bfor faster results - Low RAM: check
free -h; the model may be swapping
Why are AI perspectives not being generated?
Check the relevant containers:
Verify the model is downloaded:Networking & Sync¶
How does IPFS sync work?
When nodes are connected:
- Nodes establish a peer-to-peer swarm connection
- IPFS Cluster coordinates which content is pinned where
- Content replicates automatically once pinned
- Changes sync in near real-time
Is my data encrypted during sync?
Yes — IPFS peer connections are encrypted by default. For additional isolation, TruSpace supports private IPFS networks using shared swarm keys.
How many nodes can I connect?
TruSpace works well with 2–50 nodes. The private IPFS network performs best with fewer than ~20–30 nodes; DHT is disabled in favour of explicit static peering for small networks.
What if a connected node goes offline?
Your local copy remains fully accessible. Changes sync automatically when the offline node reconnects — this is the core benefit of the decentralised design.
Am I connected to other IPFS peers?
Troubleshooting¶
Containers won't start — port already in use
Or change the conflicting port in.env.
Out of memory errors
- Disable AI:
./start.sh --no-ai - Switch to a smaller model in
.env - Increase swap space (especially on Raspberry Pi)
- Add resource limits with
docker-compose.override.yml
Users can't log in or register
Check the backend logs:
Ensure the database is accessible:Database migration errors after an update
Delete the database to rebuild from scratch:
Data loss
This removes all users, workspaces, and metadata. Back up the file first.
For more detailed diagnostics, see the Troubleshooting guide.