How to integrate collaborate online to nethserver

Hello, someone has integrated collabora online to edit .odt, .doc, .xlsx and pptx files.
because I have an error integrating collabora could help me and a possible solution.
Here I show you my activation error.

Hi Eduard,

maybe it’s because of missing php:

Thanks Sr. Markmark for helping I’ll try

2 Likes

I have these error messages.
In the code. sudo -u apache /opt/rh/rh-php71/root/urs/bin/php /urs/share/nextcloud/occ app:install richdocuments
Any ideas to solve them.

Is it with nextcloud and collabora packages from nethserver?

sudo -u apache scl enable rh-php72 -- php -dmemory_limit=512M /usr/share/nextcloud/occ app:enable richdocuments

Check apache ownership of config.php:

chown apache:apache /usr/share/nextcloud/config/config.php

I still see that php5.4 is the active version of php. You need >php7.1 for nextcloud with collabora online…

@Eduard could you please post the tekst you get in your console instead of a screenshot? It makes reading a lot easier.

Remember Nextcloud uses a separate instance of php from software collections.

…and searching too :wink:

sudo -u apache /opt/rh/rh-php71/root/usr/bin/php /usr/nextcloud/occ app:install richdocuments
Could not open input file: /usr/nextcloud/occ
You have new mail in /var/spool/mail/root

/usr/share/nextcloud/occ