Ownpad is an ownCloud application that allows to create and open Etherpad and Ethercalc documents. This application requires to have access to an instance of Etherpad and/or Ethercalc to work properly.
This application works pretty much like
files_etherpad
but
is a complete rewrite.
In order to make Ownpad work, you need to go to the configuration panel and then fill the “Collaborative documents” section. There is no need to fill both Etherpad and Ethercalc hosts.
Afterwards, the “pad” and/or “calc” items will be available in the “+” menu from the “File” app.
Unfortunately, apps can’t declare new mimetypes on the fly. To make
Ownpad work properly, you need to add two new mimetypes in the
mimetypemapping.json
file (at ownCloud level).
To proceed, just copy /resources/config/mimetypemapping.dist.json
to
/config/mimetypemapping.json
(in the config/
folder at Nextcloud’s
root directory; the file should be stored next to the config.php
file)., and then add the two following lines just after the “_comment”
lines.
"pad": ["application/x-ownpad"],
"calc": ["application/x-ownpad"],
If all other mimetypes are not working properly, just run the following command:
sudo -u www-data php occ files:scan --all