Missing files in Cacti Package

Bug #2046431 reported by Francis Greaves
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cacti (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have a fresh install of Ubuntu23.10 with kernel 6.5.0-1008-raspi on a Raspberry Pi 4. Being a bit lazy I installed cacti and cacti-spine using apt instead of downloading from the cacti site and installing manually. I had just done this using Ubuntu 20.04 with no problems.

I setup everything, added the Gexport Plugin from here https://github.com/Cacti/plugin_gexport, but in the log I had 4 PHP errors relating to missing files:

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

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 attached two files showing the folder structure of this version of Cacti and the official version to compare. The are ALOT of differences!

Revision history for this message
Francis Greaves (themetman) wrote :

I should have added the version of the cacti package:

cacti/mantic,now 1.2.25+ds1-2 all [installed]
  web interface for graphing of monitoring systems

Revision history for this message
Paul Gevers (paul-climbing) wrote :

Hi,

On 14-12-2023 10:13, Francis Greaves wrote:
> I setup everything, added the Gexport Plugin from here
> https://github.com/Cacti/plugin_gexport, but in the log I had 4 PHP
> errors relating to missing files:
>
> /usr/share/cacti/site/include/fa/webfonts/fa-solid-900.woff2
> /usr/share/cacti/site/include/fa/css/all.css

Did this error only occur after you added the plugin?

> Looking at the folder structure compared with the official download from
> the Cacti site:

In Debian (and hence in Ubuntu) we try to depend on packages providing functionality instead of embedding other projects in source packages. For cacti in Ubuntu, the Awesome Font is delivered by the fonts-fork-awesome package. You'll see that include/fa is a soft-link.

> 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

So, I wonder if we should request changes to the fonts-fork-awesome package. Unfortunately, I'm not experience in how webfonts work.

> I have attached two files showing the folder structure of this version
> of Cacti and the official version to compare. The are ALOT of
> differences!

Yes, that's totally expected.

Paul

Revision history for this message
Francis Greaves (themetman) wrote :

> Did this error only occur after you added the plugin?

Yes. No errors prior to this.
As far as I can see, Gexport is looking for those fonts which it expects to find.

Regards

Revision history for this message
Paul Gevers (paul-climbing) wrote : Re: [Bug 2046431] Re: Missing files in Cacti Package

Hi,

On 14-12-2023 13:22, Francis Greaves wrote:
>> Did this error only occur after you added the plugin?
>
> Yes. No errors prior to this.
> As far as I can see, Gexport is looking for those fonts which it expects to find.

I have forwarded the question to https://bugs.debian.org/1058697

Paul

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.