Adding fonts in nextcloud using truenas scale

Nextcloud says to add this in truenas scale. I am not sure how to do this.

Make sure to set this URL: https://nextcloud.xxxxxxxxxxxxxxx.com/apps/richdocuments/settings/fonts.json in the coolwsd.xml file of your Collabora Online server to ensure the added fonts get loaded automatically. Please note that http:// will only work for debug builds of Collabora Online. In production you must use https:// for remote font config.

<remote_font_config>
https://nextcloud.xxxxxxxxxxxxxxx.com/apps/richdocuments/settings/fonts.json
</remote_font_config>

Thank you for any and all help

Hello @rpohl67 welcome to the collabora online forum

How to Add Fonts to Collabora in TrueNAS SCALE:

  1. Open Shell in Collabora App from TrueNAS SCALE UI (Apps → Collabora → ⋮ → Shell).

  2. Edit config:
    Run:

    nano /etc/coolwsd/coolwsd.xml
    

    Add inside <config>:

    <remote_font_config>
      https://nextcloud.yourdomain.com/apps/richdocuments/settings/fonts.json
    </remote_font_config>
    
  3. Restart Collabora:

    supervisordctl restart coolwsd
    
  4. Verify: Visit the URL in your browser to confirm fonts.json is served.

Thanks
Darshan

It says nano is not installed. Is there a way to install it in the collabora shell. Thank you

Use vi Instead of nano:

Once you’re in the Collabora container shell, run:

vi /etc/coolwsd/coolwsd.xml

It says the same thing VI not found. Thank you