Description
I'm trying to use the ./craft clear-caches/all CLI command.
Everything is working fine, except that I always get this error:
Error clearing cache Control Panel resources: Unable to clear Control Panel resources because the location isn't known for console commands.
My configuration returns these values:
Craft::$app->getConfig()->getGeneral()->resourceBasePath -> @webroot/cpresources
Craft::getAlias('@webroot') -> return correct value (using /htdocs as root folder)
I tried on another Craft 3.1 website, and got the same error. So perhaps it is a bug.
Steps to reproduce
- Use the
./craft clear-caches/all command
Additional info
- Craft version: 3.1.8
- PHP version: 7.1.8
- Database driver & version: PostgreSQL 9.6.9
Description
I'm trying to use the .
/craft clear-caches/allCLI command.Everything is working fine, except that I always get this error:
Error clearing cache Control Panel resources: Unable to clear Control Panel resources because the location isn't known for console commands.My configuration returns these values:
Craft::$app->getConfig()->getGeneral()->resourceBasePath->@webroot/cpresourcesCraft::getAlias('@webroot')-> return correct value (using/htdocsas root folder)I tried on another Craft 3.1 website, and got the same error. So perhaps it is a bug.
Steps to reproduce
./craft clear-caches/allcommandAdditional info