Bug 255717 - net-mgmt/zabbix5-frontend: missing files
Summary: net-mgmt/zabbix5-frontend: missing files
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Package Infrastructure (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-08 23:51 UTC by Csaba Kollar
Modified: 2021-06-24 13:56 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (pg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Kollar 2021-05-08 23:51:54 UTC
These files are missing from the zabbix5-fronted (5.0.11) binary package:

app/controllers/CControllerHintBox.php
app/views/hint.box.php
include/classes/helpers/CHintBoxHelper.php

Package in ports tree is fine.

Missing files cause a non-functioning Zabbix dashboard and generates the following php errors:

[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught Error: Class 'CHintBoxHelper' not found in /usr/local/www/zabbix5/app/views/monitoring.widget.problems.view.php:187"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "Stack trace:"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#0 /usr/local/www/zabbix5/include/classes/mvc/CView.php(122): include()"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#1 /usr/local/www/zabbix5/include/classes/core/ZBase.php(574): CView->getOutput()"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#2 /usr/local/www/zabbix5/include/classes/core/ZBase.php(492): ZBase->processResponseFinal(Object(CRouter), Object(CControllerWidgetProblemsView))"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#3 /usr/local/www/zabbix5/include/classes/core/ZBase.php(198): ZBase->processRequest(Object(CRouter))"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#4 /usr/local/www/zabbix5/include/config.inc.php(25): ZBase->run('default')"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#5 /usr/local/www/zabbix5/zabbix.php(21): require_once('/usr/local/www/...')"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "#6 {main}"
[09-May-2021 00:58:54] WARNING: [pool zabbix] child 3166 said into stderr: "  thrown in /usr/local/www/zabbix5/app/views/monitoring.widget.problems.view.php on line 187"

# pkg install zabbix5-frontend-5.0.11
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	zabbix5-frontend: 5.0.11

Number of packages to be installed: 1

The process will require 41 MiB more space.

Proceed with this action? [y/N]: y
[1/1] Installing zabbix5-frontend-5.0.11...
[1/1] Extracting zabbix5-frontend-5.0.11: 100%

# ls /usr/local/www/zabbix5/app/controllers/CControllerHintBox.php
ls: /usr/local/www/zabbix5/app/controllers/CControllerHintBox.php: No such file or directory

# ls /usr/local/www/zabbix5/app/views/hint.box.php
ls: /usr/local/www/zabbix5/app/views/hint.box.php: No such file or directory

# ls /usr/local/www/zabbix5/include/classes/helpers/CHintBoxHelper.php
ls: /usr/local/www/zabbix5/include/classes/helpers/CHintBoxHelper.php: No such file or directory
Comment 1 Ian Chard 2021-06-24 13:56:28 UTC
Same here, and still a problem with zabbix5-frontend-5.0.12.  I grabbed the files from the Zabbix github repo and dropped them in place, and things started working again.