Upgrading from 2.1.2 to 2.2.1


#1

Hi, i’ve upgraded my app hosted on my own server under a postgresql database using the following commands of this page:

http://wiki.dreamfactory.com/DreamFactory/Upgrades

Nothing went wrong on the logfile, i even read that my personnal service created before had been processed:

Scanning database for old sql_db service type…
|--------------------------------------------------------------------

Service ID: 8 New Config: {“port”:“5432”,“host”:“172.16.2.243”,“database”:“test_ccsm_66_ep”,“charset”:“utf8”,“username”:“eyJpdiI6IktYTEczaUpGY1MxUlJmYjM5RENNS3c9PSIsInZhbHVlIjoiZFVmV25tYVwvMG9KYVNhNDZrOTdCZmhPbGFDVkxwblE4UGRjanJsY1N0TnM9IiwibWFjIjoiNzM5M2RlMmFjOTc3NGUwMGM2MDQ1NDZkZGU1MDQ3M2ZjNmIxOWVjODEwYWFmYmIxYjdiMjNjZTkyNzdlZjI5ZSJ9”,“password”:“eyJpdiI6InJyblF6NlZDZzRzSTU0ditURlZ6RWc9PSIsInZhbHVlIjoiYzRCQ0RVNmxBS0lQTFpmQjhpNTNnZz09IiwibWFjIjoiN2ZiZGYzMmIwMTI2MGQ2NWEwOGU0ZWQ3OGExNzNkOGJiNTlmNjUzMjU1YWE1OTBiOTRlM2I1ZjY5NjJjMDdjOSJ9”}

Now my “Services” panel tells me: “You have no Services!”

Any idea?


#2

@Nico_Dv
after the upgrade you’ve cleared the cache and reset the DF application?


#3

Hi Paulo,

I have done a “php artisan cache:clear” and then i have restarted my apache server…
What do you mean by “resetting the DF application”?


#4

i’m sorry, i meant restart Dreamfactory application


#5

The problem happens only with services though my services are still in the database.
Firebug tells me there is an error with the method getApiData(…):

Error: b.getApiData(…) is undefined

it seems it is related to angularjs…


#6

which form of installation you used?


#7

It is a manual installation on an ubuntu 14.04.
I ve used the following tutorial to upgrade: http://wiki.dreamfactory.com/DreamFactory/Upgrades


#8

up a print this error


#9

I get a “Error: c.getApiData(…) is undefined” when i click on "Home"panel.

I get a “Error: a.services is undefined” when reaching the “Roles panel” (cannot add a role: maybe because it doesnt find any service )

I get a “Error: b.getApiData(…) is undefined” when reaching the “Services panel” (cannot add a Service: “Error: c.saveApiData(…) is undefined”)


#10

when logging into the app requests tab and take the mistakes of the request, in order to debug better


#11

Here are the errors i get when logging in:

The last error refers to a code 500 with the following message: “The MAC is invalid”.


#12

@Nico_Dv
This error seems to be linked to some env DF, I think some migration did not run.
try running this command

php artisan dreamfactory:service-type-migrate

clear your cache and restart the server again.


#13

Additionally, you can get better error reporting by doing a GET on system/environment and system/service, using API Docs or some other REST client. This may lead you to better information for troubleshooting.


#14

Hi and thanks again for trying to resolve my problem.
I m still facing the same issue even after a “dreamfactory:service-type-migrate” + “cache:clear” + apache restart.

My get on /system/service:

{“error”:{“context”:null,“message”:“Bad request. No token or api key provided.”,“code”:400,“trace”:[“0 [internal function]: DreamFactory\Http\Middleware\AccessCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,“1 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“2 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“3 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“4 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“5 /opt/dreamfactory/bootstrap/cache/compiled.php(9612): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“6 /opt/dreamfactory/bootstrap/cache/compiled.php(9136): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,“7 /opt/dreamfactory/bootstrap/cache/compiled.php(9123): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(DreamFactory\Http\Controllers\RestController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘handleGET’)”,“8 /opt/dreamfactory/bootstrap/cache/compiled.php(8191): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘DreamFactory\Ht…’, ‘handleGET’)”,“9 /opt/dreamfactory/bootstrap/cache/compiled.php(8178): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request))”,“10 /opt/dreamfactory/bootstrap/cache/compiled.php(7892): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))”,“11 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“12 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“13 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“14 /opt/dreamfactory/bootstrap/cache/compiled.php(9612): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“15 /opt/dreamfactory/bootstrap/cache/compiled.php(7893): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,“16 /opt/dreamfactory/bootstrap/cache/compiled.php(7884): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))”,“17 /opt/dreamfactory/bootstrap/cache/compiled.php(7874): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))”,“18 /opt/dreamfactory/bootstrap/cache/compiled.php(2416): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))”,“19 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))”,“20 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“21 /opt/dreamfactory/app/Http/Middleware/AuthCheck.php(178): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“22 [internal function]: DreamFactory\Http\Middleware\AuthCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,“23 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“24 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“25 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“26 /opt/dreamfactory/vendor/barryvdh/laravel-cors/src/HandleCors.php(34): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“27 [internal function]: Barryvdh\Cors\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))”,“28 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“29 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“30 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“31 /opt/dreamfactory/bootstrap/cache/compiled.php(17306): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“32 [internal function]: DreamFactory\Http\Middleware\FirstUserCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,“33 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“34 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“35 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“36 /opt/dreamfactory/bootstrap/cache/compiled.php(13076): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“37 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))”,“38 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“39 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“40 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“41 /opt/dreamfactory/bootstrap/cache/compiled.php(11622): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“42 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))”,“43 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“44 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“45 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“46 /opt/dreamfactory/bootstrap/cache/compiled.php(12815): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“47 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))”,“48 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“49 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“50 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“51 /opt/dreamfactory/bootstrap/cache/compiled.php(12752): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“52 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))”,“53 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“54 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“55 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“56 /opt/dreamfactory/bootstrap/cache/compiled.php(3271): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“57 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))”,“58 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,“59 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,“60 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“61 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,“62 /opt/dreamfactory/bootstrap/cache/compiled.php(9612): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,“63 /opt/dreamfactory/bootstrap/cache/compiled.php(2363): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,“64 /opt/dreamfactory/bootstrap/cache/compiled.php(2347): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))”,“65 /opt/dreamfactory/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))”,“66 {main}”]}}


