# How to Deploy Seafile With xCloud One Click Apps

> Deploy Seafile file sync on xCloud from One Click Apps: pick a server, set the admin email, sign in with the generated password and create libraries.

You can run [Seafile](https://www.seafile.com), a self-hosted file sync and sharing server, on your own server without writing a Docker Compose file. Click **New Site**, pick **Seafile**, choose a server, enter a domain and an administrator email, then click **Next**. xCloud installs Seafile with its database and adds HTTPS. You then sign in with the generated password and start adding files.

**Who this is for:** teams and families who want their own file sync and sharing, for example to move off Dropbox or Google Drive. For server sizes and prices, see [Seafile hosting on xCloud](/seafile-hosting/).

## What you get

| Part | What it does |
|---|---|
| Seafile Community Edition 12.0.14 | The web app, file sync and sharing. Files are grouped into libraries. |
| MariaDB | Stores users, shares and file details. It runs only for this site. |
| Memcached | A small cache that keeps pages fast. |
| Web address | Seafile, the desktop apps and the mobile apps all use your domain over HTTPS. |

Your files, settings and logs live in a storage area called `seafile_data`. The database lives in `seafile_db`. Both stay when you redeploy. Seadoc (Seafile's online document editor) is not included.

## Before you start

- An xCloud account that can create sites.
- An **Nginx** server. xCloud installs Docker on it if it isn't there yet. The install page recommends **2 GB RAM, 2 vCPU and 10 GB disk**. We suggest 4 GB RAM if several people sync at once. You can also create a new server during setup.
- For **Go Live**: a domain you can point at the server. For a first try, **Demo Site** needs no domain.
- An email address for the first administrator.

Plan disk space for your files: every file you sync is stored on this server.

## Step 1: Find Seafile in the app catalog

From the xCloud dashboard, click **New Site**. On **What would you like to host today?**, type **Seafile** in the search box, then click the **Seafile** card.

![The Seafile card in the xCloud app catalog after searching for Seafile](/_landing/docs/deploy-seafile-with-xcloud-image-1.png)

**Expected result:** The Seafile page opens. It shows **Runs on Nginx, Docker**, **Recommended: 2 GB RAM · 2 vCPU · 10 GB disk** and **Installs v12.0.14**.

## Step 2: Choose where Seafile will run

Under **Where should it run?**, choose one:

- **To use a new server:** click **Deploy on a new server** and follow the server setup to create a new server for Seafile.
- **To use an existing server:** click its card, then click **Continue**. Each card shows the server's RAM, CPU and free disk.

![Click an existing server card under Where should it run? on the Seafile install page](/_landing/docs/deploy-seafile-with-xcloud-image-2.png)

**Expected result:** For a new server, xCloud creates it and then brings you back to the Seafile page to finish the install. Click the new server's card, then click **Continue**. For an existing server, the **Install Seafile Into** form opens.

## Step 3: Add the site title and domain

1. Enter a **Site Title**, for example `Seafile`. **Add Tag (optional)** helps you group sites.
2. Under **Domain Setup**, choose one:
   - **Demo Site:** xCloud gives you a test domain, shown under **Domain Name**. Click **Regenerate** for a different one.
   - **Go Live:** enter your own domain, for example `files.example.com`, and point its DNS at the server.

![Choose the Demo Site option under Domain Setup in the Install Seafile Into form](/_landing/docs/deploy-seafile-with-xcloud-image-3.png)

Pick the address you plan to keep. Desktop and mobile apps connect to this address, so changing it later means updating every device.

## Step 4: Enter the administrator email

Under **Administrator**, enter the **Administrator email**, for example `you@example.com`. This becomes the first Seafile login. Then click **Next**.

![Enter the Administrator email under Administrator in the Install Seafile Into form](/_landing/docs/deploy-seafile-with-xcloud-image-4.png)

You don't choose a password here. xCloud generates one for you in the next steps.

**Expected result:** The progress page opens.

## Step 5: Wait for the setup to finish

xCloud shows a progress page with nine setup stages, from checking the server to finishing up. You can leave this page; the setup keeps running.

![The nine setup stages on the progress page while xCloud installs Seafile](/_landing/docs/deploy-seafile-with-xcloud-image-5.png)

If a stage fails, open **Recent Events** on the site, click **View** on the failed event and fix what it reports. Then try again, or contact support with the event output.

**Expected result:** Every stage shows as done and the site's **Site Overview** page opens.

## Step 6: Copy the administrator password

On **Site Overview**, the **Seafile Credentials** panel shows the **Seafile URL**, the **Administrator email** and the **Administrator password**. Click the eye icon to show the password, or click **Copy**.

![The Seafile Credentials panel with Seafile URL, Administrator email and Administrator password on Site Overview](/_landing/docs/deploy-seafile-with-xcloud-image-6.png)

xCloud generates a long random password. Store it in your password manager.

## Step 7: Open Seafile

Click **Visit Site** at the top of the site page.

![The Visit Site link at the top of the Seafile site page in xCloud](/_landing/docs/deploy-seafile-with-xcloud-image-7.png)

The first start creates Seafile's databases and settings, so it can take several minutes. If the page doesn't load yet, wait a few minutes and refresh.

**Expected result:** The Seafile **Log In** page opens.

## Step 8: Sign in as the administrator

On the Seafile **Log In** page, enter the administrator email and the password from Step 6, then click **Log In**.

![The email and password fields and Log In button on the Seafile Log In page](/_landing/docs/deploy-seafile-with-xcloud-image-8.png)

**Expected result:** Seafile opens with a **Welcome to Seafile** message. Close it.

## Step 9: Start using your libraries

Seafile groups files into libraries. Each library syncs and shares on its own. Seafile creates a personal library called **My Library** for you, listed under **My Libraries**.

![My Libraries with the personal library My Library in Seafile after the first sign-in](/_landing/docs/deploy-seafile-with-xcloud-image-9.png)

- Click **My Library** to upload files from your browser.
- Click **+** next to **My Libraries** to create another library, for example one per team or project.

**Expected result:** Your files show in the library. Your Seafile server is ready.

## Connect the desktop and mobile apps

Seafile's desktop and mobile apps use the same HTTPS address as the web app, for example `https://files.example.com`. Enter that address and your Seafile login in the app. Download the apps from Seafile's [download page](https://www.seafile.com/en/download/).

**WebDAV:** To open your libraries as a network drive, WebDAV must be turned on. This needs a change to Seafile's own config files on the server. Ask our [support team](/docs/access-built-in-support-portal-in-xcloud/) if you need help. Seafile's [WebDAV guide](https://manual.seafile.com/12.0/extension/webdav/) describes the setting.

## Add more people

Open signup is off, so nobody can create an account on their own. Signed in as the administrator, you add and remove users inside Seafile. Seafile's [account management guide](https://manual.seafile.com/12.0/administration/account/) explains this; the steps there come from Seafile, not xCloud.

## Change settings

Open **Environment** in the site menu to change the app's settings, then click **Save & Redeploy**. Your libraries and database stay after a redeploy.

- **Web address:** Seafile stores its own web address. If you move it to a new domain, ask our [support team](/docs/access-built-in-support-portal-in-xcloud/) to help you update it, so the web app and your synced devices keep working.
- **Email:** Sending email from Seafile (password resets, share links) is not set in **Environment**. This needs a change to Seafile's own config files on the server. Ask our [support team](/docs/access-built-in-support-portal-in-xcloud/) if you need help. Seafile's [email guide](https://manual.seafile.com/12.0/config/sending_email/) lists the settings.

## Updates and backups

xCloud installs Seafile 12.0.14 and keeps your site on that version until you change it. Before you update, back up the app and read Seafile's upgrade notes, then follow [update a One Click app and edit its Docker Compose](/docs/update-a-one-click-app-and-edit-its-docker-compose-in-xcloud/).

Back up `seafile_data` and `seafile_db` together, from the same moment. The first holds your files; the second knows which file belongs to which library and user. Restoring one without the other leaves files and libraries out of step. See [back up and restore Docker apps](/docs/backup-and-restore-docker-apps/). Keep a copy away from the server, and test a restore.

To move from a demo address to your own domain, see [manage One Click app domains](/docs/manage-one-click-app-domains-and-public-endpoints-in-xcloud/), then update Seafile's web address as described above.

Looking for something lighter? [Syncthing](/docs/deploy-syncthing-with-xcloud/) syncs folders between devices without a central server, and [Nextcloud](/docs/how-to-set-up-nextcloud-with-one-click/) adds calendars, contacts and office apps. You can browse every app in [One Click Apps](/one-click-apps/).

## Frequently asked questions

### What server does Seafile need on xCloud?

An Nginx server with Docker. xCloud installs Docker if it isn't there yet. The Seafile install page recommends at least 2 GB RAM, 2 vCPU and 10 GB disk. We suggest 4 GB RAM if several people sync at once.

### Where do I find the Seafile admin password?

On the site's Site Overview page in xCloud, in the Seafile Credentials panel. xCloud generates a long random password at install. Click the eye icon to show it or Copy to copy it.

### Can anyone sign up on my Seafile server?

No. Open signup is off. The only account at first is the administrator email you entered in the install form.

If you run into any issues while deploying Seafile, feel free to reach out to our [support team](/docs/access-built-in-support-portal-in-xcloud/).
