zeithbyte - 2014-05-15

How can we install plugins in Ortro ?
Is there a wiki section / documentation which explains how to add plugins in Ortro ?

I succeeded installation, but when i try te create a test job i'm not able to choose "job category" nor "job type": scroll list doesn't contain any value.

So i tried to install plugins using GUI "proccessing plugins", but can't add them (files not compliant).

Then i tried installing directly on server executing "configure.php" on the right plugin but it ends up in failing. Probably because it's not the right way to install:

root@dedibox:/var/www/ortro/plugins/general/custom_script# php5 configure.php
PHP Notice: Use of undefined constant PLUGIN_ARCHIVE_RESULTS - assumed 'PLUGIN_ARCHIVE_RESULTS' in /var/www/ortro/plugins/general/custom_script/configure.php on line 21
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_DESCRIPTION - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_DESCRIPTION' in /var/www/ortro/plugins/general/custom_script/configure.php on line 29
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_TITLE - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_TITLE' in /var/www/ortro/plugins/general/custom_script/configure.php on line 30
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_SCRIPT_LOCATION_REMOTE - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_SCRIPT_LOCATION_REMOTE' in /var/www/ortro/plugins/general/custom_script/configure.php on line 34
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_SCRIPT_LOCATION_LOCAL - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_SCRIPT_LOCATION_LOCAL' in /var/www/ortro/plugins/general/custom_script/configure.php on line 35
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_SCRIPT_LOCATION_DESCRIPTION - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_SCRIPT_LOCATION_DESCRIPTION' in /var/www/ortro/plugins/general/custom_script/configure.php on line 37
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_PATH_DESCRIPTION - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_PATH_DESCRIPTION' in /var/www/ortro/plugins/general/custom_script/configure.php on line 43
PHP Notice: Use of undefined constant PLUGIN_GENERAL_CUSTOM_SCRIPT_RULE_1_0 - assumed 'PLUGIN_GENERAL_CUSTOM_SCRIPT_RULE_1_0' in /var/www/ortro/plugins/general/custom_script/configure.php on line 45
PHP Notice: Use of undefined constant PLUGIN_USER - assumed 'PLUGIN_USER' in /var/www/ortro/plugins/general/custom_script/configure.php on line 53
PHP Notice: Use of undefined constant PLUGIN_USER_RULE - assumed 'PLUGIN_USER_RULE' in /var/www/ortro/plugins/general/custom_script/configure.php on line 55
PHP Notice: Use of undefined constant PLUGIN_PORT - assumed 'PLUGIN_PORT' in /var/www/ortro/plugins/general/custom_script/configure.php on line 63
PHP Notice: Use of undefined constant PLUGIN_RETENTION - assumed 'PLUGIN_RETENTION' in /var/www/ortro/plugins/general/custom_script/configure.php on line 69

Normally the rights are now correctly set for apache user (www-data):
root@dedibox:/var/www/ortro/plugins# ls -l
total 28
drwxr-x--- 9 www-data www-data 4096 mai 15 11:02 database
drwxr-x--- 12 www-data www-data 4096 mai 15 11:02 file
drwxr-x--- 6 www-data www-data 4096 mai 15 11:02 general
-rw-r--r-- 1 www-data www-data 495 mai 15 11:02 init.inc.php
drwxr-x--- 7 www-data www-data 4096 mai 15 11:02 notification
drwxr-x--- 12 www-data www-data 4096 mai 15 11:02 system
drwxr-x--- 8 www-data www-data 4096 mai 15 11:02 www