This topic contains 4 replies, has 2 voices, and was last updated by saqibbhat96 6 years, 11 months ago.
- Topic
Hello all, im having lots of errors in my logs file prod.log
123456789101112131415[2017-04-17 11:24:53] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Filesystem\Exception\IOException: "Failed to create at[2017-04-17 12:02:52] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException: "Full authentication is required to access this resource." at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 128 {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\InsufficientAuthenticationException(code: 0): Full authentication is required to access this resource. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php:128, Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You do not get VIEW permission for this object at /opt/bitnami/apps/b2b/htdocs/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/Request/ParamConverter/DoctrineParamConverter.php:54)"} [][2017-04-17 12:05:47] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException: "Full authentication is required to access this resource." at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 128 {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\InsufficientAuthenticationException(code: 0): Full authentication is required to access this resource. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php:128, Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You do not get VIEW permission for this object at /opt/bitnami/apps/b2b/htdocs/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/Request/ParamConverter/DoctrineParamConverter.php:54)"} [][2017-04-17 12:39:31] console.ERROR: An error occurred while running command "'cache:clear' --env=prod". Failed to remove file "/opt/bitnami/apps/b2b/htdocs/app/cache/pro~/oro_data/oro_acl_owner_tree_frontend/57/[data][11].doctrinecache.data": unlink(/opt/bitnami/apps/b2b/htdocs/app/cache/pro~/oro_data/oro_acl_owner_tree_frontend/57/[data][11].doctrinecache.data): Permission denied. {"exit_code":0,"arguments":{"command":"cache:clear"},"options":{"env":"prod"}} [][2017-04-18 14:51:56] oro_workflow.ERROR: [TransitionHandler] Could not perform transition. {"exception":"[object] (Swift_SwiftException(code: 0): The email was not delivered. at /opt/bitnami/apps/b2b/htdocs/vendor/oro/platform/src/Oro/Bundle/EmailBundle/Mailer/Processor.php:211)","transition":"[object] (Oro\\Bundle\\WorkflowBundle\\Model\\Transition: send_to_customer_transition)","workflowItem":"[object] (Oro\\Bundle\\WorkflowBundle\\Entity\\WorkflowItem: [b2b_quote_backoffice_default] Oro\\Bundle\\SaleBundle\\Entity\\Quote:1 sent_to_customer)"} [][2017-04-18 15:22:17] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Not Found" at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 251 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): Not Found at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php:251)"} [][2017-04-18 15:23:02] oro_workflow.ERROR: [TransitionHandler] Could not perform transition. {"exception":"[object] (Swift_SwiftException(code: 0): The email was not delivered. at /opt/bitnami/apps/b2b/htdocs/vendor/oro/platform/src/Oro/Bundle/EmailBundle/Mailer/Processor.php:211)","transition":"[object] (Oro\\Bundle\\WorkflowBundle\\Model\\Transition: send_to_customer_transition)","workflowItem":"[object] (Oro\\Bundle\\WorkflowBundle\\Entity\\WorkflowItem: [b2b_quote_backoffice_default] Oro\\Bundle\\SaleBundle\\Entity\\Quote:1 sent_to_customer)"} [][2017-04-20 10:36:28] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Filesystem\Exception\IOException: "Failed to create "/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/43/16/16": mkdir(): Permission denied." at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php line 100 {"exception":"[object] (Symfony\\Component\\Filesystem\\Exception\\IOException(code: 0): Failed to create \"/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/43/16/16\": mkdir(): Permission denied. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:100)"} [][2017-04-20 10:36:46] app.ERROR: Consume messages command exception. "Failed to create "/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/44/product_original": mkdir(): Permission denied." {"exception":"[object] (Symfony\\Component\\Filesystem\\Exception\\IOException(code: 0): Failed to create \"/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/44/product_original\": mkdir(): Permission denied. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:100)"} [][2017-04-20 11:15:30] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\InvalidFieldNameException: "An exception occurred while executing 'SELECT t0.Location_ss AS Location_ss_1, t0.serialized_data AS serialized_data_2, t0.id AS id_3, t0.sku AS sku_4, t0.status AS status_5, t0.variant_fields AS variant_fields_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.type AS type_9, t0.business_unit_owner_id AS business_unit_owner_id_10, t0.organization_id AS organization_id_11, t0.primary_unit_precision_id AS primary_unit_precision_id_12, t0.attribute_family_id AS attribute_family_id_13, t0.pageTemplate_id AS pageTemplate_id_14, t0.manageInventory_id AS manageInventory_id_15, t0.inventoryThreshold_id AS inventoryThreshold_id_16, t0.minimumQuantityToOrder_id AS minimumQuantityToOrder_id_17, t0.maximumQuantityToOrder_id AS maximumQuantityToOrder_id_18, t0.decrementQuantity_id AS decrementQuantity_id_19, t0.backOrder_id AS backOrder_id_20, t0.inventory_status_id AS inventory_status_id_21, t0.Color_id AS Color_id_22, t0.Colors_id AS Colors_id_23, t0.FrameSlingColor_id AS FrameSlingColor_id_24, t0.Cushion_id AS Cushion_id_25 FROM oro_product t0 WHERE t0.type = ? AND oro_rel_1cf73d3123a46297a7e8eb.ev_product_location_57c3f741_id = ?' with params ["simple", "indoor"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'oro_rel_1cf73d3123a46297a7e8eb.ev_product_location_57c3f741_id' in 'where clause'" at /opt/bitnami/apps/b2b/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 71 {"exception":"[object] (Doctrine\\DBAL\\Exception\\InvalidFieldNameException(code: 0): An exception occurred while executing 'SELECT t0.Location_ss AS Location_ss_1, t0.serialized_data AS serialized_data_2, t0.id AS id_3, t0.sku AS sku_4, t0.status AS status_5, t0.variant_fields AS variant_fields_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.type AS type_9, t0.business_unit_owner_id AS business_unit_owner_id_10, t0.organization_id AS organization_id_11, t0.primary_unit_precision_id AS primary_unit_precision_id_12, t0.attribute_family_id AS attribute_family_id_13, t0.pageTemplate_id AS pageTemplate_id_14, t0.manageInventory_id AS manageInventory_id_15, t0.inventoryThreshold_id AS inventoryThreshold_id_16, t0.minimumQuantityToOrder_id AS minimumQuantityToOrder_id_17, t0.maximumQuantityToOrder_id AS maximumQuantityToOrder_id_18, t0.decrementQuantity_id AS decrementQuantity_id_19, t0.backOrder_id AS backOrder_id_20, t0.inventory_status_id AS inventory_status_id_21, t0.Color_id AS Color_id_22, t0.Colors_id AS Colors_id_23, t0.FrameSlingColor_id AS FrameSlingColor_id_24, t0.Cushion_id AS Cushion_id_25 FROM oro_product t0 WHERE t0.type = ? AND oro_rel_1cf73d3123a46297a7e8eb.ev_product_location_57c3f741_id = ?' with params [\"simple\", \"indoor\"]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'oro_rel_1cf73d3123a46297a7e8eb.ev_product_location_57c3f741_id' in 'where clause' at /opt/bitnami/apps/b2b/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71, Doctrine\\DBAL\\Driver\\PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'oro_rel_1cf73d3123a46297a7e8eb.ev_product_location_57c3f741_id' in 'where clause' at /opt/bitnami/apps/b2b/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 42S22): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'oro_rel_1cf73d3123a46297a7e8eb.ev_product_location_57c3f741_id' in 'where clause' at /opt/bitnami/apps/b2b/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} [][2017-04-21 15:44:44] app.ERROR: Consume messages command exception. "Unable to write to the "/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/46/product_original" directory." {"exception":"[object] (Symfony\\Component\\Filesystem\\Exception\\IOException(code: 0): Unable to write to the \"/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/46/product_original\" directory. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:554)"} [][2017-04-21 15:44:44] console.ERROR: An error occurred while running command "'oro:message-queue:consume' --env=prod". Unable to write to the "/opt/bitnami/apps/b2b/htdocs/app/../web/media/cache/attachment/resize/46/product_original" directory. {"exit_code":0,"arguments":{"command":"oro:message-queue:consume"},"options":{"env":"prod"}} [][2017-04-21 18:35:34] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /admim"" at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 176 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /admim\" at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:176, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/admim\". at /opt/bitnami/apps/b2b/htdocs/app/cache/prod/classes.php:2265)"} [][2017-04-27 11:45:44] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException: "Full authentication is required to access this resource." at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 128 {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\InsufficientAuthenticationException(code: 0): Full authentication is required to access this resource. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php:128, Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You do not get VIEW permission for this object at /opt/bitnami/apps/b2b/htdocs/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/Request/ParamConverter/DoctrineParamConverter.php:54)"} [][2017-04-27 11:45:49] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Security\Core\Exception\InsufficientAuthenticationException: "Full authentication is required to access this resource." at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php line 128 {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\InsufficientAuthenticationException(code: 0): Full authentication is required to access this resource. at /opt/bitnami/apps/b2b/htdocs/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php:128, Symfony\\Component\\Security\\Core\\Exception\\AccessDeniedException(code: 403): You do not get VIEW permission for this object at /opt/bitnami/apps/b2b/htdocs/vendor/oro/platform/src/Oro/Bundle/SecurityBundle/Request/ParamConverter/DoctrineParamConverter.php:54)"} []its clear the probleme is permisisons
My application folders, some are root, some are daemon and some with user=saaqib
the web/media and cache needs write permissions which i have given, but when i add new product i have to give it the write permisisons agian.
Where am i wrong, is it okeye if i change owner of all to user=saaqibplease assist
thanks
The forum ‘OroCommerce’ is closed to new topics and replies.