Skip to main content Skip to secondary navigation


Main content start

ePADlite Installation Script Guide

You can download the installation script from github using the command wget if you have wget


  • Create a folder named epadlite so that all of the installation files are in a directory
  • Copy or move file that you have downloaded to epadlite directory 
  • Go in epadlite directory
    • cd epadlite
  • Run command below to be able to execute it
    • chmod 755 
  • Start installation by typing
    • ./ install 

There is another script which is independent from script but it may be addressed in certain sections while using installtion script. script will be in your epad-dist folder after the installation. 

System Requirements:

Ram : min 4gb
git needs to be installed
docker needs to be installed
docker-compose needs to be installed


- The installation script is in the alpha phase. If you have crucial data in your ePad instance please do not use installation script while it is in the alpha phase.
- The installation script depends on epad-dist folder, epad_lite_dist folder and the epad.yml file which is in the epad-dist folder.
- If you use installation script do not add or edit files and folders manually.
- ePAD does not delete your couchdb and your mariadb data. If you are doing an installation and if you have the mariadb data from the previous ePAD installation, this may produce a flawed installation.
- To delete mariadb data folder content you need to use same users and passwords for the new Installation so that ePAD can access your old mariadb data. 



- ePad tries to fix your mariadb credentials when you are passing from a previous ePad installation but this operation depends on epad.yml file and it is still in the experimental phase. However, this won't work if you don't have an epad-dist folder from your previous ePad installation or if your epad.yml does not contain correct passwords from your previous installation. In other words if you have edited passwords in between installations manually .

 - if you would like to use ePAD plugins for MacOS, you will need to give public rights to your /var/run/docker.sock file which is a symbolic link:
   sudo chmod -h 777 docker.sock
   For linux, you need to have docker group (docker group is created when you install docker). Please check the docker post installation documentation and the installation script completes the install.


- install
  command : ./ install
   installation will get latest epad-dist folder from github. It will edit epad.yml file. It will build epad_lite_dist folder and will start containers.

- for linux :
   After the installation tmp, pluginData, and couchdb data folder needs to be given public rights:
     chmod -R 777 pluginData. This may require sudo rights. In the case sudo rights are needed, the command is:
     sudo chmod -R 777 pluginData (if the folder is empty -R flag is not required)
   Repeat the commands for tmp and couchdb data folders (by default couchdb data folder is ../couchdbloc)
  -for MacOS :
   We are not aware of any folder rights issues. If you encounter issues, please let us know:

 - start
  command : ./ start

 - stop
  command : ./ stop

 - update
  command : ./ update epad
 If there are changes in the epad-dist file, update config needs to be used. 

  command : ./ update config
  Update config updates all. This means it will download a new epad-dist, update credentials and will update ePAD version. This operation will try to replace your mariadb credentials in case that you are changing them during the update.

During the update ePad will automatically export (backup) keycloak users and after the installation will import(insert back) the keycloak users automatically.

 - Import/export keycloak users
  If you need to export or import keycloak users, use these commands. Make sure that you have a tmp folder with public rights.
  To use import you need a file named epad_realm.json in the tmp folder. If you previously exported keycloak users, this file will be in the tmp folder.
  command : ./ export keycloakusers
  command : ./ import 

During the installation and updating, ePAD will guide you with questions.

- For MacOS, if your network name is not accessible you will find in the epad-dist folder after the installation.
Please use the fixmyip script to have a host name which will be mapped to your ip address in the etc/hosts file.
- For linux we are not aware of any issues with the hostname. Please let us know ( if you encounter any network issue during the installation.
- If you downloaded epad-dist folder and if you want to use script, you need to move script out of the epad-dist folder.
- If you installed ePAD manually and if you want to use script later, it is still possible but you should have epad-dist folder or rename the folder name to epad-dist if you used different folder name during the manual installation. 

Some questions you may encounter during the installation:

 - during the ./ install
  - epad-dist folder exist already. Do you want to overwrite ? (y/n) (default value is n)
   If you answer yes, ePAD will get a fresh copy of epad-dist from github. If you answer no, it will use the epad-dist folder which has been found in the system.

  - epad_lite_dist folder exist already do you want to overwrite ? (y/n) (default value is n):
   If you answer yes, ePAD will use the credentials that you have given and will build a new epad_lite_dist folder. If you answer no, it will use the epad_lite_dist folder which has been found in the system and the credentials that you have given will be ignored.