Nextcloud: Difference between revisions

Britter (talk | contribs)
m Fix minor typo
Britter (talk | contribs)
Better explain the difference between richdocuments, Collabora Online, and Collabora Online Development Edition.
Line 457: Line 457:
== Plugins ==
== Plugins ==


=== Rich document editing ===
=== NextCloud Office ===
The main options for Rich Document Editing are ONLYOFFICE and Collabora Online (aka Nextcloud Office aka CODE aka richdocuments).
The [https://nextcloud.com/office/ NextCloud Office app] provides a Google Docs like online office suite integrated into NextCloud. For this to work it requires a document server that provides the editing functionality as a [[wikipedia:Web_Application_Open_Platform_Interface|WOPI]] client.
 
The main options to use as WOPI client are [https://www.onlyoffice.com/ ONLYOFFICE] and [https://www.collaboraonline.com Collabora Online]. Although the documentation makes it look like Collabora Online is the only option, any document server with WOPI capabilities can be used.
 
To enable the NextCloud Office app, add the following to your configuration:<syntaxhighlight lang="nixos">
services.nextcloud = {
  enable = true;
  extraApps = {
    inherit (config.services.nextcloud.package.packages.apps) richdocuments;
  };
}
</syntaxhighlight>


==== ONLYOFFICE ====
==== ONLYOFFICE ====
You need to install both a document server and the [https://apps.nextcloud.com/apps/onlyoffice ONLYOFFICE Nextcloud plug-in]. There are several ways to instally onlyoffice:
You need to install both a document server and the [https://apps.nextcloud.com/apps/onlyoffice ONLYOFFICE Nextcloud plug-in]. There are several ways to install onlyoffice:


===== services.onlyoffice =====
===== services.onlyoffice =====
Line 474: Line 485:
(not tested)
(not tested)


==== Collabora Online (aka Nextcloud Office aka CODE aka richdocuments) ====
==== Collabora Online ====
Track https://github.com/NixOS/nixpkgs/issues/339798
Collabora comes in two flavors:
 
* Collabora Online For Business / For Enterprise
* Collabora Online Development Edition (aka CODE)
 
As the name indicates the former two require a license, while the latter is free for evaluation and personal use.
 
For easy deployment, there's the [https://apps.nextcloud.com/apps/richdocumentscode richdocumentscode app] which bundles the CODE server. While being less performant than a standalone deployment of the CODE server, this solution does not require an additional service to be deployed and managed externally from NextCloud. Unfortunately the richdocumentscode app bundles the CODE server as an AppImage and therefore does not work out of the box on NixOS. Follow https://github.com/NixOS/nixpkgs/issues/339798 if you want to get informed about packaging progress. Also CODE standalone is currently not packages in nixpkgs (https://github.com/NixOS/nixpkgs/issues/218878).
[[Category:Server]]
[[Category:Server]]
[[Category:Applications]]
[[Category:Applications]]
[[Category:Web Applications]]
[[Category:Web Applications]]
[[Category:NixOS Manual]]
[[Category:NixOS Manual]]