Readme - Ubuntu Server

 

This installation method is not updated anymore (2020-08-23) - use the Docker installation instead.
Read more about the migration process.

 

Preparations:

 

Installation:

 

After installation:


Logs:

Site and Redbird proxy (no sudo):

pm2 logs

API:

sudo journalctl | grep mdc-api-linux

 

Backup and restore:

 

Backup:
 

sudo {installDir}/server/backup-linux backup
sudo {installDir}/server/backup-linux backup {output}


Restore:

sudo {installDir}/server/backup-linux restore {input}

 

Important security notice:

Deployify is using Vault (https://www.vaultproject.io/) to store hashed passwords. The storage is sealed and needs to be unsealed on every startup. The keys are, for the sake of simplicity, stored on the server to unlock the Vault on server startup.

All 6 keys are stored in {installDir}\keys.json.

To utilize the security of Vault, no key should be stored here. Move the key file to a safe place and enable webUnseal instead.

Unseal From Website:

The keys.json file will look something like this:
["asd98er0rt908df09ds09sdf", "12390a8sd90re908waasd098", "sad45fdewr897e89ga", "54098etrgfbv09834"]

Take each key (without quotations) and paste them in the form. Every key should be on its own row, so hit enter after each key you paste.

Like this:
asd98er0rt908df09ds09sdf
12390a8sd90re908waasd098


Update existing installation:

  1. curl -L https://deployify.io/download_file/136/0 -o update.sh
  2. sudo sh update.sh {username}