> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collabase.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Set up Collabase on your server in a few minutes. You need Docker and a Linux server — the installer handles the rest.

## Before you start

Make sure your server meets these requirements before running the installer.

|                      | Minimum                                          |
| -------------------- | ------------------------------------------------ |
| **Operating system** | Ubuntu 22.04+, Debian 12+, or RHEL 9+            |
| **CPU**              | 2 vCPU minimum — 4 vCPU recommended              |
| **RAM**              | 4 GB minimum — 8 GB recommended                  |
| **Disk space**       | 20 GB free                                       |
| **Docker**           | Version 24 or later                              |
| **Ports**            | 80 and 443 must not be in use by another service |

The installer checks all of these automatically and will tell you if something is missing.

<Note>
  The 4 GB minimum assumes live collaboration is on (the default). It runs one extra service, the collaboration relay. If you [turn collaboration off](/docs/collaboration#turning-it-off), 2 GB is enough for a small install. See [Sizing & scaling](/admin/scaling) to match resources to your team.
</Note>

<Note>
  **macOS and Windows** are supported for testing and local use. On Windows, use Docker Desktop with WSL2.
</Note>

***

## How many users does it support?

<Warning>
  These numbers apply to the current Beta and Release Candidate. They will be updated before general availability.
</Warning>

Collabase is optimized out of the box. You do not need to tune anything for the numbers below.

| Your team size    | What to expect                               |
| ----------------- | -------------------------------------------- |
| Up to 1,000 users | Runs comfortably on a minimum-spec server    |
| 1,000–2,000 users | Runs well, no changes needed                 |
| 2,000–6,000 users | Works — consider setting up monitoring       |
| 6,000+ users      | Contact Collabase for a scaling consultation |

<Note>
  The number of registered accounts has no impact on performance. What matters is how many people are actively using the app at the same moment. To match RAM and CPU to that number — and to spread Collabase across separate servers as you grow — see [Sizing & scaling](/admin/scaling).
</Note>

***

## Installation

You will have received a deployment ZIP from Collabase. Copy it to your server and unzip it.

```bash theme={"dark"}
unzip collabase-deployment.zip
cd deployment
```

Then run the installer:

```bash theme={"dark"}
bash install.sh
```

The installer will ask you four questions:

| Question              | What to enter                                                                                                                                                                         |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Your URL**          | The address where Collabase will be accessible, e.g. `https://collabase.yourcompany.com`                                                                                              |
| **Admin email**       | The email address for the initial admin account                                                                                                                                       |
| **Admin password**    | Choose a secure password (at least 8 characters)                                                                                                                                      |
| **Database password** | Choose a secure password for the internal database (at least 8 characters). Store this in a safe place — you will need it if you ever restore from a backup or migrate your database. |

<Note>
  The database password is used internally by Collabase and is never entered in the app itself. It does not need to be memorable — a password manager entry works well.
</Note>

After you confirm, the installer downloads all required components and starts Collabase. **This typically takes 2–5 minutes** depending on your internet connection.

Once it finishes, you will see a confirmation message with your URL. Open it in your browser and log in.

<Tip>
  If your URL is a real domain (e.g. `https://collabase.yourcompany.com`), HTTPS is set up automatically. No certificate configuration is needed.
</Tip>

<Note>
  AI features (the CollabaseAI assistant, writing assistance, AI automation) use the AI provider you configure after installation under **Settings → AI settings → Language model** — for example OpenAI, Anthropic, or your own Ollama server. They do not need extra server RAM.
</Note>

***

## First login

Log in with the admin email and password you set during installation. You will be asked to choose a new password on first login.

After that, you can:

* Go to **Admin → Users** to invite your team
* Create your first **Space** for a project or department
* Explore the settings under **Admin** to configure authentication, email, and more

***

## Updating Collabase

To update to a new version, run:

```bash theme={"dark"}
bash deployment/docker/update.sh
```

The update script backs up your database, downloads the latest version, and restarts everything automatically. You do not need to touch any configuration files.

<Warning>
  Do not run `install.sh` again on an existing installation. Use `update.sh` for all updates.
</Warning>

***

## Changing your URL or admin settings

If you need to change the URL or other settings configured during installation:

```bash theme={"dark"}
bash deployment/docker/install.sh --reconfigure
```

Your data is not affected — only the configuration is updated.

***

## Managing your installation

The install script doubles as a management tool. Run it with a command:

| Command                                            | What it does                                                             |
| -------------------------------------------------- | ------------------------------------------------------------------------ |
| `bash deployment/docker/install.sh status`         | Shows whether all services are running and healthy                       |
| `bash deployment/docker/install.sh logs`           | Shows live logs (press Ctrl+C to stop)                                   |
| `bash deployment/docker/install.sh restart`        | Restarts all services                                                    |
| `bash deployment/docker/install.sh stop`           | Stops Collabase — your data is kept                                      |
| `bash deployment/docker/install.sh start`          | Starts a stopped installation                                            |
| `bash deployment/docker/install.sh restore <file>` | Restores a database backup from `./backups/`                             |
| `bash deployment/docker/install.sh support-bundle` | Packs logs and status into an archive for support — never your passwords |
| `bash deployment/docker/install.sh --help`         | Lists every command and option                                           |

Before an update you can preview what would happen without changing anything:

```bash theme={"dark"}
bash deployment/docker/update.sh --dry-run
```

Updates can be pinned to a specific version and undone:

```bash theme={"dark"}
bash deployment/docker/update.sh --version v0.12.0   # stay on this version
bash deployment/docker/update.sh rollback            # return to the previous one
```

***

## Troubleshooting

### Collabase did not start

The first start takes a little longer than usual — up to 3 minutes. If it still does not respond after that, check the logs:

```bash theme={"dark"}
docker compose -f deployment/docker/docker-compose.release.yml logs -f
```

### Port 80 or 443 is already in use

Something else on your server is using a required port. Find it and stop it, then run the installer again:

```bash theme={"dark"}
sudo ss -tlnp | grep ':80\|:443'
```

### CollabaseAI is not available

AI features need an AI provider to be configured. Go to **Settings → AI settings → Language model**, choose a provider (for example OpenAI or your own Ollama server), enter its access key, and click **Save and test**. Reload the page afterwards, because the assistant launcher is only drawn once the setting has reached the browser. If the test succeeds and the assistant still does not work, contact Collabase support.

### I need help

Open a support ticket or submit a question at [collabase.featurebase.app](https://collabase.featurebase.app/en).
