Skip to content

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

@TheMetMan

Description

@TheMetMan

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):

  • Version: [ 2.1 ]
  • Source: [ github ]
  • Identifer: [ cacti from Ubuntu Repo ]

Desktop (please complete the following information):

  • OS: [ Ubuntu Server 23.10 for Raspberry Pi]
  • Browser [ Brave on another PC ]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions