Cacti / plugin_gexport

Cacti Graph Export Plugin
GNU General Public License v2.0
12 stars 9 forks source link

Missing file in the Ubuntu 23.10 Version of Cacti throwing multiple PHP errors in Gexport #59

Open TheMetMan opened 9 months ago

TheMetMan commented 9 months ago

Describe the bug This is not strictly a bug in Gexport, but it is a problem causing PHP errors and warnings reported by Gexport

4 PHP errors and associated warnings relating to missing files namely:

/usr/share/cacti/site/include/fa/webfonts/fa-solid-900.woff2
/usr/share/cacti/site/include/fa/css/all.css

To Reproduce

Install Cacti and Cacti Spine using apt in Ubuntu Server 23.10 Install and setup Gexport as per instructions The graphs are saved, but there are multiple PHP Errors and Warnings

Expected behavior There should be no Errors and Warnings

Plugin (please complete the following information):

Desktop (please complete the following information):

Additional context Looking at the folder structure compared with the official download from the Cacti site: the include/fa/css folder only had two items fork-awesome.css and v5-compat.css when it should have 16 items the include/fa/ folder only has 5 items when it should have 10 and in particular has NO webfonts at all.

Just as a test before moving to the official download I copied the include/fa/webfonts folder and the contents of the include/fa/css folder to the Ubuntu install

Lo and behold the errors disappeared!

I have reported this to Ubuntu

TheWitness commented 9 months ago

It's important to report this to Debian. They are maintaining these packages. Paul Gevers is the principal contact. Can you get with him. If he believes the files are not necessary, we con remove them from the static build.

TheMetMan commented 9 months ago

OK, I am running Ubuntu and have reported to their Launchpad, should I do this to Debian as well?

TheMetMan commented 9 months ago

I have just had a repy on Launchpad from Paul Gevers, so it is flagged up. Regards Francis

TheWitness commented 9 months ago

Cool. Keep us posted.