FreeBSD 14
Sponsored Link

NextCloud : Use Office Apps2024/07/30

 

On NextCloud Web, it's possible to open or edit files that are created by Office Apps like [xlsx], [docx] and others.
On this example, install ONLYOFFICE and enable office apps.

[1] Install ONLYOFFICE.
root@dlp:~ #
service linux enable

linux enabled in /etc/rc.conf
root@dlp:~ #
service linux start
root@dlp:~ #
sudo -u www php --define apc.enable_cli=1 --define memory_limit=1G /usr/local/www/apache24/nextcloud/occ app:install documentserver_community

The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini.
documentserver_community 0.1.18 installed
documentserver_community enabled

root@dlp:~ #
sudo -u www php --define apc.enable_cli=1 --define memory_limit=1G /usr/local/www/apache24/nextcloud/occ app:install onlyoffice

The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini.
onlyoffice 9.3.0 installed
onlyoffice enabled
[2] Login to NextCloud Web with admin account and Select [Administration settings] on the popup menu.
[3] Select [ONLYOFFICE] in the left pane, and in the right pane, remove [pdf] from the associated extensions (as it conflicts with other PDF viewers).
That's it, the settings are OK.
[4] This is the window Excel file is opened, it's possible to edit normally.
[5] This is the window Word file is opened, it's possible to edit normally.
Matched Content