Skip to main content

appmanager

Manage Eenos Apps

Eenos has an app management tool called appmanager. This tool can be used to control the app operations.

Command:  /usr/local/eenos/scripts/appmanager

This tool can be used to install, remove, update, list, and disable apps on the server. 

Options : 
usage: appmanager [command] [command options]  

Eenos App Manager Tool

Command(s):
  -i path_to_app, --install path_to_app
                        The full path to the app package ( .tar, .tar.gz, .tgz)
  -r app_name, --remove app_name
                        App name to uninstall
  -u app_name, --update app_name
                        Update the app using auto update script of the app
  -l, --list            List all installed apps
  -b, --build           Rebuild the app menus
  -d app_name, --disable app_name
                        Disable the app on wap,uapp or rapp
  -e app_name, --enable app_name
                        Enable the app on wap,uapp or rapp

Disable / Enable Options(Required):
  -p PANEL, --panel PANEL
                        The panel name to disable or enable, values ( wap, uapp, rapp)
  -a, --all             Disable or Enable from all panels

optional arguments:
  -h, --help            show this help message and exit

Install App

To install the app, use the following command,

/usr/local/eenos/scripts/appmanager -i  path_to_app

Where path_to_app is the full path of the gzip tar file of the app.

Example: 

Install the app sampleapp.tar.gz

/usr/local/eenos/scripts/appmanager  -i /root/sampleapp.tar.gz

Uninstall App

To remove an app from Eenos use the following command

 /usr/local/eenos/scripts/appmanager -r app_name   

, where app_name is the name of the app

Example :

Remove the app sampleapp

/usr/local/eenos/scripts/appmanager --remove sampleapp

Upgrade App

You can run upgrade actions for the app. 

To run an upgrade using  Eenos your app must need an auto_update script configured during app installation time.

Use the following command to upgrade the app:

/usr/local/eenos/scripts/appmanager  -u app_name

Where app_name is the name of the app

Disable App

You can disable the app from all control panel interfaces or a single interface 

To disable the app on all interfaces use the following command.

/usr/local/eenos/scripts/appmanager --disable app_name --all

To disable the app on a single panel use the following command :

/usr/local/eenos/scripts/appmanager --disable app_name --panel  PANEL_NAME

Where, 

  • app_name, is the name of the app
  • PANEL_NAME is the control panel name  (wap,rapp, or uapp )

Enable App

You can enable the app from all control panel interfaces or a single interface 

To enable the app on all interfaces use the following command.

/usr/local/eenos/scripts/appmanager --enable app_name --all

To enable the app on a single panel use the following command :

/usr/local/eenos/scripts/appmanager --enable app_name --panel  PANEL_NAME

Where,

  • app_name, is the name of the app
  • PANEL_NAME is the control panel name  (wap,rapp, or uapp )

If the app is disabled globally, you can enable it for a single control panel.

List  Apps

To view all installed apps on the server use the following command.

/usr/local/eenos/scripts/appmanager -l