Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable plugins globaly #18

Open
crpb opened this issue Nov 29, 2024 · 2 comments
Open

disable plugins globaly #18

crpb opened this issue Nov 29, 2024 · 2 comments

Comments

@crpb
Copy link
Contributor

crpb commented Nov 29, 2024

Hey,

i might have overlooked something obvios but i can't seem to get plugins disabled and i even tried silly stuff like all of them.

gromi:~ # grep DISABLED_PLUGINS /etc/grommunio-web/config.php
        // define("DISABLED_PLUGINS_LIST", "archive;chat;");
        define("DISABLED_PLUGINS_LIST", "archive;chat;desktopnotifications;files;filesbackendOwncloud;intranet;maps;mdm;meet;passwd;smime;");
gromi:~ # namei -l /usr/share/grommunio-web/config.php
f: /usr/share/grommunio-web/config.php
drwxr-xr-x root root /
drwxr-xr-x root root usr
drwxr-xr-x root root share
drwxr-xr-x root root grommunio-web
lrwxrwxrwx root root config.php -> /etc/grommunio-web/config.php
drwxr-xr-x root root   /
drwxr-xr-x root root   etc
drwxr-xr-x root root   grommunio-web
-rw-r--r-- root root   config.php

Could you please tell me what i'm doing wrong?
And maybe add an example in the config for people like me? :-).

@crpb
Copy link
Contributor Author

crpb commented Nov 30, 2024

Hmmm... i did all the things you could do with a browser other than reinstalling.. reloading.. closing ... private sessions.. nothing worked.

But now after quite some while the addons are disabled as configured

define("DISABLED_PLUGINS_LIST", "archive;chat;filesbackendOwncloud;files");

Is there some cache which might geht in the way on the system? I gues likely to be in /var/lib/grommunio-web/session?

@gromandreas
Copy link
Member

Hi,

the easiest is to add

define("ENABLE_PLUGINS", false);

to the /etc/grommunio-web/config.php or to set the value of ENABLE_PLUGINS to false in /usr/share/grommunio-web/defaults.php.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants