[ZBX-17219] Zabbix 4.4 - PHP 7.3 - NGINX - Graph no text Created: 2020 Jan 24  Updated: 2020 Feb 07  Resolved: 2020 Feb 07

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.4.4
Fix Version/s: 4.4.5

Type: Incident report Priority: Trivial
Reporter: Alain Deléglise Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 2020-01-24_15-21-zabbix-graph.png    

 Description   

Steps to reproduce:

  1. Upgrade from 4.2 to 4.4.4
  2. Upgrade from apache to nginx and PHP 5.4 to 7.3
  3. Go to graph
  4. No text

Result:
See screenshot...
Expected:
Text on graph

 

I read the ZABBIX-16182 issue, and applied the fix. But still, there's no text on graphs.

Runing on CentOS 7, using Zabbix 4.4.4, PHP 7.3, Nginx and MariaDB.



 Comments   
Comment by Igor Gorbach (Inactive) [ 2020 Jan 27 ]

Hello, Alain!

Thank you for issue!

Please, write your fixsteps what you did from ZBX-16182

Comment by Alain Deléglise [ 2020 Jan 27 ]

Hello Igor,

I've ran this exact set of commands :

 

cp /usr/share/zabbix/fonts/graphfont.ttf /usr/share/zabbix/assets/fonts/
chown -R www-data:www-data /usr/share/zabbix/assets/
chmod -R 744 /usr/share/zabbix/assets
ln -s /usr/share/zabbix/fonts/graphfont.ttf /usr/share/zabbix/assets/fonts/

 

Initially the `/usr/share/zabbix/fonts/graphfont.ttf` file was non-existent, but the `/usr/share/zabbix/assets/fonts/graphfont.ttf` was already here and point to a correct font installed on the system (DejaVu-Sans).

I must say that I've upgraded from Zabbix 4.2, and in 4.2 there where no problems with the graphs. I've also checked php-gd, and I can confirm that it is installed and enabled. I've disabled opcache.

Comment by Alain Deléglise [ 2020 Feb 07 ]

Hi, we are still facing this issue. Do you have any informations ?

Comment by Alain Deléglise [ 2020 Feb 07 ]

Hi again, I've updated Zabbix to 4.4.5 and now everything works. Still don't now what caused that.

Generated at Fri Apr 18 15:20:35 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.