V5 Install Guide - WHM

Yes.

As mentioned above I dropped all the tables BEFORE going to the setup page in anticipation of the setup creating tables.

I suggest trying a completely fresh install where you both create a new database and install the app into a new folder, this will eliminate the possibility of a cache issue.

Also I assume these logs are the web server error logs, do you see any errors in storage/logs?

@david may have some other suggestions…

Thanks.

I have done that and got the following errors:

[Wed Sep 21 18:23:49.810170 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: thrown in /home/alltbilling/public_html/vendor/symfony/polyfill-mbstring/Mbstring.php on line 635: /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.810011 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #38 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(259): Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown(): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.809891 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #37 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(235): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Illuminate\Database\QueryException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.809741 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #36 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(199): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse(Object(Illuminate\Database\QueryException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.809592 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #35 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(222): App\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Illuminate\Database\QueryException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.809446 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #34 /home/alltbilling/public_html/app/Exceptions/Handler.php(209): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Illuminate\Database\QueryException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.809323 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #33 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(366): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(Illuminate\Database\QueryException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.809160 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #32 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(449): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808989 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #31 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(543): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808839 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #30 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(615): response(): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808759 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #29 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(739): app(‘Illuminate\\Cont…’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808675 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #28 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(119): Illuminate\Foundation\Application->make(‘Illuminate\\Cont…’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808565 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #27 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(845): Illuminate\Container\Container->make(‘Illuminate\\Cont…’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808454 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #26 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(692): Illuminate\Foundation\Application->resolve(‘Illuminate\\Cont…’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808341 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #25 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(860): Illuminate\Container\Container->resolve(‘Illuminate\\Cont…’, Array, true): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808225 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #24 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(756): Illuminate\Container\Container->build(Object(Closure)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.808118 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #23 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(871): Illuminate\Routing\RoutingServiceProvider->Illuminate\Routing\{closure}(Object(Illuminate\Foundation\Application), Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807973 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #22 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php(172): Illuminate\Container\Container->offsetGet(‘redirect’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807866 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #21 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(1419): Illuminate\Foundation\Application->make(‘redirect’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807766 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #20 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(845): Illuminate\Container\Container->make(‘redirect’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807662 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #19 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(692): Illuminate\Foundation\Application->resolve(‘redirect’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807557 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #18 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(860): Illuminate\Container\Container->resolve(‘redirect’, Array, true): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807447 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #17 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(756): Illuminate\Container\Container->build(Object(Closure)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807344 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #16 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(871): Illuminate\Routing\RoutingServiceProvider->Illuminate\Routing\{closure}(Object(Illuminate\Foundation\Application), Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807200 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #15 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Routing/RoutingServiceProvider.php(118): Illuminate\Container\Container->offsetGet(‘session.store’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.807085 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #14 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(1419): Illuminate\Foundation\Application->make(‘session.store’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806981 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #13 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(845): Illuminate\Container\Container->make(‘session.store’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806874 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #12 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(692): Illuminate\Foundation\Application->resolve(‘session.store’, Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806765 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #11 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(860): Illuminate\Container\Container->resolve(‘session.store’, Array, true): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806647 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #10 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(756): Illuminate\Container\Container->build(Object(Closure)): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806545 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #9 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php(871): Illuminate\Session\SessionServiceProvider->Illuminate\Session\{closure}(Object(Illuminate\Foundation\Application), Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806403 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #8 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Session/SessionServiceProvider.php(52): Illuminate\Support\Manager->driver(): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806298 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #7 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Support/Manager.php(80): Illuminate\Support\Manager->createDriver(‘file’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806204 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #6 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Support/Manager.php(102): Illuminate\Support\Str::studly(‘file’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.806114 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #5 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Support/Str.php(1099): array_map(Object(Closure), Array): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.805967 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #3 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Support/Str.php(1099): Illuminate\Support\Str::ucfirst(‘file’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.805879 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #2 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Support/Str.php(1184): Illuminate\Support\Str::substr(‘file’, 0, 1): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.805788 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #1 /home/alltbilling/public_html/vendor/laravel/framework/src/Illuminate/Support/Str.php(1114): mb_substr(‘file’, 0, 1, ‘UTF-8’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.805705 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: #0 /home/alltbilling/public_html/vendor/symfony/polyfill-mbstring/bootstrap80.php(72): Symfony\Polyfill\Mbstring\Mbstring::mb_substr(‘file’, 0, 1, ‘UTF-8’): /usr/local/cpanel/cgi-sys/ea-php81
[Wed Sep 21 18:23:49.805556 2022] [cgi:error] [pid 17684] [client 185.93.182.254:0] AH01215: PHP Fatal error: Uncaught Error: Call to undefined function iconv_substr() in /home/alltbilling/public_html/vendor/symfony/polyfill-mbstring/Mbstring.php:635: /usr/local/cpanel/cgi-sys/ea-php81

I suspect these errors are from the previous install.

I also disabled cache entirely.

This may help: wp user create fails silently · Issue #4682 · wp-cli/wp-cli · GitHub

Key part: install the PHP extension mbstring

wp user list is a WordPress component. That has nothing to do with this install.

I provisioned mbstring on the server and still get the same issue.

@david do you have any suggestions?

When a method cannot be executed, it means an extension hasn’t been loaded. I would suggest double checking by using phpinfo that it is indeed loaded.

I created that and it will not even load.

Error 500 and nothing in the Apache logs.

I’m beyond problem solving Invoice Ninja now. I am losing money so need a solution guys, sorry.

@infowhatnowebsite-co

Can you expand on exactly what you did?

The suggestion was to create a file phpinfo.php and place that in the /public directory.

Within that file add the following:

<?php

phpinfo();

then access the script http://url/phpinfo.php

Sorry David, not my first rodeo here.

I created phpinfo.php and then navigated to https://sub.domain.com/phpinfo.php and got a 500 error.

contents of phpinfo.php:

<?php phpinfo(); ?>

I have since started again, clean slate with version 4 and received a memory error so increased this and rerun the installation only to be presented with this message:

Error: app is already configured, backup then delete the .env file to re-run the setup

And if I remove the “/setup” from the URL and replace with a query string to force a reload I get the same.

Are you using a reverse proxy?

Maybe the info here will help: Selfhosting setup failing - #3 by krukoo

No.

I also have v4 self hosted running elsewhere on this server so that’s why I am so confused.

I cleared everything and unzipped 5.5.24 and followed the instructions but still get a 500 error.

Time to look elsewhere I guess.

Dissapointed to be honest.

If you want to share the details of the 500 I’m happy to try to debug.

You also may want to consider using Docker or Softaculous instead.

I’m getting closer.

I created an empty .env file and got the install page but when i got to the MySQL DB section, even though I put in the correct credentials all I get is

could not find driver

I even deleted the database and user and recreated with new credentials.

This may help: php - PDOException “could not find driver” - Stack Overflow

I think that’s already installed:

I did not get this issue with version 4 or 5.5.23.

mysqlnd was not provisioned, that seemed to fix that particular error.

1 Like