Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server-bootstrap.php PHP Fatal error #187

Open
nichedevelopment opened this issue Jun 14, 2023 · 1 comment
Open

server-bootstrap.php PHP Fatal error #187

nichedevelopment opened this issue Jun 14, 2023 · 1 comment

Comments

@nichedevelopment
Copy link

nichedevelopment commented Jun 14, 2023

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

@aurelienlaurendon
Copy link

I have the same problem with an install in Ubuntun 24.04 LTS.
Did you solve this ?
Regards,
Aurélien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants