Skip to content

[5.x]: @storage/runtime doesn't exist or isn't writable by PHP. Please fix that. (potential 5.10.4 regression) #18984

@jamesmacwhite

Description

@jamesmacwhite

What happened?

Description

I am getting the following error on Craft CMS 5.10.4 app, I think possibly related to #18936. For reference, I am not modifying anything to do with the storage/runtime path or setting in config/app.php in any custom way.

@storage/runtime doesn't exist or isn't writable by PHP. Please fix that.

As the path is literally being created as @storage/runtime the alias for @storage is not being parsed. This was in a console context, rather than web requests.

I think this is potentially a regression.

Craft CMS version

5.10.4

PHP version

8.4

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions