Uninstalling default plugins from the server editors

There are four ways to remove the default plugins from the ONLYOFFICE Docs installation.

Option 1

Starting from version 7.4, you can use the pluginsmanager utility.

Docker, DEB, and RPM

cd /var/www/onlyoffice/documentserver/server/tools/
./pluginsmanager --directory="/var/www/onlyoffice/documentserver/sdkjs-plugins" --remove="zotero"

Windows

cd C:\Program Files\ONLYOFFICE\DocumentServer\bin
documentserver-pluginsmanager.bat --remove="zotero"
The paths in the examples are default ones, please change them if necessary.

Option 2

Go to the sdkjs-plugins folder and remove the corresponding plugin folder from this directory.

The path to the folder depends on the operating system you use:

  • For Linux - /var/www/onlyoffice/documentserver/sdkjs-plugins/.
  • For Windows - %ProgramFiles%\ONLYOFFICE\DocumentServer\sdkjs-plugins\.

Option 3

Edit the ONLYOFFICE Docs config by removing the corresponding plugin. The plugin will become unavailable for all portal users upon the editor next start:

var docEditor = new DocsAPI.DocEditor("placeholder", {
    "editorConfig": {
        "plugins": {
            "autostart": [
                "asc.{0616AE85-5DBE-4B6B-A0A9-455C4F1503AD}",
                "asc.{FFE1F462-1EA2-4391-990D-4CC84940B754}",
                ...
            ],
            "pluginsData": [
                "https://example.com/plugin1/config.json",
                "https://example.com/plugin2/config.json",
                ...
            ]
        },
        ...
    },
    ...

The plugins will be removed for all the users of ONLYOFFICE DocsIn some cases, service restart is required.

If you update ONLYOFFICE Docs, removed plugins will be available again and you’ll need to remove them once again.

This table contains GUIDs (Globally Unique Identifiers) of the plugins included into the server editors by default:

PluginGUID
Highlight code{BE5CBF95-C0AD-4842-B157-AC40FEDD9841}
Mendeley{BE5CBF95-C0AD-4842-B157-AC40FEDD9441}
OCR{440EBF13-9B19-4BD8-8621-05200E58140B}
Photo editor{07FD8DFA-DFE0-4089-AL24-0730933CC80A}
Speech{D71C2EF0-F15B-47C7-80E9-86D671F9C595}
Thesaurus{BE5CBF95-C0AD-4842-B157-AC40FEDD9840}
Translator{7327FC95-16DA-41D9-9AF2-0E7F449F6800}
YouTube{38E022EA-AD92-45FC-B22B-49DF39746DB4}
Zotero{BFC5D5C6-89DE-4168-9565-ABD8D1E48711}

Option 4

To uninstall the newly added plugin, proceed in the following way:

  1. Open the Plugins tab.
  2. Go to the Plugin Manager.
  3. Click the Remove button under the corresponding plugin.

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags