Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Database connection issues after upgrading to v.8.3.0 #1571

Closed
emarket-design opened this issue Dec 15, 2019 · 1 comment
Closed

Database connection issues after upgrading to v.8.3.0 #1571

emarket-design opened this issue Dec 15, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@emarket-design
Copy link

emarket-design commented Dec 15, 2019

After upgrading to v.8.3.0 using git pull, I started having database connection issues. My database connection details are correct, I installed mysql-client in the api container and I can connect the database.
php directus db:upgrade
There was a problem connecting to the database:

SQLSTATE[HY000] [1049] Unknown database 'emdmonapi'

'emdmonapi is NOT THE DATABASE NAME BUT THE PROJECT NAME

It is incorrectly using project name instead of the database name. The configuration file is correct in /var/www/public/api/config/ api.frontgenapi.php. I can connect to the database using the same credentials.

Thanks in advance for any hint.

Click to Show Error Log

api[frontgenapi].ERROR: Directus\Database\Exception\ItemNotFoundException: Item not found in /var/www/public/api/src/core/Directus/Services/ItemsService.php:138
Stack trace:
#0 /var/www/public/api/src/core/Directus/Services/UsersService.php(143): Directus\Services\ItemsService->findByIds
#1 /var/www/public/api/src/endpoints/Users.php(92): Directus\Services\UsersService->findByIds
#2 [internal function]: Directus\Api\Routes\Users->read
#3 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#4 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#5 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#6 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#7 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#8 [internal function]: Slim\DeferredCallable->__invoke
#9 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#10 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#11 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#12 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#13 [internal function]: Slim\DeferredCallable->__invoke
#14 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#15 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#16 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#17 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#18 [internal function]: Slim\DeferredCallable->__invoke
#19 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#20 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#21 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#22 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#23 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#24 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#25 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#26 [internal function]: Slim\DeferredCallable->__invoke
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#28 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#29 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#30 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#31 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#32 [internal function]: Slim\DeferredCallable->__invoke
#33 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#34 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#35 [internal function]: RKA\Middleware\IpAddress->__invoke
#36 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#37 [internal function]: Slim\DeferredCallable->__invoke
#38 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#39 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#40 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#41 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#42 [internal function]: Slim\DeferredCallable->__invoke
#43 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#44 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#45 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#46 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#47 [internal function]: Slim\DeferredCallable->__invoke
#48 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#49 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#50 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#51 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#52 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#53 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_users" collection was denied in /var/www/public/api/src/core/Directus/Permissions/Acl.php:988
Stack trace:
#0 /var/www/public/api/src/core/Directus/Database/TableGateway/BaseTableGateway.php(1169): Directus\Permissions\Acl->enforceReadOnce
#1 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1138): Directus\Database\TableGateway\BaseTableGateway->enforceReadPermission
#2 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1260): Directus\Database\TableGateway\RelationalTableGateway->fetchItems
#3 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(856): Directus\Database\TableGateway\RelationalTableGateway->fetchData
#4 [internal function]: Directus\Database\TableGateway\RelationalTableGateway->getItems
#5 /var/www/public/api/src/core/Directus/Services/AbstractService.php(339): call_user_func_array
#6 /var/www/public/api/src/core/Directus/Services/AbstractService.php(283): Directus\Services\AbstractService->getDataAndSetResponseCacheTags
#7 /var/www/public/api/src/core/Directus/Services/UsersService.php(185): Directus\Services\AbstractService->getItemsAndSetResponseCacheTags
#8 /var/www/public/api/src/endpoints/Users.php(53): Directus\Services\UsersService->findAll
#9 [internal function]: Directus\Api\Routes\Users->all
#10 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#11 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#12 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#13 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#14 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#15 [internal function]: Slim\DeferredCallable->__invoke
#16 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#17 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#18 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#19 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#20 [internal function]: Slim\DeferredCallable->__invoke
#21 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#22 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#23 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#24 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#25 [internal function]: Slim\DeferredCallable->__invoke
#26 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#28 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#29 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#30 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#31 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#32 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#33 [internal function]: Slim\DeferredCallable->__invoke
#34 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#35 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#36 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#37 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#38 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#39 [internal function]: Slim\DeferredCallable->__invoke
#40 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#41 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#42 [internal function]: RKA\Middleware\IpAddress->__invoke
#43 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#44 [internal function]: Slim\DeferredCallable->__invoke
#45 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#46 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#47 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#48 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#49 [internal function]: Slim\DeferredCallable->__invoke
#50 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#51 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#52 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#53 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#54 [internal function]: Slim\DeferredCallable->__invoke
#55 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#56 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#57 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#58 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#59 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#60 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_collection_presets" collection was denied in /var/www/public/api/src/core/Directus/Permissions/Acl.php:988
Stack trace:
#0 /var/www/public/api/src/core/Directus/Database/TableGateway/BaseTableGateway.php(1169): Directus\Permissions\Acl->enforceReadOnce
#1 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1138): Directus\Database\TableGateway\BaseTableGateway->enforceReadPermission
#2 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1260): Directus\Database\TableGateway\RelationalTableGateway->fetchItems
#3 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(856): Directus\Database\TableGateway\RelationalTableGateway->fetchData
#4 [internal function]: Directus\Database\TableGateway\RelationalTableGateway->getItems
#5 /var/www/public/api/src/core/Directus/Services/AbstractService.php(339): call_user_func_array
#6 /var/www/public/api/src/core/Directus/Services/AbstractService.php(283): Directus\Services\AbstractService->getDataAndSetResponseCacheTags
#7 /var/www/public/api/src/core/Directus/Services/ItemsService.php(81): Directus\Services\AbstractService->getItemsAndSetResponseCacheTags
#8 /var/www/public/api/src/core/Directus/Services/CollectionPresetsService.php(33): Directus\Services\ItemsService->findAll
#9 /var/www/public/api/src/endpoints/CollectionPresets.php(36): Directus\Services\CollectionPresetsService->findAll
#10 [internal function]: Directus\Api\Routes\CollectionPresets->all
#11 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#12 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#13 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#14 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#15 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#16 [internal function]: Slim\DeferredCallable->__invoke
#17 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#18 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#19 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#20 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#21 [internal function]: Slim\DeferredCallable->__invoke
#22 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#23 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#24 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#25 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#26 [internal function]: Slim\DeferredCallable->__invoke
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#28 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#29 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#30 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#31 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#32 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#33 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#34 [internal function]: Slim\DeferredCallable->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#36 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#37 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#38 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#39 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#40 [internal function]: Slim\DeferredCallable->__invoke
#41 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#42 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#43 [internal function]: RKA\Middleware\IpAddress->__invoke
#44 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#45 [internal function]: Slim\DeferredCallable->__invoke
#46 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#47 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#48 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#49 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#50 [internal function]: Slim\DeferredCallable->__invoke
#51 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#52 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#53 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#54 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#55 [internal function]: Slim\DeferredCallable->__invoke
#56 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#57 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#58 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#59 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#60 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#61 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_settings" collection was denied in /var/www/public/api/src/core/Directus/Permissions/Acl.php:988
Stack trace:
#0 /var/www/public/api/src/core/Directus/Database/TableGateway/BaseTableGateway.php(1169): Directus\Permissions\Acl->enforceReadOnce
#1 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1138): Directus\Database\TableGateway\BaseTableGateway->enforceReadPermission
#2 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1260): Directus\Database\TableGateway\RelationalTableGateway->fetchItems
#3 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(856): Directus\Database\TableGateway\RelationalTableGateway->fetchData
#4 [internal function]: Directus\Database\TableGateway\RelationalTableGateway->getItems
#5 /var/www/public/api/src/core/Directus/Services/AbstractService.php(339): call_user_func_array
#6 /var/www/public/api/src/core/Directus/Services/AbstractService.php(283): Directus\Services\AbstractService->getDataAndSetResponseCacheTags
#7 /var/www/public/api/src/core/Directus/Services/ItemsService.php(81): Directus\Services\AbstractService->getItemsAndSetResponseCacheTags
#8 /var/www/public/api/src/core/Directus/Services/SettingsService.php(55): Directus\Services\ItemsService->findAll
#9 /var/www/public/api/src/endpoints/Settings.php(70): Directus\Services\SettingsService->findAll
#10 [internal function]: Directus\Api\Routes\Settings->all
#11 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#12 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#13 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#14 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#15 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#16 [internal function]: Slim\DeferredCallable->__invoke
#17 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#18 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#19 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#20 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#21 [internal function]: Slim\DeferredCallable->__invoke
#22 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#23 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#24 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#25 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#26 [internal function]: Slim\DeferredCallable->__invoke
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#28 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#29 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#30 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#31 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#32 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#33 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#34 [internal function]: Slim\DeferredCallable->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#36 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#37 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#38 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#39 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#40 [internal function]: Slim\DeferredCallable->__invoke
#41 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#42 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#43 [internal function]: RKA\Middleware\IpAddress->__invoke
#44 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#45 [internal function]: Slim\DeferredCallable->__invoke
#46 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#47 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#48 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#49 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#50 [internal function]: Slim\DeferredCallable->__invoke
#51 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#52 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#53 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#54 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#55 [internal function]: Slim\DeferredCallable->__invoke
#56 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#57 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#58 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#59 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#60 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#61 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_collections" collection was denied in /var/www/public/api/src/core/Directus/Permissions/Acl.php:988
Stack trace:
#0 /var/www/public/api/src/core/Directus/Database/TableGateway/BaseTableGateway.php(1169): Directus\Permissions\Acl->enforceReadOnce
#1 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1138): Directus\Database\TableGateway\BaseTableGateway->enforceReadPermission
#2 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1260): Directus\Database\TableGateway\RelationalTableGateway->fetchItems
#3 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(856): Directus\Database\TableGateway\RelationalTableGateway->fetchData
#4 /var/www/public/api/src/core/Directus/Services/TablesService.php(68): Directus\Database\TableGateway\RelationalTableGateway->getItems
#5 /var/www/public/api/src/endpoints/Collections.php(58): Directus\Services\TablesService->findAll
#6 [internal function]: Directus\Api\Routes\Collections->all
#7 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#8 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#9 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#10 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#11 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#12 [internal function]: Slim\DeferredCallable->__invoke
#13 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#14 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#15 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#16 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#17 [internal function]: Slim\DeferredCallable->__invoke
#18 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#19 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#20 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#21 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#22 [internal function]: Slim\DeferredCallable->__invoke
#23 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#24 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#25 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#26 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#27 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#28 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#29 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#30 [internal function]: Slim\DeferredCallable->__invoke
#31 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#32 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#33 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#34 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#36 [internal function]: Slim\DeferredCallable->__invoke
#37 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#38 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#39 [internal function]: RKA\Middleware\IpAddress->__invoke
#40 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#41 [internal function]: Slim\DeferredCallable->__invoke
#42 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#43 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#44 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#45 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#46 [internal function]: Slim\DeferredCallable->__invoke
#47 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#48 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#49 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#50 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#51 [internal function]: Slim\DeferredCallable->__invoke
#52 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#53 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#54 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#55 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#56 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#57 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_collection_presets" collection was denied in /var/www/public/api/src/core/Directus/Permissions/Acl.php:988
Stack trace:
#0 /var/www/public/api/src/core/Directus/Database/TableGateway/BaseTableGateway.php(1169): Directus\Permissions\Acl->enforceReadOnce
#1 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1138): Directus\Database\TableGateway\BaseTableGateway->enforceReadPermission
#2 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1260): Directus\Database\TableGateway\RelationalTableGateway->fetchItems
#3 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(856): Directus\Database\TableGateway\RelationalTableGateway->fetchData
#4 [internal function]: Directus\Database\TableGateway\RelationalTableGateway->getItems
#5 /var/www/public/api/src/core/Directus/Services/AbstractService.php(339): call_user_func_array
#6 /var/www/public/api/src/core/Directus/Services/AbstractService.php(283): Directus\Services\AbstractService->getDataAndSetResponseCacheTags
#7 /var/www/public/api/src/core/Directus/Services/ItemsService.php(81): Directus\Services\AbstractService->getItemsAndSetResponseCacheTags
#8 /var/www/public/api/src/core/Directus/Services/CollectionPresetsService.php(33): Directus\Services\ItemsService->findAll
#9 /var/www/public/api/src/endpoints/CollectionPresets.php(36): Directus\Services\CollectionPresetsService->findAll
#10 [internal function]: Directus\Api\Routes\CollectionPresets->all
#11 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#12 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#13 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#14 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#15 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#16 [internal function]: Slim\DeferredCallable->__invoke
#17 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#18 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#19 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#20 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#21 [internal function]: Slim\DeferredCallable->__invoke
#22 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#23 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#24 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#25 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#26 [internal function]: Slim\DeferredCallable->__invoke
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#28 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#29 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#30 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#31 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#32 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#33 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#34 [internal function]: Slim\DeferredCallable->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#36 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#37 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#38 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#39 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#40 [internal function]: Slim\DeferredCallable->__invoke
#41 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#42 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#43 [internal function]: RKA\Middleware\IpAddress->__invoke
#44 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#45 [internal function]: Slim\DeferredCallable->__invoke
#46 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#47 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#48 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#49 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#50 [internal function]: Slim\DeferredCallable->__invoke
#51 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#52 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#53 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#54 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#55 [internal function]: Slim\DeferredCallable->__invoke
#56 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#57 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#58 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#59 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#60 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#61 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Database\Exception\ItemNotFoundException: Item not found in /var/www/public/api/src/core/Directus/Services/ItemsService.php:138
Stack trace:
#0 /var/www/public/api/src/core/Directus/Services/UsersService.php(143): Directus\Services\ItemsService->findByIds
#1 /var/www/public/api/src/endpoints/Users.php(92): Directus\Services\UsersService->findByIds
#2 [internal function]: Directus\Api\Routes\Users->read
#3 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#4 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#5 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#6 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#7 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#8 [internal function]: Slim\DeferredCallable->__invoke
#9 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#10 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#11 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#12 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#13 [internal function]: Slim\DeferredCallable->__invoke
#14 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#15 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#16 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#17 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#18 [internal function]: Slim\DeferredCallable->__invoke
#19 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#20 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#21 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#22 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#23 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#24 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#25 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#26 [internal function]: Slim\DeferredCallable->__invoke
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#28 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#29 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#30 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#31 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#32 [internal function]: Slim\DeferredCallable->__invoke
#33 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#34 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#35 [internal function]: RKA\Middleware\IpAddress->__invoke
#36 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#37 [internal function]: Slim\DeferredCallable->__invoke
#38 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#39 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#40 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#41 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#42 [internal function]: Slim\DeferredCallable->__invoke
#43 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#44 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#45 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#46 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#47 [internal function]: Slim\DeferredCallable->__invoke
#48 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#49 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#50 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#51 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#52 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#53 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Permissions\Exception\ForbiddenCollectionReadException: Reading items from "directus_relations" collection was denied in /var/www/public/api/src/core/Directus/Permissions/Acl.php:988
Stack trace:
#0 /var/www/public/api/src/core/Directus/Database/TableGateway/BaseTableGateway.php(1169): Directus\Permissions\Acl->enforceReadOnce
#1 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1138): Directus\Database\TableGateway\BaseTableGateway->enforceReadPermission
#2 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(1260): Directus\Database\TableGateway\RelationalTableGateway->fetchItems
#3 /var/www/public/api/src/core/Directus/Database/TableGateway/RelationalTableGateway.php(856): Directus\Database\TableGateway\RelationalTableGateway->fetchData
#4 [internal function]: Directus\Database\TableGateway\RelationalTableGateway->getItems
#5 /var/www/public/api/src/core/Directus/Services/AbstractService.php(339): call_user_func_array
#6 /var/www/public/api/src/core/Directus/Services/AbstractService.php(283): Directus\Services\AbstractService->getDataAndSetResponseCacheTags
#7 /var/www/public/api/src/core/Directus/Services/ItemsService.php(81): Directus\Services\AbstractService->getItemsAndSetResponseCacheTags
#8 /var/www/public/api/src/core/Directus/Services/RelationsService.php(76): Directus\Services\ItemsService->findAll
#9 /var/www/public/api/src/endpoints/Relations.php(33): Directus\Services\RelationsService->findAll
#10 [internal function]: Directus\Api\Routes\Relations->all
#11 /var/www/public/api/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func
#12 /var/www/public/api/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke
#13 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\Route->__invoke
#14 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#15 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#16 [internal function]: Slim\DeferredCallable->__invoke
#17 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#18 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#19 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#20 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#21 [internal function]: Slim\DeferredCallable->__invoke
#22 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#23 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#24 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#25 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#26 [internal function]: Slim\DeferredCallable->__invoke
#27 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#28 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#29 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#30 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#31 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#32 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#33 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#34 [internal function]: Slim\DeferredCallable->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#36 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#37 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#38 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#39 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#40 [internal function]: Slim\DeferredCallable->__invoke
#41 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#42 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#43 [internal function]: RKA\Middleware\IpAddress->__invoke
#44 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#45 [internal function]: Slim\DeferredCallable->__invoke
#46 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#47 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#48 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#49 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#50 [internal function]: Slim\DeferredCallable->__invoke
#51 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#52 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#53 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#54 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#55 [internal function]: Slim\DeferredCallable->__invoke
#56 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#57 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#58 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#59 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#60 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#61 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Authentication\Exception\UserNotAuthenticatedException: User not authenticated in /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticatedMiddleware.php:21
Stack trace:
#0 [internal function]: Directus\Application\Http\Middleware\AuthenticatedMiddleware->__invoke
#1 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#2 [internal function]: Slim\DeferredCallable->__invoke
#3 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#4 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#5 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#6 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#7 [internal function]: Slim\DeferredCallable->__invoke
#8 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#9 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationIgnoreOriginMiddleware.php(19): Slim\Route->Slim\{closure}
#10 [internal function]: Directus\Application\Http\Middleware\AuthenticationIgnoreOriginMiddleware->__invoke
#11 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#12 [internal function]: Slim\DeferredCallable->__invoke
#13 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#14 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#15 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#16 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#17 [internal function]: Slim\DeferredCallable->__invoke
#18 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#19 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#20 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#21 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#22 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#23 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#24 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#25 [internal function]: Slim\DeferredCallable->__invoke
#26 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#27 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#28 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#29 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#30 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#31 [internal function]: Slim\DeferredCallable->__invoke
#32 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#33 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#34 [internal function]: RKA\Middleware\IpAddress->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#36 [internal function]: Slim\DeferredCallable->__invoke
#37 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#38 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#39 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#40 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#41 [internal function]: Slim\DeferredCallable->__invoke
#42 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#43 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#44 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#45 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#46 [internal function]: Slim\DeferredCallable->__invoke
#47 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#48 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#49 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#50 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#51 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#52 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Authentication\Exception\UserNotAuthenticatedException: User not authenticated in /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticatedMiddleware.php:21
Stack trace:
#0 [internal function]: Directus\Application\Http\Middleware\AuthenticatedMiddleware->__invoke
#1 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#2 [internal function]: Slim\DeferredCallable->__invoke
#3 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#4 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#5 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#6 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#7 [internal function]: Slim\DeferredCallable->__invoke
#8 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#9 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationIgnoreOriginMiddleware.php(19): Slim\Route->Slim\{closure}
#10 [internal function]: Directus\Application\Http\Middleware\AuthenticationIgnoreOriginMiddleware->__invoke
#11 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#12 [internal function]: Slim\DeferredCallable->__invoke
#13 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#14 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#15 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#16 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#17 [internal function]: Slim\DeferredCallable->__invoke
#18 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#19 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#20 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#21 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#22 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#23 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#24 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#25 [internal function]: Slim\DeferredCallable->__invoke
#26 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#27 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#28 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#29 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#30 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#31 [internal function]: Slim\DeferredCallable->__invoke
#32 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#33 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#34 [internal function]: RKA\Middleware\IpAddress->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#36 [internal function]: Slim\DeferredCallable->__invoke
#37 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#38 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#39 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#40 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#41 [internal function]: Slim\DeferredCallable->__invoke
#42 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#43 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#44 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#45 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#46 [internal function]: Slim\DeferredCallable->__invoke
#47 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#48 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#49 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#50 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#51 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#52 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Authentication\Exception\UserNotAuthenticatedException: User not authenticated in /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticatedMiddleware.php:21
Stack trace:
#0 [internal function]: Directus\Application\Http\Middleware\AuthenticatedMiddleware->__invoke
#1 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#2 [internal function]: Slim\DeferredCallable->__invoke
#3 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#4 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#5 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#6 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#7 [internal function]: Slim\DeferredCallable->__invoke
#8 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#9 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationIgnoreOriginMiddleware.php(19): Slim\Route->Slim\{closure}
#10 [internal function]: Directus\Application\Http\Middleware\AuthenticationIgnoreOriginMiddleware->__invoke
#11 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#12 [internal function]: Slim\DeferredCallable->__invoke
#13 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#14 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#15 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#16 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#17 [internal function]: Slim\DeferredCallable->__invoke
#18 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#19 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#20 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#21 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#22 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#23 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#24 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#25 [internal function]: Slim\DeferredCallable->__invoke
#26 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#27 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#28 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#29 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#30 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#31 [internal function]: Slim\DeferredCallable->__invoke
#32 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#33 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#34 [internal function]: RKA\Middleware\IpAddress->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#36 [internal function]: Slim\DeferredCallable->__invoke
#37 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#38 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#39 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#40 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#41 [internal function]: Slim\DeferredCallable->__invoke
#42 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#43 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#44 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#45 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#46 [internal function]: Slim\DeferredCallable->__invoke
#47 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#48 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#49 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#50 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#51 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#52 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []
[2019-12-15 13:56:11] api[frontgenapi].ERROR: Directus\Authentication\Exception\UserNotAuthenticatedException: User not authenticated in /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticatedMiddleware.php:21
Stack trace:
#0 [internal function]: Directus\Application\Http\Middleware\AuthenticatedMiddleware->__invoke
#1 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#2 [internal function]: Slim\DeferredCallable->__invoke
#3 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#4 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationMiddleware.php(121): Slim\Route->Slim\{closure}
#5 [internal function]: Directus\Application\Http\Middleware\AuthenticationMiddleware->__invoke
#6 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#7 [internal function]: Slim\DeferredCallable->__invoke
#8 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#9 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AuthenticationIgnoreOriginMiddleware.php(19): Slim\Route->Slim\{closure}
#10 [internal function]: Directus\Application\Http\Middleware\AuthenticationIgnoreOriginMiddleware->__invoke
#11 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#12 [internal function]: Slim\DeferredCallable->__invoke
#13 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#14 /var/www/public/api/src/core/Directus/Application/Http/Middleware/TableGatewayMiddleware.php(25): Slim\Route->Slim\{closure}
#15 [internal function]: Directus\Application\Http\Middleware\TableGatewayMiddleware->__invoke
#16 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#17 [internal function]: Slim\DeferredCallable->__invoke
#18 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#19 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}
#20 /var/www/public/api/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack
#21 /var/www/public/api/vendor/slim/slim/Slim/App.php(503): Slim\Route->run
#22 /var/www/public/api/src/core/Directus/Application/Http/Middleware/AbstractRateLimitMiddleware.php(34): Slim\App->__invoke
#23 [internal function]: Directus\Application\Http\Middleware\AbstractRateLimitMiddleware->__invoke
#24 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#25 [internal function]: Slim\DeferredCallable->__invoke
#26 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#27 /var/www/public/api/vendor/directus/proxy-detection/src/ProxyDetectionMiddleware.php(30): Slim\App->Slim\{closure}
#28 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ProxyMiddleware.php(18): RKA\Middleware\ProxyDetectionMiddleware->__invoke
#29 [internal function]: Directus\Application\Http\Middleware\ProxyMiddleware->__invoke
#30 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#31 [internal function]: Slim\DeferredCallable->__invoke
#32 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#33 /var/www/public/api/vendor/akrabat/ip-address-middleware/src/IpAddress.php(113): Slim\App->Slim\{closure}
#34 [internal function]: RKA\Middleware\IpAddress->__invoke
#35 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#36 [internal function]: Slim\DeferredCallable->__invoke
#37 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#38 /var/www/public/api/src/core/Directus/Application/Http/Middleware/CorsMiddleware.php(66): Slim\App->Slim\{closure}
#39 [internal function]: Directus\Application\Http\Middleware\CorsMiddleware->__invoke
#40 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#41 [internal function]: Slim\DeferredCallable->__invoke
#42 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#43 /var/www/public/api/src/core/Directus/Application/Http/Middleware/ResponseCacheMiddleware.php(54): Slim\App->Slim\{closure}
#44 [internal function]: Directus\Application\Http\Middleware\ResponseCacheMiddleware->__invoke
#45 /var/www/public/api/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array
#46 [internal function]: Slim\DeferredCallable->__invoke
#47 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func
#48 /var/www/public/api/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}
#49 /var/www/public/api/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack
#50 /var/www/public/api/vendor/slim/slim/Slim/App.php(297): Slim\App->process
#51 /var/www/public/api/src/core/Directus/Application/Application.php(161): Slim\App->run
#52 /var/www/public/api/public/index.php(5): Directus\Application\Application->run [] []

@benhaynes benhaynes added the bug Something isn't working label Dec 15, 2019
@emarket-design
Copy link
Author

This was related to the config file permission on the api side. Make sure you have www-data as the user:group if you copy them from another repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants