server
server copied to clipboard
[BUG]: v1.0.0-rc1 Docker backend fails: missing src/dba/Group.php
Version Information
rc1
Hashcat
rc1
Description
Summary
hashtopolis/backend:v1.0.0-rc1 fails during startup because src/dba/init.php still requires Group.php and GroupFilter.php, but both files are missing from the rc1 tree.
Environment
- Docker image:
hashtopolis/backend:v1.0.0-rc1 - Frontend image:
hashtopolis/frontend:v1.0.0-rc1 - Database: MySQL 8.4
- Host OS: Ubuntu 24.04.4 LTS
Error
PHP Warning: require_once(/var/www/html/src/dba/Group.php): Failed to open stream: No such file or directory
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/src/dba/Group.php'
Hashtopolis setup.php failed (exit code 255)
**Root Cause Observed
The tag v1.0.0-rc1 points to commit 13cfac1.
In that version, src/dba/init.php contains:**
But src/dba/Group.php and src/dba/GroupFilter.php are not present in the tree.
It looks related to commit 38c332c, which removed those files and also removed the Factory::GROUP logic, but the includes remained in init.php.
Local Workaround Tested
I built a local derivative image from hashtopolis/backend:v1.0.0-rc1 with only this change:
After that, the backend started successfully.
Suggested Fix
Remove these two obsolete includes from src/dba/init.php:
require_once(dirname(__FILE__) . "/Group.php");
require_once(dirname(__FILE__) . "/GroupFilter.php");
Thanks for this issue, the legacy includes are now removed and the fix is merged into the dev branch.