roots / sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow

Home Page:https://roots.io/sage/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: > cache/acorn/framework/cache directory must be present and writable

RobHowdle opened this issue · comments

Terms

Description

What's wrong?

The /var/www/portfolio/wp-content/cache/acorn/framework/cache directory must be present and writable. - when installing Acron with Sage 10, no such directories were created.

What have you tried?

I've tried uninstalling acorn, reinstalling etc. Manually creating the directories myself and setting the correct permissions as well as looking through past issues, none of the fixes have worked

What insights have you gained?

I get no errors when installing. The permissions are correct for the theme and the project as a whole.

Possible solutions

Not sure

Temporary workarounds

None

Steps To Reproduce

  1. install Sage 10 in the themes folder and create a theme
  2. Install Acorn
  3. Build project, attempt to set new theme as the main site theme

Expected Behavior

I would expect the install to have created any files/ directories it needs when installing. If there is an issue to report the issue in the command line.

Actual Behavior

No errors reported, receiving the error The /var/www/portfolio/wp-content/cache/acorn/framework/cache directory must be present and writable.

Relevant Log Output

composer require roots/acorn
./composer.json has been updated
Running composer update roots/acorn
Loading composer repositories with package information
Updating dependencies
Lock file operations: 62 installs, 0 updates, 0 removals
  - Locking brick/math (0.11.0)
  - Locking doctrine/inflector (2.0.6)
  - Locking fruitcake/php-cors (v1.2.0)
  - Locking graham-campbell/result-type (v1.1.1)
  - Locking guzzlehttp/uri-template (v1.0.1)
  - Locking illuminate/bus (v9.52.6)
  - Locking illuminate/cache (v9.52.6)
  - Locking illuminate/collections (v9.52.6)
  - Locking illuminate/conditionable (v9.52.6)
  - Locking illuminate/config (v9.52.6)
  - Locking illuminate/console (v9.52.6)
  - Locking illuminate/container (v9.52.6)
  - Locking illuminate/contracts (v9.52.6)
  - Locking illuminate/events (v9.52.6)
  - Locking illuminate/filesystem (v9.52.6)
  - Locking illuminate/http (v9.52.6)
  - Locking illuminate/log (v9.52.6)
  - Locking illuminate/macroable (v9.52.6)
  - Locking illuminate/pipeline (v9.52.6)
  - Locking illuminate/routing (v9.52.6)
  - Locking illuminate/session (v9.52.6)
  - Locking illuminate/support (v9.52.6)
  - Locking illuminate/view (v9.52.6)
  - Locking league/flysystem (3.14.0)
  - Locking league/mime-type-detection (1.11.0)
  - Locking monolog/monolog (2.9.1)
  - Locking nesbot/carbon (2.66.0)
  - Locking nunomaduro/termwind (v1.15.1)
  - Locking phpoption/phpoption (1.9.1)
  - Locking psr/container (2.0.2)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking psr/log (3.0.0)
  - Locking psr/simple-cache (3.0.0)
  - Locking ramsey/collection (2.0.0)
  - Locking ramsey/uuid (4.7.4)
  - Locking roots/acorn (v3.1.0)
  - Locking roots/support (1.0.0)
  - Locking symfony/console (v6.2.8)
  - Locking symfony/deprecation-contracts (v3.2.1)
  - Locking symfony/error-handler (v6.2.9)
  - Locking symfony/event-dispatcher (v6.2.8)
  - Locking symfony/event-dispatcher-contracts (v3.2.1)
  - Locking symfony/finder (v6.2.7)
  - Locking symfony/http-foundation (v6.2.8)
  - Locking symfony/http-kernel (v6.2.9)
  - Locking symfony/mime (v6.2.7)
  - Locking symfony/polyfill-ctype (v1.27.0)
  - Locking symfony/polyfill-intl-grapheme (v1.27.0)
  - Locking symfony/polyfill-intl-idn (v1.27.0)
  - Locking symfony/polyfill-intl-normalizer (v1.27.0)
  - Locking symfony/polyfill-mbstring (v1.27.0)
  - Locking symfony/polyfill-php72 (v1.27.0)
  - Locking symfony/polyfill-php80 (v1.27.0)
  - Locking symfony/process (v6.2.8)
  - Locking symfony/routing (v6.2.8)
  - Locking symfony/service-contracts (v3.2.1)
  - Locking symfony/string (v6.2.8)
  - Locking symfony/translation (v6.2.8)
  - Locking symfony/translation-contracts (v3.2.1)
  - Locking symfony/var-dumper (v6.2.8)
  - Locking vlucas/phpdotenv (v5.5.0)
  - Locking voku/portable-ascii (2.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 62 installs, 0 updates, 0 removals
  - Installing brick/math (0.11.0): Extracting archive
  - Installing doctrine/inflector (2.0.6): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
  - Installing symfony/deprecation-contracts (v3.2.1): Extracting archive
  - Installing symfony/http-foundation (v6.2.8): Extracting archive
  - Installing fruitcake/php-cors (v1.2.0): Extracting archive
  - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
  - Installing guzzlehttp/uri-template (v1.0.1): Extracting archive
  - Installing voku/portable-ascii (2.0.1): Extracting archive
  - Installing symfony/translation-contracts (v3.2.1): Extracting archive
  - Installing symfony/translation (v6.2.8): Extracting archive
  - Installing nesbot/carbon (2.66.0): Extracting archive
  - Installing illuminate/macroable (v9.52.6): Extracting archive
  - Installing psr/simple-cache (3.0.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing illuminate/contracts (v9.52.6): Extracting archive
  - Installing illuminate/conditionable (v9.52.6): Extracting archive
  - Installing illuminate/collections (v9.52.6): Extracting archive
  - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
  - Installing illuminate/support (v9.52.6): Extracting archive
  - Installing illuminate/pipeline (v9.52.6): Extracting archive
  - Installing illuminate/bus (v9.52.6): Extracting archive
  - Installing symfony/finder (v6.2.7): Extracting archive
  - Installing illuminate/filesystem (v9.52.6): Extracting archive
  - Installing illuminate/session (v9.52.6): Extracting archive
  - Installing league/mime-type-detection (1.11.0): Extracting archive
  - Installing psr/log (3.0.0): Extracting archive
  - Installing monolog/monolog (2.9.1): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
  - Installing symfony/string (v6.2.8): Extracting archive
  - Installing symfony/service-contracts (v3.2.1): Extracting archive
  - Installing symfony/console (v6.2.8): Extracting archive
  - Installing nunomaduro/termwind (v1.15.1): Extracting archive
  - Installing ramsey/collection (2.0.0): Extracting archive
  - Installing phpoption/phpoption (1.9.1): Extracting archive
  - Installing graham-campbell/result-type (v1.1.1): Extracting archive
  - Installing vlucas/phpdotenv (v5.5.0): Extracting archive
  - Installing symfony/var-dumper (v6.2.8): Extracting archive
  - Installing symfony/error-handler (v6.2.9): Extracting archive
  - Installing roots/support (1.0.0): Extracting archive
  - Installing ramsey/uuid (4.7.4): Extracting archive
  - Installing league/flysystem (3.14.0): Extracting archive
  - Installing illuminate/container (v9.52.6): Extracting archive
  - Installing illuminate/events (v9.52.6): Extracting archive
  - Installing illuminate/view (v9.52.6): Extracting archive
  - Installing symfony/routing (v6.2.8): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.2.1): Extracting archive
  - Installing symfony/event-dispatcher (v6.2.8): Extracting archive
  - Installing symfony/http-kernel (v6.2.9): Extracting archive
  - Installing symfony/polyfill-php72 (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive
  - Installing symfony/mime (v6.2.7): Extracting archive
  - Installing illuminate/http (v9.52.6): Extracting archive
  - Installing illuminate/routing (v9.52.6): Extracting archive
  - Installing illuminate/log (v9.52.6): Extracting archive
  - Installing symfony/process (v6.2.8): Extracting archive
  - Installing illuminate/console (v9.52.6): Extracting archive
  - Installing illuminate/config (v9.52.6): Extracting archive
  - Installing illuminate/cache (v9.52.6): Extracting archive
  - Installing roots/acorn (v3.1.0): Extracting archive
45 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
> Roots\Acorn\ComposerScripts::postAutoloadDump
39 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
Using version ^3.1 for roots/acorn

Versions

3.1

Please make a topic on https://discourse.roots.io/ for support requests

FWIW, that error message isn't lying to you or anything — the directory either isn't present or isn't writeable