#15

Sorry, I made some assumptions in my instructions. You will need to make those API calls authenticated with an admin account. You can use http basic auth for this.
Otherwise you’ll just get the above error telling you didn’t provide a token or key.


#16

Hi, sorry i m back again.
Here is the error when requesting on /system/service:

{
“error”: {
“context”: null,
“message”: “The MAC is invalid.”,
“code”: 500,
“trace”: [
“0 /opt/dreamfactory/bootstrap/cache/compiled.php(12896): Illuminate\Encryption\BaseEncrypter->getJsonPayload(‘eyJpdiI6IktYTEc…’)”,
“1 /opt/dreamfactory/bootstrap/cache/compiled.php(6380): Illuminate\Encryption\Encrypter->decrypt(‘eyJpdiI6IktYTEc…’)”,
“2 /opt/dreamfactory/vendor/dreamfactory/df-sqldb/src/Models/SqlDbConfig.php(234): Illuminate\Support\Facades\Facade::__callStatic(‘decrypt’, Array)”,
“3 /opt/dreamfactory/vendor/dreamfactory/df-sqldb/src/Models/SqlDbConfig.php(234): Illuminate\Support\Facades\Crypt::decrypt(‘eyJpdiI6IktYTEc…’)”,
“4 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Models/Service.php(223): DreamFactory\Core\SqlDb\Models\SqlDbConfig::getConfig(8)”,
“5 /opt/dreamfactory/bootstrap/cache/compiled.php(10988): DreamFactory\Core\Models\Service->getConfigAttribute(NULL)”,
“6 /opt/dreamfactory/bootstrap/cache/compiled.php(10992): Illuminate\Database\Eloquent\Model->mutateAttribute(‘config’, NULL)”,
“7 /opt/dreamfactory/bootstrap/cache/compiled.php(10892): Illuminate\Database\Eloquent\Model->mutateAttributeForArray(‘config’, NULL)”,
“8 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Models/BaseModel.php(1169): Illuminate\Database\Eloquent\Model->attributesToArray()”,
“9 /opt/dreamfactory/bootstrap/cache/compiled.php(10863): DreamFactory\Core\Models\BaseModel->attributesToArray()”,
“10 /opt/dreamfactory/bootstrap/cache/compiled.php(12595): Illuminate\Database\Eloquent\Model->toArray()”,
“11 [internal function]: Illuminate\Support\Collection->Illuminate\Support\{closure}(Object(DreamFactory\Core\Models\Service))”,
“12 /opt/dreamfactory/bootstrap/cache/compiled.php(12596): array_map(Object(Closure), Array)”,
“13 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Models/BaseModel.php(862): Illuminate\Support\Collection->toArray()”,
“14 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Models/BaseSystemModel.php(56): DreamFactory\Core\Models\BaseModel::selectByRequest(Array, Array)”,
“15 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Resources/System/BaseSystemResource.php(163): DreamFactory\Core\Models\BaseSystemModel::selectByRequest(Array, Array)”,
“16 [internal function]: DreamFactory\Core\Resources\System\BaseSystemResource->handleGET()”,
“17 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Components/RestHandler.php(267): call_user_func(Array)”,
“18 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Components/RestHandler.php(173): DreamFactory\Core\Components\RestHandler->processRequest()”,
“19 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Components/RestHandler.php(220): DreamFactory\Core\Components\RestHandler->handleRequest(Object(DreamFactory\Core\Utility\ServiceRequest), ‘’)”,
“20 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Components/RestHandler.php(168): DreamFactory\Core\Components\RestHandler->handleResource(Array)”,
“21 /opt/dreamfactory/vendor/dreamfactory/df-core/src/Services/BaseRestService.php(74): DreamFactory\Core\Components\RestHandler->handleRequest(Object(DreamFactory\Core\Utility\ServiceRequest), ‘service’)”,
“22 /opt/dreamfactory/bootstrap/cache/compiled.php(17036): DreamFactory\Core\Services\BaseRestService->handleRequest(Object(DreamFactory\Core\Utility\ServiceRequest), ‘service’)”,
“23 /opt/dreamfactory/bootstrap/cache/compiled.php(16997): DreamFactory\Http\Controllers\RestController->handleService(‘v2’, ‘system’, ‘service’)”,
“24 [internal function]: DreamFactory\Http\Controllers\RestController->handleGET(‘v2’, ‘system’, ‘service’)”,
“25 /opt/dreamfactory/bootstrap/cache/compiled.php(9093): call_user_func_array(Array, Array)”,
“26 /opt/dreamfactory/bootstrap/cache/compiled.php(9155): Illuminate\Routing\Controller->callAction(‘handleGET’, Array)”,
“27 /opt/dreamfactory/bootstrap/cache/compiled.php(9135): Illuminate\Routing\ControllerDispatcher->call(Object(DreamFactory\Http\Controllers\RestController), Object(Illuminate\Routing\Route), ‘handleGET’)”,
“28 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“29 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“30 /opt/dreamfactory/bootstrap/cache/compiled.php(17209): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“31 [internal function]: DreamFactory\Http\Middleware\AccessCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“32 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“33 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“34 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“35 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“36 /opt/dreamfactory/bootstrap/cache/compiled.php(9612): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“37 /opt/dreamfactory/bootstrap/cache/compiled.php(9136): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,
“38 /opt/dreamfactory/bootstrap/cache/compiled.php(9123): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(DreamFactory\Http\Controllers\RestController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘handleGET’)”,
“39 /opt/dreamfactory/bootstrap/cache/compiled.php(8191): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), ‘DreamFactory\Ht…’, ‘handleGET’)”,
“40 /opt/dreamfactory/bootstrap/cache/compiled.php(8178): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request))”,
“41 /opt/dreamfactory/bootstrap/cache/compiled.php(7892): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))”,
“42 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“43 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“44 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“45 /opt/dreamfactory/bootstrap/cache/compiled.php(9612): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“46 /opt/dreamfactory/bootstrap/cache/compiled.php(7893): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,
“47 /opt/dreamfactory/bootstrap/cache/compiled.php(7884): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))”,
“48 /opt/dreamfactory/bootstrap/cache/compiled.php(7874): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))”,
“49 /opt/dreamfactory/bootstrap/cache/compiled.php(2416): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))”,
“50 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))”,
“51 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“52 /opt/dreamfactory/app/Http/Middleware/AuthCheck.php(178): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“53 [internal function]: DreamFactory\Http\Middleware\AuthCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“54 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“55 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“56 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“57 /opt/dreamfactory/vendor/barryvdh/laravel-cors/src/HandleCors.php(34): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“58 [internal function]: Barryvdh\Cors\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“59 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“60 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“61 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“62 /opt/dreamfactory/bootstrap/cache/compiled.php(17306): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“63 [internal function]: DreamFactory\Http\Middleware\FirstUserCheck->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“64 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“65 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“66 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“67 /opt/dreamfactory/bootstrap/cache/compiled.php(13076): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“68 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“69 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“70 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“71 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“72 /opt/dreamfactory/bootstrap/cache/compiled.php(11622): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“73 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“74 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“75 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“76 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“77 /opt/dreamfactory/bootstrap/cache/compiled.php(12815): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“78 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“79 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“80 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“81 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“82 /opt/dreamfactory/bootstrap/cache/compiled.php(12752): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“83 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“84 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“85 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“86 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“87 /opt/dreamfactory/bootstrap/cache/compiled.php(3271): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“88 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))”,
“89 /opt/dreamfactory/bootstrap/cache/compiled.php(9627): call_user_func_array(Array, Array)”,
“90 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))”,
“91 /opt/dreamfactory/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“92 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))”,
“93 /opt/dreamfactory/bootstrap/cache/compiled.php(9612): call_user_func(Object(Closure), Object(Illuminate\Http\Request))”,
“94 /opt/dreamfactory/bootstrap/cache/compiled.php(2363): Illuminate\Pipeline\Pipeline->then(Object(Closure))”,
“95 /opt/dreamfactory/bootstrap/cache/compiled.php(2347): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))”,
“96 /opt/dreamfactory/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))”,
“97 {main}”
]
}
}

I have no error when requesting on /system/environment


#17

Mac is invalid indicates that you app key has changed and the system cannot load information from the database that was stored with two way encryption (such as private lookups and service credentials.)

Check your backup for this file
bootstrap/cache/config.php
If it exists locate the app_key value in the file and copy it into your .env file
(/opt/dreamfactory.env APP_KEY=)

Then restart apache/nginx