Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

app/console cache:clear problem #19851

Copy link
Copy link
Closed
Closed
Copy link
@MicWit

Description

@MicWit
Issue body actions

I notice there have been quite a few issues with clearing the cashe with the "php bin/console cache:clear --env=prod" command. I have the same issue and I am running Virtual Box with a windows host and a Linux (RHEL) guest, with the web files stored on the host using a Virtual Box share under Guest Additions. When I run the command it will come up with the error that the rmdir command could not be run on dir xyz (this dir changes every time) as it is not empty.

I have mucked around with the rm command in RHEL on the shared folder (stored on the host) and found it is the '/var/cache/pro~' dir that is causing the issues (even though it normally says in the error it is a sub directory of it).

After a bit more mucking around, I found it is the ~ character causing the issues. I'm not sure if this will cause issues if the web server is also on windows (is someone able to check this), but it will be an issue if you are using a server on a UNIX based system and storing your files on a windows file system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.