By Josh Donner
I went through the set up for the install in the console, but it fails with the following:
Completing the configuration of WordPress.Success: WordPress installed successfully.
Installing WP fail2ban – Advanced Security Plugin (4.3.0.9)
Downloading installation package from https://downloads.wordpress.org/plugin/wp-fail2ban.4.3.0.9.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Success: Installed 1 of 1 plugins.
PHP Warning: require(/var/www/html/wp-includes/global-styles-and-settings.php): Failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 176
Warning: require(/var/www/html/wp-includes/global-styles-and-settings.php): Failed to open stream: No such file or directory in /var/www/html/wp-settings.php on line 176
PHP Fatal error: Uncaught Error: Failed opening required '/var/www/html/wp-includes/global-styles-and-settings.php' (include_path='.:/usr/share/php') in /var/www/html/wp-settings.php:176
Stack trace:
#0 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require()
#1 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress()
#2 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#3 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
#4 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#5 phar:///usr/bin/wp/php/boot-phar.php(11): include('...')
#6 /usr/bin/wp(4): include('...')
#7 {main}
thrown in /var/www/html/wp-settings.php on line 176
Fatal error: Uncaught Error: Failed opening required '/var/www/html/wp-includes/global-styles-and-settings.php' (include_path='.:/usr/share/php') in /var/www/html/wp-settings.php:176
Stack trace:
#0 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1317): require()
#1 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1235): WP_CLI\Runner->load_wordpress()
#2 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
#3 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
#4 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
#5 phar:///usr/bin/wp/php/boot-phar.php(11): include('...')
#6 /usr/bin/wp(4): include('...')
#7 {main}
thrown in /var/www/html/wp-settings.php on line 176
Error: There has been a critical error on this website.Learn more about troubleshooting WordPress. There has been a critical error on this website.
Installation complete. Access your new WordPress site in a browser to continue.
I am unable to access the website.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there,
I believe that this should be fixed already, what you could do is create a new Droplet and it will work out of the box.
Let me know how it goes!
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.