{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/8189","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/8189/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/8189/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/8189/events","html_url":"https://github.com/nextcloud/server/issues/8189","id":294539760,"number":8189,"title":"Text is not generated along avatar in NC 13.0.0 RC 4","user":{"login":"dachinat","id":22872749,"avatar_url":"https://avatars3.githubusercontent.com/u/22872749?v=4","gravatar_id":"","url":"https://api.github.com/users/dachinat","html_url":"https://github.com/dachinat","followers_url":"https://api.github.com/users/dachinat/followers","following_url":"https://api.github.com/users/dachinat/following{/other_user}","gists_url":"https://api.github.com/users/dachinat/gists{/gist_id}","starred_url":"https://api.github.com/users/dachinat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachinat/subscriptions","organizations_url":"https://api.github.com/users/dachinat/orgs","repos_url":"https://api.github.com/users/dachinat/repos","events_url":"https://api.github.com/users/dachinat/events{/privacy}","received_events_url":"https://api.github.com/users/dachinat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-05T20:57:48Z","updated_at":"2018-02-06T14:47:21Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\nInstall 12.0.0 from https://download.nextcloud.com/server/releases on CentOS 7 with PHP 7.1.13\r\n\r\nPackages that I have installed along PHP are\r\n\r\n>     - policycoreutils-python\r\n>     - lbzip2-utils\r\n>     - openssl\r\n>     - php71w-fpm\r\n>     - php71w-opcache\r\n>     - php71w-common # ctype, iconv, json, libxml, simplexml, zip, zlib, curl, fileinfo, bz2, openssl, ftp, exif, gmp\r\n>     - php71w-xml\r\n>     - php71w-gd \r\n>     - php71w-xml # dom, xmlreader, xmlwriter\r\n>     - php71w-mbstring \r\n>     - php71w-intl # intl\r\n>     - php71w-mcrypt\r\n>     - php71w-mysql\r\n>     - php71w-ldap\r\n>     - php71w-imap\r\n>     - php71w-pecl-apcu \r\n>     - php71w-pecl-redis\r\n>     - php71w-pecl-imagick\r\n>     - php71w-process # posix\r\n>     - libreoffice\r\n\r\nUpdate to NC 13.0.0 RC 4 via web based updater.\r\n\r\nGo to settings and update your Full name\r\n\r\nAvatar (circle) will change colour but it won't have any letters.\r\n\r\nError log will include:\r\n\r\n> imagettftext(): Could not read font at /var/www/nextcloud/lib/private/Avatar.php#266\r\n> imagettfbbox(): Could not read font at /var/www/nextcloud/lib/private/Avatar.php#260\r\n\r\n### Expected behaviour\r\n\r\nAvatar should get updated with letters generated using `OpenSans-Semibold.woff`\r\n\r\n### Actual behaviour\r\n\r\nAvatar does not gain any letters inside it, it just changes a colour.\r\n\r\nI have tried setting up a separate new CentOS 7 with fresh NC, and this error occurred there again.\r\n\r\nWhen I changed `OpenSans-Semibold.woff` with ttf `OpenSans-Regular.ttf`, it worked. \r\n\r\nI have GD2, FreeType enabled:\r\n\r\n<img width=\"481\" alt=\"screen shot 2018-02-06 at 12 54 06 am\" src=\"https://user-images.githubusercontent.com/22872749/35828285-5db51e98-0ad8-11e8-8dff-bc92f70d4436.png\">\r\n\r\n### Server configuration\r\n \r\n**Operating system**:\r\n\r\nCentOS Linux release 7.4.1708 (Core)\r\n\r\n**Web server:**\r\n\r\nnginx/1.12.2\r\n\r\n**Database:**\r\n\r\nmysql  Ver 15.1 Distrib 10.2.12-MariaDB, for Linux (x86_64) using readline 5.1\r\n\r\n**PHP version:**\r\n\r\nPHP 7.1.13 (cli)\r\n\r\n**Nextcloud version:** (see Nextcloud admin page)\r\n\r\n13.0.0 RC4\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\n\r\nUpdated from 12.0.0\r\n\r\n**Where did you install Nextcloud from:**\r\n\r\nhttps://download.nextcloud.com/server/releases \r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nNo errors have been found.\r\n```\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nEnabled:\r\n  - activity: 2.6.1\r\n  - announcementcenter: 3.1.1\r\n  - bruteforcesettings: 1.0.3\r\n  - caniupdate: 0.1.2\r\n  - comments: 1.3.0\r\n  - dav: 1.4.6\r\n  - external: 3.0.1\r\n  - federatedfilesharing: 1.3.1\r\n  - federation: 1.3.0\r\n  - files: 1.8.0\r\n  - files_pdfviewer: 1.2.0\r\n  - files_sharing: 1.5.0\r\n  - files_texteditor: 2.5.1\r\n  - files_trashbin: 1.3.0\r\n  - files_versions: 1.6.0\r\n  - files_videoplayer: 1.2.0\r\n  - firstrunwizard: 2.2.1\r\n  - gallery: 18.0.0\r\n  - logreader: 2.0.0\r\n  - lookup_server_connector: 1.1.0\r\n  - metadata: 0.6.0\r\n  - nextcloud_announcements: 1.2.0\r\n  - notifications: 2.1.2\r\n  - oauth2: 1.1.0\r\n  - password_policy: 1.3.0\r\n  - provisioning_api: 1.3.0\r\n  - serverinfo: 1.3.0\r\n  - sharebymail: 1.3.0\r\n  - systemtags: 1.3.0\r\n  - theming: 1.4.1\r\n  - twofactor_backupcodes: 1.2.3\r\n  - unsplash: 1.0.5\r\n  - updatenotification: 1.3.0\r\n  - workflowengine: 1.3.0\r\nDisabled:\r\n  - admin_audit\r\n  - contacts\r\n  - encryption\r\n  - files_downloadactivity\r\n  - files_external\r\n  - keeweb\r\n  - quota_warning\r\n  - survey_client\r\n  - user_external\r\n  - user_ldap\r\n```\r\n</details>\r\n\r\n**Nextcloud configuration:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\n{\r\n    \"system\": {\r\n        \"instanceid\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"passwordsalt\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"trusted_domains\": [\r\n            \"localhost\",\r\n            \"***REMOVED SENSITIVE VALUE***\"\r\n        ],\r\n        \"datadirectory\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"overwrite.cli.url\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbtype\": \"mysql\",\r\n        \"version\": \"13.0.0.13\",\r\n        \"dbname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbhost\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbport\": \"\",\r\n        \"dbtableprefix\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mysql.utf8mb4\": true,\r\n        \"dbuser\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"dbpassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"installed\": true,\r\n        \"memcache.local\": \"\\\\OC\\\\Memcache\\\\APCu\",\r\n        \"memcache.locking\": \"\\\\OC\\\\Memcache\\\\Redis\",\r\n        \"redis\": {\r\n            \"host\": \"***REMOVED SENSITIVE VALUE***\",\r\n            \"port\": \"0\"\r\n        },\r\n        \"objectstore\": {\r\n            \"class\": \"OC\\\\Files\\\\ObjectStore\\\\S3\",\r\n            \"arguments\": {\r\n                \"bucket\": \"nextcloud\",\r\n                \"autocreate\": true,\r\n                \"key\": \"***REMOVED SENSITIVE VALUE***\",\r\n                \"secret\": \"***REMOVED SENSITIVE VALUE***\",\r\n                \"hostname\": \"***REMOVED SENSITIVE VALUE***\",\r\n                \"port\": ***REMOVED SENSITIVE VALUE***,\r\n                \"use_ssl\": false,\r\n                \"region\": \"optional\",\r\n                \"use_path_style\": true\r\n            }\r\n        },\r\n        \"asset-pipeline.enabled\": \"true\",\r\n        \"skeletondirectory\": \"\",\r\n        \"enable_previews\": true,\r\n        \"mail_smtpmode\": \"smtp\",\r\n        \"mail_smtpauthtype\": \"LOGIN\",\r\n        \"mail_from_address\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_domain\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtphost\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpport\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpauth\": \"1\",\r\n        \"mail_smtpname\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtppassword\": \"***REMOVED SENSITIVE VALUE***\",\r\n        \"mail_smtpsecure\": \"ssl\",\r\n        \"maintenance\": false,\r\n        \"theme\": \"\",\r\n        \"loglevel\": 2,\r\n        \"default_language\": \"ka_GE\",\r\n        \"tempdirectory\": \"\\/data\\/nextcloud\\/tmp\",\r\n        \"updater.release.channel\": \"stable\",\r\n        \"preview_max_x\": \"2000\",\r\n        \"preview_max_y\": \"2000\",\r\n        \"trashbin_retention_obligation\": \"31, 31\"\r\n    }\r\n}\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** \r\n\r\nLocal minio server\r\n\r\n**Are you using encryption:** \r\n\r\nno\r\n\r\n**Are you using an external user-backend, if yes which one:**\r\n\r\nno\r\n\r\n### Client configuration\r\n**Browser:**\r\n\r\n63.0.3239.132 (Official Build) (64-bit)\r\n\r\n**Operating system:**\r\n\r\nmacOS High Sierra 10.13.4 Beta\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n<summary>Web server error log</summary>\r\n\r\n```\r\n2018/02/05 22:00:19 [error] 21865#0: *68 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: **Removed sentivive value**, server: **Removed sentivive value**, request: \"GET /apps/logreader/poll?lastReqId=MuV0nZ1bDKwB72tgA5Jh HTTP/2.0\", upstream: \"fastcgi://127.0.0.1:9000\", host: \"**Removed sentivive value**\"\r\n2018/02/05 22:39:13 [error] 22587#0: *1 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: **Removed sentivive value**, server: **Removed sentivive value**, request: \"GET /apps/logreader/poll?lastReqId=SPY3on4JiibTTMGMhimH HTTP/2.0\", upstream: \"fastcgi://127.0.0.1:9000\", host: \"**Removed sentivive value**\"\r\n```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n\r\n{\"reqId\":\"ewO5hqPWBrq66EqTYqvC\",\"level\":3,\"time\":\"2018-02-05T20:07:01+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/64?v=-373\",\"message\":\"imagettfbbox(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#259\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"ewO5hqPWBrq66EqTYqvC\",\"level\":3,\"time\":\"2018-02-05T20:07:01+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/64?v=-373\",\"message\":\"imagettftext(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#265\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"TbHKpvTfeBp3vUwED4kA\",\"level\":3,\"time\":\"2018-02-05T20:07:01+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/290?v=-373\",\"message\":\"imagettfbbox(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#259\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"TbHKpvTfeBp3vUwED4kA\",\"level\":3,\"time\":\"2018-02-05T20:07:01+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/290?v=-373\",\"message\":\"imagettftext(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#265\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"ZBip1VJ8810wB7HNn0OQ\",\"level\":3,\"time\":\"2018-02-05T20:47:04+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"PUT\",\"url\":\"\\/settings\\/users\\/dachi\\/settings\",\"message\":\"imagettfbbox(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#259\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"ZBip1VJ8810wB7HNn0OQ\",\"level\":3,\"time\":\"2018-02-05T20:47:04+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"PUT\",\"url\":\"\\/settings\\/users\\/dachi\\/settings\",\"message\":\"imagettftext(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#265\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"2nyZPoezfOTKtImXXzj5\",\"level\":3,\"time\":\"2018-02-05T20:47:04+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/64?v=-796\",\"message\":\"imagettfbbox(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#259\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"2nyZPoezfOTKtImXXzj5\",\"level\":3,\"time\":\"2018-02-05T20:47:04+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/64?v=-796\",\"message\":\"imagettftext(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#265\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"OWipKMFlQyIEpSqWAFSG\",\"level\":3,\"time\":\"2018-02-05T20:47:04+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/290?v=-796\",\"message\":\"imagettfbbox(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#259\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n{\"reqId\":\"OWipKMFlQyIEpSqWAFSG\",\"level\":3,\"time\":\"2018-02-05T20:47:04+00:00\",\"remoteAddr\":\"**Removed sentivive value**\",\"user\":\"dachi\",\"app\":\"PHP\",\"method\":\"GET\",\"url\":\"\\/avatar\\/dachi\\/290?v=-796\",\"message\":\"imagettftext(): Could not read font at \\/var\\/www\\/nextcloud\\/lib\\/private\\/Avatar.php#265\",\"userAgent\":\"Mozilla\\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/63.0.3239.132 Safari\\/537.36\",\"version\":\"13.0.0.13\"}\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n<summary>Browser log</summary>\r\n\r\n```\r\n64?v=-86 | 200 | png | merged-template-prepend.js?v=3793cd21-6:5178 | 895 B | 59 ms\r\n-- | -- | -- | -- | -- | --\r\n290?v=-86 | 200 | png | merged-template-prepend.js?v=3793cd21-6:5178 | 1.6 KB | 82 ms\r\n```\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/363444225","html_url":"https://github.com/nextcloud/server/issues/8189#issuecomment-363444225","issue_url":"https://api.github.com/repos/nextcloud/server/issues/8189","id":363444225,"user":{"login":"dachinat","id":22872749,"avatar_url":"https://avatars3.githubusercontent.com/u/22872749?v=4","gravatar_id":"","url":"https://api.github.com/users/dachinat","html_url":"https://github.com/dachinat","followers_url":"https://api.github.com/users/dachinat/followers","following_url":"https://api.github.com/users/dachinat/following{/other_user}","gists_url":"https://api.github.com/users/dachinat/gists{/gist_id}","starred_url":"https://api.github.com/users/dachinat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachinat/subscriptions","organizations_url":"https://api.github.com/users/dachinat/orgs","repos_url":"https://api.github.com/users/dachinat/repos","events_url":"https://api.github.com/users/dachinat/events{/privacy}","received_events_url":"https://api.github.com/users/dachinat/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T14:47:21Z","updated_at":"2018-02-06T14:47:21Z","author_association":"NONE","body":"I have tried this with recent NC 13. And with on another server with PHP 7.2. Still getting this error."}}
{"actor":{"display_login":"dachinat"}}