1.7. enableallcontexts

enableallcontexts is the tool to enable all disabled contexts.

1.7.1. Parameters

-h,--helpPrints a help text
--environmentShow info about commandline environment
--nonlRemove all newlines (\n) from output

1.7.2. Extra parameters when authentication is enabled

-A,--adminuser <string>Master Admin user name
-P,--adminpass <string>Master Admin password

1.7.3. Return value

0 on success

>0 on failure

1.7.4. Mandatory parameters

{adminuser adminpass}

1.7.5. Command output

On success:

all contexts enabled

On failure:

all contexts could not be enabled: <reason from server>

1.7.6. Example

root@oxhe~# /opt/open-xchange/sbin/enableallcontexts

all contexts enabled