[ZBX-16182] After upgrade to 4.08 from 4.07 no text showing on graphs Created: 2019 May 28 Updated: 2024 Apr 10 Resolved: 2019 Jun 11 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 4.0.8, 4.2.2 |
Fix Version/s: | 4.0.9, 4.2.3, 4.4 (plan) |
Type: | Incident report | Priority: | Major |
Reporter: | Bo Kersey | Assignee: | Jurijs Klopovskis |
Resolution: | Fixed | Votes: | 15 |
Labels: | graphs | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu 16.04 |
Attachments: | chart-no-text.png image-2019-06-05-16-18-17-953.png zabbix-4.0.8-packaging.diff zabbix-apache-log-errors.txt | ||||||||||||||||||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Team: | Team I | ||||||||||||||||||||||||||||||||||||||||||||||||
Sprint: | Sprint 53 (Jun 2019) | ||||||||||||||||||||||||||||||||||||||||||||||||
Story Points: | 2 |
Description |
Steps to reproduce:
Result: Graphs with no text Seeing 304's related to graphs in the logs Expected: |
Comments |
Comment by Alexandr Glazkow [ 2019 May 29 ] |
Version 4.2.2 is also affected |
Comment by Valdis Murzins [ 2019 May 29 ] |
It is very possible, you have an issue with the fonts. |
Comment by Kolunchik [ 2019 May 29 ] |
Comment by Valdis Murzins [ 2019 May 29 ] |
Seems like the problem was caused by changes in As a result, if you had a manually created symlink, it may be now broken. Additionally, as answer to Kolunchik, I will note that from 4.0.8 you need to manually add write permissions for web server user to /assets directory. |
Comment by Raymond Kuiper [ 2019 May 29 ] |
Confirm this issue exists in CentOS packages as well. |
Comment by Valdis Murzins [ 2019 May 29 ] |
As it was found out, there was an error in packages. New version of packages will be created. |
Comment by Someuser [ 2019 May 29 ] |
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 Resolved on my 4.2.2 |
Comment by Franky Van Liedekerke [ 2019 May 29 ] |
While the chmod will work on non-selinux systems, it will not on selinux based systems. Zabbix should provide a selinux policy package too (I can already provide the basic pp for it if so desired). |
Comment by Bo Kersey [ 2019 May 30 ] |
I've uploaded a diff that fixes the packaging issues that caused graphs to appear without text (zabbix-4.0.8-packaging.diff). I also tried to fix some of the lintian issues with the packages... However, I was not successful in getting all of them fixed.
Thanks!
|
Comment by Yuri Silvano Gusmão [ 2019 May 30 ] |
I was having the same problem. @Someuser you save my life, Tks. Your solution worked perfectly. For all, the Zabbix packages installed in my CentOS 7 are: zabbix-get-4.0.8-1.el7.x86_64 Thank you very much |
Comment by Craig Hopkins [ 2019 May 30 ] |
Symlinked the file as I don't like duplicates ln -s /usr/share/zabbix/fonts/graphfont.ttf /usr/share/zabbix/assets/fonts/ This was in 4.2.2 |
Comment by Bo Kersey [ 2019 May 30 ] |
You can just move the files. No need for links |
Comment by Niklas Hagman [ 2019 Jun 05 ] |
Same issue here. Upgraded from 4.0.x to 4.2.2. And I have from the beginning made sure not to touch anything in the file structure and this happens anyway. So this is a upgrade bug. Using Zabbix repository deb files for Ubuntu 18.04. |
Comment by Mark Hatton [ 2019 Jun 05 ] |
Just to add to this, also seeing this in the 4.2.1 > 4.2.2 upgrade process that we performed today. We now have no labels on classic graph widgets on our dashboards:
Once the font file was copied from /usr/share/zabbix/fonts to /usr/share/zabbix/assets/fonts, the problem resolved. |
Comment by Daniel Netzer [ 2019 Jun 07 ] |
Same problem here. I am on Ubuntu18.0.4 LTS. |
Comment by Daniel Netzer [ 2019 Jun 10 ] |
Seems to be fixed with 4.0.9. |
Comment by Jurijs Klopovskis [ 2019 Jun 11 ] |
Fixed in versions 4.0.9 and 4.2.3 |