Disable Microsoft Office Templates

How can I hide the option to create Microsoft Office files in a library? I don’t want to use Office at all and would like to have a tidy menu. So only text files and md files, for example.

To hide the option to create Microsoft Office files in your Seafile library, you need to disable the integrated online office functionality. Seafile supports various online office solutions like OnlyOffice, Office Online Server, and Collabora Online. You can achieve this by modifying the seahub_settings.py file. Please check for and set the following parameters to False or comment them out, depending on which integration you have enabled:

  1. For OnlyOffice Integration: OnlyOffice Integration - Seafile Admin Manual
    Set ENABLE_ONLYOFFICE = False

  2. For Office Online Server Integration: Office Online Server Integration (Pro) - Seafile Admin Manual
    Set ENABLE_OFFICE_WEB_APP = False

  3. For Collabora Online Integration: Collabora Online Integration - Seafile Admin Manual
    Set ENABLE_OFFICE_WEB_APP = False
    (Note: Collabora Online also uses OFFICE_SERVER_TYPE = 'CollaboraOffice' in conjunction with ENABLE_OFFICE_WEB_APP).

After making these changes to seahub_settings.py, remember to restart your Seafile service for the changes to take effect. This should remove the options for creating Microsoft Office files from your library menu.

The options mentioned are already set. The environment runs in Docker. After setting them, the containers were completely restarted. Nevertheless, the items are still there.

I have attached a screenshot to illustrate which items I would like to hide.

Incidentally, I have not activated anti-virus software, but have deliberately deactivated it. The item is still displayed in the system administrator menu.