Skip to content

server-bootstrap.php PHP Fatal error #187

@nichedevelopment

Description

@nichedevelopment

Setting up a new server, and have never installed or used pakiti3 before. When following the install instructions in pakiti-server v3.1.1, after running 'php initDB.php' successfully, I then ran 'server-bootstrap.php' script and the result is a PHP Fatal error, which in turn leaves the VDS's having only RHEL 6, 7, 8, Debian Security and Debian LTS Security with 3549, 4181, 3278, 0 and 0 CVEs respectively (no CVEs for either Debian VDS). The output of the script when run is:

Added vulnerability descriptions for RHEL 6.
Added vulnerability descriptions for RHEL 7.
Added vulnerability descriptions for RHEL 8.
Added vulnerability descriptions for Debian Security.
Added vulnerability descriptions for Debian LTS Security.
Downloading all vulnerability definitions (be patient) ...PHP Fatal error: Uncaught Error: Access to undeclared static property: Config::$DEBIAN_IGNORED_VERSIONS in /var/www/pakiti-server/src/modules/vds/sources/CveSubSources/Debian.php:212
Stack trace:
#0 /var/www/pakiti-server/src/modules/vds/lib/SubSource.php(223): Debian->processAdvisories()
#1 /var/www/pakiti-server/src/modules/vds/sources/CveSource.php(47): SubSource->retrieveVulnerabilities()
#2 /var/www/pakiti-server/src/modules/vds/VdsModule.php(30): CveSource->retrieveVulnerabilities()
#3 /var/www/pakiti-server/install/server-bootstrap.php(85): VdsModule->synchronize()
#4 {main}
thrown in /var/www/pakiti-server/src/modules/vds/sources/CveSubSources/Debian.php on line 212

I'm installing pakiti-server on a Debian 11.7 server with all required packages installed, and using PHP 7.4. Any assistance in resolving this issue would be greatly appreciated, as we are moving away from our Red Hat Satellite and CentOS Spacewalk repositories for our Linux servers as we migrate to Debian.

Thanks!
David

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