-
Notifications
You must be signed in to change notification settings - Fork 824
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
error installing 4.0.0-beta1 #7124
Comments
This is caused by a regression in what was findOrCreateAnAdministrator (now findOrCreateDefaultAdmin). Since this code actually creates the default admin (as it doesn't yet exist) it will fail. I suggest to re-implement the prior logic in a separate api (one which explicitly creates a new admin and assigns it the necessary permissions) but isn't locked to a default admin. Essentially this method should be refactored out of silverstripe-framework/src/Security/DefaultAdminService.php Lines 146 to 168 in 9552527
|
I think I can imagine how this slipped past testing; A test environment with a pre-existing default admin setup (via |
Fix at #7136 |
@flamerohr @tractorcow The issue still happening, probably because Composer repository keeps offering beta1. |
You can change the If you get stuck please post your It should look like the below: https://github.com/silverstripe/silverstripe-installer/blob/4/composer.json |
@tractorcow Thanks for your reply. |
Thanks for that bug report, I'll address this pretty soon. :) |
I have installed 4.0.0-beta1 via composer create-project silverstripe/installer ./ 4.0.0-beta1
When I try and install SilverStripe using install.php I am receiving the following error after entering database details and admin credentials
The text was updated successfully, but these errors were encountered: