I am trying the manual installation via a shared host and get the error "Whoops, looks like something went wrong". This is the output after enabling APP_DEBUG.
Log
[14:53:13] LOG.error: ErrorException: Trying to access array offset on value of type int in /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Input/ArrayInput.php:135
Stack trace:
#0 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Input/ArrayInput.php(135): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Input/Input.php(62): Symfony\Component\Console\Input\ArrayInput->parse()
#2 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Command/Command.php(221): Symfony\Component\Console\Input\Input->bind()
#3 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Command.php(155): Symfony\Component\Console\Command\Command->run()
#4 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Application.php(794): Illuminate\Console\Command->run()
#5 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand()
#6 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun()
#7 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Console/Application.php(64): Symfony\Component\Console\Application->run()
#8 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(170): Illuminate\Console\Application->call()
#9 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(6385): Illuminate\Foundation\Console\Kernel->call()
#10 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/app/Http/Controllers/AppController.php(124): Illuminate\Support\Facades\Facade::__callStatic()
#11 [internal function]: App\Http\Controllers\AppController->doSetup()
#12 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(9482): call_user_func_array()
#13 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(9544): Illuminate\Routing\Controller->callAction()
#14 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(9524): Illuminate\Routing\ControllerDispatcher->call()
#15 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}()
#16 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func()
#17 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#18 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10006): call_user_func()
#19 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(9525): Illuminate\Pipeline\Pipeline->then()
#20 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(9512): Illuminate\Routing\ControllerDispatcher->callWithinStack()
#21 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(8582): Illuminate\Routing\ControllerDispatcher->dispatch()
#22 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(8569): Illuminate\Routing\Route->runController()
#23 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(8283): Illuminate\Routing\Route->run()
#24 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}()
#25 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func()
#26 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#27 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10006): call_user_func()
#28 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(8284): Illuminate\Pipeline\Pipeline->then()
#29 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(8275): Illuminate\Routing\Router->runRouteWithinStack()
#30 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(8265): Illuminate\Routing\Router->dispatchToRoute()
#31 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(2419): Illuminate\Routing\Router->dispatch()
#32 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#33 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func()
#34 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/barryvdh/laravel-debugbar/src/Middleware/Debugbar.php(51): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#35 [internal function]: Barryvdh\Debugbar\Middleware\Debugbar->handle()
#36 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#37 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#38 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#39 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/app/Http/Middleware/StartupCheck.php(47): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#40 [internal function]: App\Http\Middleware\StartupCheck->handle()
#41 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#42 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#43 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#44 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/app/Http/Middleware/QueryLogging.php(29): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#45 [internal function]: App\Http\Middleware\QueryLogging->handle()
#46 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#47 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#48 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#49 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/app/Http/Middleware/DuplicateSubmissionCheck.php(36): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#50 [internal function]: App\Http\Middleware\DuplicateSubmissionCheck->handle()
#51 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#52 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#53 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#54 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(3225): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#55 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/app/Http/Middleware/VerifyCsrfToken.php(42): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#56 [internal function]: App\Http\Middleware\VerifyCsrfToken->handle()
#57 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#58 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#59 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#60 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(13532): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#61 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#62 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#63 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#64 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#65 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(12022): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#66 [internal function]: Illuminate\Session\Middleware\StartSession->handle()
#67 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#68 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#69 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#70 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(13271): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#71 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#72 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#73 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#74 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#75 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(13208): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#76 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle()
#77 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#78 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#79 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#80 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(3286): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#81 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
#82 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10021): call_user_func_array()
#83 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#84 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func()
#85 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}()
#86 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(10006): call_user_func()
#87 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(2366): Illuminate\Pipeline\Pipeline->then()
#88 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/bootstrap/cache/compiled.php(2350): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#89 /mnt/web521/a2/54/510927254/htdocs/invoiceninja/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle()
#90 {main}
Are you trying to install version 4 or version 5?
If version 4, you will need to downgrade your PHP version to PHP7.3
I used (what I assumed to be the latest) version from here: https://www.invoiceninja.com/self-host/, which seems to be v3.
I considered using the github source but I am not sure if I am able to install/use composer in my shared hosting environment.
The direct link to the latest stable version of invoice ninja (4.5.21) can be found here https://download.invoiceninja.com
You'll also need to downgrade your version of PHP from 7.4 to 7.3
This worked, thank you! 馃檹馃徏
For some weird reason I was having issues first, and I tried enabling debug mode again and suddenly it worked. Might be due to my hoster though, I had a 500 error once too.
Most helpful comment
This worked, thank you! 馃檹馃徏
For some weird reason I was having issues first, and I tried enabling debug mode again and suddenly it worked. Might be due to my hoster though, I had a 500 error once too.