docker-magento: Fatal error: Uncaught Zend_Cache_Exception
After running docker-compose up, all of the containers load, but I get a fatal PHP error:
Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/src/var/page_cache" is not writable in /src/vendor/magento/zendframework1/library/Zend/Cache.php:209
Stack trace:
#0 /src/vendor/magento/zendframework1/library/Zend/Cache/Backend/File.php(180): Zend_Cache::throwException('cache_dir "/src...')
#1 /src/lib/internal/Cm/Cache/Backend/File.php(82): Zend_Cache_Backend_File->setCacheDir('/src/var/page_c...')
#2 /src/vendor/magento/zendframework1/library/Zend/Cache.php(153): Cm_Cache_Backend_File->__construct(Array)
#3 /src/vendor/magento/zendframework1/library/Zend/Cache.php(94): Zend_Cache::_makeBackend('Cm_Cache_Backen...', Array, true, true)
#4 /src/vendor/magento/framework/App/Cache/Frontend/Factory.php(154): Zend_Cache::factory('Magento\\Framewo...', 'Cm_Cache_Backen...', Array, Array, true, true, true)
#5 /src/vendor/magento/framework/App/Cache/Frontend/Pool.php(67): Magento\Framework\App\Cache\Frontend\Factory->create(Array)
#6 /src/vendor/magento/framework/App/Cache/Frontend/Pool.php(146): Magento\Framework\App\Cach in /src/vendor/magento/zendframework1/library/Zend/Cache.php on line 209
Please help!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 55 (25 by maintainers)
Commits related to this issue
- Fix permission issues in https://github.com/mageinferno/magento2-docker-compose/issues/5 — committed to markshust/docker-magento2-php by markshust 8 years ago
- Fix permission issues in mageinferno/magento2-docker-compose#5 — committed to markshust/docker-magento2-php by markshust 8 years ago
- Updates to run nginx as magento user https://github.com/mageinferno/magento2-docker-compose/issues/5 — committed to markshust/docker-magento2-nginx by markshust 8 years ago
- Updates to run php-fpm as magento user https://github.com/mageinferno/magento2-docker-compose/issues/5 — committed to markshust/docker-magento2-php by markshust 8 years ago
- Updated perms for user/group www-data https://github.com/mageinferno/magento2-docker-compose/issues/5 — committed to markshust/docker-magento2-nginx by markshust 8 years ago
- Updates to set user/group to www-data to fix perm issues https://github.com/mageinferno/magento2-docker-compose/issues/5, Can't upgrade magento version #9 — committed to markshust/docker-magento2-php by markshust 8 years ago
- Squashed commit of the following: commit 5bfa5fc4afec3172d75b2e112a4394e8fe5399f7 Author: Mark Shust <mark@shust.com> Date: Wed Apr 20 10:04:21 2016 -0400 Updated README commit fdef43aefe470f... — committed to markshust/docker-magento2-nginx by markshust 8 years ago
@daim2k5 This conversation is not fruitful. Please cease and desist.
@daim2k5 all i’ve heard is talk. magento needs to start doing. i’m sick of talk, i’ve heard this for a long time now. you’ve had enough time to learn.
i’m not going to delete this project. that would be a disservice to the community. that is a horrible suggestion, and it shows just how disconnected magento inc. is from their dev base to even recommend such a thing.