Installer Collabora avec Nextcloud

Message moved here : Collabora installation problem

Message moved here : Collabora installation problem

Hi @nath5394 could you open dedicaced topic to your problems ? (in the support category rather than tutorial)
It’s more easy to follow the l’évolution du problème and here resolution.

Ah !
Yes, it is done : Collabora installation problem
Should I remove or edit my messages here ?
Sorry, I did not notice this topic was not the good place to ask for help.

1 Like

No problem, it’s because there are a few messages that don’t get answered because of their bad location and I saw that you already posted this problem above. If you want delete your message not problem it clarifies the flow of this subject

Waouw, merci. Ça a marché pour moi du coup, c’est génial, depuis le temps que je voulais voir ce que ça donne.

hello,
Je pense tenter ce tuto, est-ce que ça tourne toujours chez toi (ou chez les autres qui s’en servent en ce moment)? Le petit onglet “faible qualité” me met le doute ^^

1 Like

Can someone update this tutorial for 2025 ?

I have an error with my installation and i don’t find the solution in this topic.

The steps i followed :

  1. Install Nextcloud with yunohost
  2. On the nextcloud app catalog, install the Nextcloud office app
  3. Install the Collabora Online - Built-in CODE Server app (chose the ARM or x86-64 version)
    as expected the installation fail on the web GUI so i tried the OCC command as recomanded :
sudo -u www-data php8.3 -d memory_limit=512M /var/www/nextcloud/occ app:install richdocumentscode

I have the folowing error, can you help me with the OCC command ?

An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Nobody answered but i found somewhere else how to make that OCC command work. I had to had this before : --define apc.enable_cli=1

here is a recap for February 2025 :

  1. Install Nextcloud with yunohost
  2. On the nextcloud app catalog, install the Nextcloud office app
  3. Install the Collabora Online - Built-in CODE Server app (chose the ARM or x86-64 version)
    as expected the installation fail on the web GUI so you have to install it through the CLI using the following occ command :
sudo -u nextcloud php8.3 -d memory_limit=512M --define apc.enable_cli=1 /var/www/nextcloud/occ app:install richdocumentscode
  1. You can check in the administrator settings of nextcloud if everything is correctly installed and change the settings of nextcloud office

Are you using an armbian, raspberry or Odroid ?

Another way more simple to use occ commands is connecting to the shell app

yunohost app shell nextcloud
php occ list

Your are right i missed this simpler command. There are so many topics when we search “occ Nextcloud” in the forum that i didn’t find this solution.
I also tried to find an answer on the Yunohost Nextcloud wiki but it has been deleted https://doc.yunohost.org/en/app_nextcloud
I understand it must be difficult to keep this kind of wiki up to date but we are really missing a guide somewhere.

I am running Yunohost on a X86 VPS

This information on how to access Nextcloud commands from the command line is available in the webadmin

Oh thanks !
I didn’t know that. You are right everything is written there. I don’t have this habit to check there yet.