Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample Data is installed with errors. See log file for details #38716

Closed
2 of 5 tasks
ghost opened this issue May 13, 2024 · 3 comments
Closed
2 of 5 tasks

Sample Data is installed with errors. See log file for details #38716

ghost opened this issue May 13, 2024 · 3 comments
Assignees
Labels
Issue: ready for confirmation Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it

Comments

@ghost
Copy link

ghost commented May 13, 2024

Summary

Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/Users/username/bsscommerce/magento2/var/cache/" is not writable in /Users/username/bsscommerce/magento2/vendor/magento/zend-cache/library/Zend/Cache.php:209 Stack trace: #0 /Users/username/bsscommerce/magento2/vendor/magento/zend-cache/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException('cache_dir "/Use...') #1 /Users/username/bsscommerce/magento2/vendor/colinmollenhour/cache-backend-file/File.php(86): Zend_Cache_Backend_File->setCacheDir('/Users/lehongph...') #2 /Users/username/bsscommerce/magento2/vendor/magento/zend-cache/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct(Array) #3 /Users/username/bsscommerce/magento2/vendor/magento/zend-cache/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true) #4 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Frontend/Factory.php(434): Zend_Cache::factory('Magento\Framewo...', 'Cm_Cache_Backen...', Array, Array, true, true, true) #5 /Users/username/bsscommerce/magento2/vendor/magento/framework/Cache/Frontend/Adapter/Zend.php(45): Magento\Framework\App\Cache\Frontend\Factory->Magento\Framework\App\Cache\Frontend{closure}() #6 /Users/username/bsscommerce/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Cache\Frontend\Adapter\Zend->__construct(Object(Closure)) #7 /Users/username/bsscommerce/magento2/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Framewo...', Array) #8 /Users/username/bsscommerce/magento2/vendor/magento/framework/ObjectManager/ObjectManager.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\Framewo...', Array) #9 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Frontend/Factory.php(430): Magento\Framework\ObjectManager\ObjectManager->create('Magento\Framewo...', Array) #10 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Frontend/Factory.php(176): Magento\Framework\App\Cache\Frontend\Factory->createCacheWithDefaultOptions(Array) #11 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Frontend/Pool.php(69): Magento\Framework\App\Cache\Frontend\Factory->create(Array) #12 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Frontend/Pool.php(156): Magento\Framework\App\Cache\Frontend\Pool->_initialize() #13 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Type/FrontendPool.php(87): Magento\Framework\App\Cache\Frontend\Pool->get('default') #14 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Cache/Type/Config.php(52): Magento\Framework\App\Cache\Type\FrontendPool->get('config') #15 /Users/username/bsscommerce/magento2/vendor/magento/framework/Cache/Frontend/Decorator/Bare.php(65): Magento\Framework\App\Cache\Type\Config->_getFrontend() #16 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/ObjectManager/ConfigLoader.php(73): Magento\Framework\Cache\Frontend\Decorator\Bare->load('global::DiConfi...') #17 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/ObjectManager/Environment/Developer.php(79): Magento\Framework\App\ObjectManager\ConfigLoader->load('global') #18 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/ObjectManagerFactory.php(191): Magento\Framework\App\ObjectManager\Environment\Developer->configureObjectManager(Object(Magento\Framework\Interception\ObjectManager\Config\Developer), Array) #19 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Bootstrap.php(212): Magento\Framework\App\ObjectManagerFactory->create(Array) #20 /Users/username/bsscommerce/magento2/vendor/magento/framework/App/Bootstrap.php(127): Magento\Framework\App\Bootstrap->__construct(Object(Magento\Framework\App\ObjectManagerFactory), '/Users/lehongph...', Array) #21 /Users/username/bsscommerce/magento2/pub/index.php(27): Magento\Framework\App\Bootstrap::create('/Users/lehongph...', Array) #22 {main} thrown in /Users/username/bsscommerce/magento2/vendor/magento/zend-cache/library/Zend/Cache.php on line 209

Examples

version 247

Proposed solution

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
@ghost ghost added the Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it label May 13, 2024
Copy link

m2-assistant bot commented May 13, 2024

Hi @unrealphong. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

Copy link

m2-assistant bot commented May 14, 2024

Hi @engcom-Hotel. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Hotel
Copy link
Contributor

Hello @unrealphong,

By looking into the error mentioned in the main description, it seems that the correct folder permissions are not available. Please go through the below-documentation for the same:

https://experienceleague.adobe.com/en/docs/commerce-operations/installation-guide/prerequisites/file-system/configure-permissions

Closing this issue for now.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: ready for confirmation Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
None yet
Development

No branches or pull requests

1 participant