documentserver_community icon indicating copy to clipboard operation
documentserver_community copied to clipboard

Missing 'fonts' directory for adding fonts via documentserver:fonts

Open benjaminsabatini opened this issue 4 years ago • 2 comments

Running:

sudo -u wwwrun php occ documentserver:fonts --add /usr/share/fonts/truetype/arial.ttf

In opensuse results in:

Error: file_put_contents(/.../...documentserver_community/fonts/arial.ttf): Failed to open stream: No such file or directory at /srv/www/htdocs/nextcloud/lib/private/Files/Storage/Local.php#282 in the NC logs.

Which, seems to be caused by the "fonts" directory missing in "documentserver_community". Adding the directory with the correct permissions fixed it. So yeah, add this directory during install of the app, maybe...

benjaminsabatini avatar Jul 15 '21 13:07 benjaminsabatini

I upload the fonts in a folder have right permission still could not get it right. php -d memory_limit=512M ./occ documentserver:fonts --add /home/nextcloud.example.com/public_html/apps/documentserver_community/3rdparty/onlyoffice/documentserver/core-fonts/sans-serif/Roboto-BoldCondensed.ttf

weasam avatar Jul 20 '22 10:07 weasam

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

github-actions[bot] avatar Sep 09 '24 00:09 github-actions[bot]