Installing FileAgo

Prerequisites

  1. Make sure that the hostname of the server resolves properly through DNS
  2. Purchase a valid SSL certificate for the host, or create one using Let’s Encrypt

Create a directory to store FileAgo data:

# mkdir -p /opt/fileago/nginx

Copy the SSL key and certificate into the newly created directory. In case of Let’s Encrypt, the commands will be like:

# cp /etc/letsencrypt/live/<HOSTNAME>/fullchain.pem /opt/fileago/nginx/cert.crt
# cp /etc/letsencrypt/live/<HOSTNAME>/privkey.pem /opt/fileago/nginx/cert.key

Installation

Build Collabora (CODE) container:

# cd /etc
# git clone https://github.com/CollaboraOnline/online.git
# cd online/docker/from-packages/
# DOCKER_BUILDKIT=1 docker build --no-cache -t fileago/code -f Ubuntu .

.. and proceed with the installation:

# cd /etc
# git clone https://github.com/fileago/fileago.git
# cd fileago

Edit settings.env file and set value of WEBHOSTNAME to the server hostname.

Configure chat server (this is optional)

If you wish to start the chat server, set CHAT_ENABLED=true in settings.env, and then also configure chat_settings.env file:

  • Set correct hostname for ROOT_URL. The suffix “/rocket/” should remain.
  • Set a strong admin password in ADMIN_PASS
Start FileAgo

Install and start the FileAgo server (and other related containers) by executing:

# docker-compose -f docker-compose.yml up -d

NOTE: If you have configured chat server settings, you should start the chat server as well by executing:

# docker-compose -f docker-compose.yml -f docker-compose.chat.yml up -d

Visit https://HOSTNAME to begin the configuration process. Use the following information (exactly as it is given below) to fill in the form:

Field Value
Neo4j Host db
Neo4j Port 7474
Neo4j Username neo4j
Neo4j Password mysecurepass


Once the initial setup is over, login as admin and activate your license key. Steps to purchase and activate a license key can be found in the next page.