Oops! Ocorreu um erro!

Olá comunidade!
Configurei o IEducar v. 2.2.17, para realizar upload de arquivos (imagens e pdf). O serviço utilizado é o Minio. Verifiquei que os arquivos estão sendo enviados corretamente porém, as páginas de cadastro deixam de ser exibidas a partir de então e, no lugar das mesmas o sistema ‘printa’ a página “500 - Oops! Ocorreu um erro!”
Os testes realizados retornaram essa mesma situação com as páginas de cadastro de pessoa física e cadastro de alunos.
S.O. Ubuntu 18.04 para o Ieducar e, Ubunto 16.04 para o Postgresql 9.5
Desde já agradeço pela ajuda.

Oi @Ertonilson! Tens como postar o log que fica na pasta storage/logs?

Sim @tiago.camargo. Aí vai.

[2020-02-02 11:05:52] production.ERROR: Error retrieving credentials from the instance profile metadata server. (cURL error 7: (see https://curl.haxx.se/libcurl/c/lib$
[stacktrace]
#0 /var/www/ieducar/vendor/aws/aws-sdk-php/src/Credentials/InstanceProfileProvider.php(132): Aws\Credentials\InstanceProfileProvider->handleRetryableException(Object$
#1 [internal function]: Aws\Credentials\InstanceProfileProvider->Aws\Credentials\{closure}()
#2 /var/www/ieducar/vendor/guzzlehttp/promises/src/Coroutine.php(142): Generator->throw(Object(GuzzleHttp\Exception\ConnectException))
#3 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Promise\Coroutine->_handleFailure(Object(GuzzleHttp\Exception\ConnectException))
#4 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(2, Object(GuzzleHttp\Exception\ConnectException), Arra$
#5 /var/www/ieducar/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#6 /var/www/ieducar/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(118): GuzzleHttp\Promise\TaskQueue->run()
#7 /var/www/ieducar/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php(145): GuzzleHttp\Handler\CurlMultiHandler->tick()
#8 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Handler\CurlMultiHandler->execute(true)
#9 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#10 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#11 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#12 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#13 /var/www/ieducar/vendor/guzzlehttp/promises/src/Coroutine.php(65): GuzzleHttp\Promise\Promise->wait()
#14 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\Coroutine->GuzzleHttp\Promise\{closure}(true)
#15 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#16 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#17 /var/www/ieducar/vendor/guzzlehttp/promises/src/Coroutine.php(85): GuzzleHttp\Promise\Promise->wait(false)
#18 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(273): GuzzleHttp\Promise\Coroutine->wait(false)
#19 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#20 /var/www/ieducar/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#21 /var/www/ieducar/vendor/aws/aws-sdk-php/src/S3/S3Client.php(431): GuzzleHttp\Promise\Promise->wait()
#22 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php(561): Aws\S3\S3Client->createPresignedRequest(Object(Aws\Command), Obj$
#23 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php(534): Illuminate\Filesystem\FilesystemAdapter->getAwsTemporaryUrl(Objec$
#24 /var/www/ieducar/app/Services/S3UrlPresigner.php(17): Illuminate\Filesystem\FilesystemAdapter->temporaryUrl(‘anexos/ieducar/…’, Object(Carbon\Carbon))
#25 /var/www/ieducar/app/Services/UrlPresigner.php(13): App\Services\S3UrlPresigner->getPresignedUrl(‘http://192.168…’)
#26 /var/www/ieducar/ieducar/intranet/atendidos_det.php(68): App\Services\UrlPresigner->getPresignedUrl(‘http://192.168…’)
#27 /var/www/ieducar/ieducar/intranet/include/clsDetalhe.inc.php(53): indice->Gerar()
#28 /var/www/ieducar/ieducar/intranet/include/clsBase.inc.php(75): clsDetalhe->RenderHTML()
#29 /var/www/ieducar/ieducar/intranet/include/clsBase.inc.php(142): clsBase->MakeBody()
#30 /var/www/ieducar/ieducar/intranet/atendidos_det.php(191): clsBase->MakeAll()
#31 /var/www/ieducar/app/Http/Controllers/LegacyController.php(96): require(’/var/www/ieduca…’)
#32 /var/www/ieducar/app/Http/Controllers/LegacyController.php(81): App\Http\Controllers\LegacyController->loadFileOrAbort(’/var/www/ieduca…’)
#33 /var/www/ieducar/app/Http/Controllers/LegacyController.php(196): App\Http\Controllers\LegacyController->loadLegacyFile(‘intranet/atendi…’)
#34 /var/www/ieducar/app/Http/Controllers/LegacyController.php(234): App\Http\Controllers\LegacyController->requireFileFromLegacy(‘intranet/atendi…’)
#35 [internal function]: App\Http\Controllers\LegacyController->intranet(‘atendidos_det.p…’)
#36 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): call_user_func_array(Array, Array)
#37 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction(‘intranet’, Array)
#38 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Route.php(219): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Ro$
#39 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Route.php(176): Illuminate\Routing\Route->runController()
#40 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Router.php(680): Illuminate\Routing\Route->run()
#41 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\H$
#42 /var/www/ieducar/app/Http/Middleware/Suspended.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#43 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\Suspended->handle(Object(Illuminate\Http\Request), Ob$
#44 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#45 /var/www/ieducar/app/Http/Middleware/XssByPass.php(18): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#45 /var/www/ieducar/app/Http/Middleware/XssByPass.php(18): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#46 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\XssByPass->handle(Object(Illuminate\Http\Request), Ob$
#47 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#48 /var/www/ieducar/app/Http/Middleware/Footer.php(24): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#49 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\Footer->handle(Object(Illuminate\Http\Request), Objec$
#50 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#51 /var/www/ieducar/app/Http/Middleware/Navigation.php(24): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#52 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\Navigation->handle(Object(Illuminate\Http\Request), O$
#53 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#54 /var/www/ieducar/app/Http/Middleware/SetLayoutVariables.php(25): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#55 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\SetLayoutVariables->handle(Object(Illuminate\Http\Req$
#56 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#57 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\Routing\Pipeline->Illuminate\Routing\{closur$
#58 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate$
#59 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#60 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object$
#61 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Re$
#62 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#63 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closu$
#64 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate$
#65 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#66 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(56): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Obj$
#67 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http$
#68 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#69 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\ #70 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illu
#71 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#72 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminat$
#73 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Router.php(682): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#74 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Router.php(657): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Rout$
#75 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Router.php(623): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(I$
#76 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Router.php(612): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#77 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#78 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Ob$
#79 /var/www/ieducar/app/Http/Middleware/LoadSettings.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#80 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\LoadSettings->handle(Object(Illuminate\Http\Request), #81 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminat
#82 /var/www/ieducar/app/Http/Middleware/ConnectTenantDatabase.php(35): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#83 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\ConnectTenantDatabase->handle(Object(Illuminate\Http\ #84 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminat
#85 /var/www/ieducar/app/Http/Middleware/ChangeAppName.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#86 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): App\Http\Middleware\ChangeAppName->handle(Object(Illuminate\Http\Request) #87 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminat
#88 /var/www/ieducar/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#89 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Obje$
#90 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#91 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Routing\Pipeline->Illuminate\Routing\ #92 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Ill
#93 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#94 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Routing\Pipeline->Illuminate\Routing\ #95 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Ill
#96 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#97 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{ #98 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illu
#99 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminat$
#100 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62): Illuminate\Routing\Pipeline->Illuminate\Ro$
#101 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Obj$
#102 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illumina$
#103 /var/www/ieducar/vendor/barryvdh/laravel-cors/src/HandlePreflight.php(29): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\ #104 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163): Barryvdh\\Cors\\HandlePreflight->handle(Object(Illuminate\\Http\\Request), Ob
#105 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illumina$
#106 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illumina$
#107 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#108 /var/www/ieducar/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Il$
#109 /var/www/ieducar/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#110 {main}


PS
Importante frisar que esse texto do log é reenviado a cada tentativa de acesso às páginas citadas.

Você chegou a validar se a configuração do .env está correta?

Sim. Todos os arquivos foram descarregados corretamente no bucket do Minio.