Error 500 on fresh install: View [index] not found SplashController.php
Hi, i’m trying to install Dreamfactory, I’ve done all the steps without errors but when I try to launch the software I get this error
View [index] not found on SplashController.php line 53
`InvalidArgumentException: View [index] not found.
at /home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137 at Illuminate\View\FileViewFinder->findInPaths() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:79) at Illuminate\View\FileViewFinder->find() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/View/Factory.php:137) at Illuminate\View\Factory->make() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:1035) at view() (/home/treebe_geo/apps/treebe_dreamfactory/project/app/Http/Controllers/SplashController.php:23) at DreamFactory\Http\Controllers\SplashController->index() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54) at Illuminate\Routing\Controller->callAction() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43) at Illuminate\Routing\ControllerDispatcher->dispatch() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php:259) at Illuminate\Routing\Route->runController() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205) at Illuminate\Routing\Route->run() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php:798) at Illuminate\Routing\Router->Illuminate\Routing{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50) at Illuminate\Routing\Middleware\SubstituteBindings->handle() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37) at Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/dreamfactory/df-core/src/Http/Middleware/FirstUserCheck.php:42) at DreamFactory\Core\Http\Middleware\FirstUserCheck->handle() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php:797) at Illuminate\Routing\Router->runRouteWithinStack() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php:776) at Illuminate\Routing\Router->runRoute() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php:740) at Illuminate\Routing\Router->dispatchToRoute() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Routing/Router.php:729) at Illuminate\Routing\Router->dispatch() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:190) at Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:141) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27) at Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:86) at Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180) at Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:116) at Illuminate\Pipeline\Pipeline->then() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:165) at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() (/home/treebe_geo/apps/treebe_dreamfactory/project/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:134) at Illuminate\Foundation\Http\Kernel->handle() (/home/treebe_geo/apps/treebe_dreamfactory/project/public/index.php:54)`
Hello,
Can you share what OS you are installing DreamFactory on, and what action you're taking when you say "launch the software"? Can't say I am overly familiar with this specific error, and the file paths in the trace are atypical.
Hi, I am using dreamfactory with nginx on a shared opalstack server. It supports Laravel applications. I followed these steps:
-
Create a new Laravel app at https://my.opalstack.com/apps/.
-
Assign the new app to a website at https://my.opalstack.com/domains/.
-
Create a PostgreSQL database
-
SSH to my Laravel app's shell user and run the following commands:
-
source scl_source enable php83
-
cd ~/apps/treebe_dreamfactory
-
rm -rf project
-
git clone https://github.com/dreamfactorysoftware/dreamfactory.git ./project
-
cd project
-
composer install --no-dev --ignore-platform-reqs
-
php artisan df:env
-
php artisan df:setup
When I try to connect from the browser I get error 500...
same error with docker installation, -branch 7.0.0 the error shows after successfully create the admin account for the first run
[2025-02-21T15:44:55.466873+00:00] local.ERROR: View [index] not found. {"exception":"[object] (InvalidArgumentException(code: 0): View [index] not found. at /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137)"}
==================
after looking into the codes:
- SplashController.php#index has different codes in 7.0.0 and master branch, although 7.0.0 is the latest branch released two weeks ago and no changes afterwards.
- try to use the main branch, the error has gone, but with a new error: $version is not defined in firstuser.blade.php
- try to remove the $version line in that file, it sticks at the setup page after pressing the "create" button
- ……