silverstripe / silverstripe-graphql

Serves Silverstripe data as GraphQL representations
BSD 3-Clause "New" or "Revised" License
52 stars 60 forks source link

"Failed to remove directory - Text file busy" on any form of schema generation #581

Closed tiller1010 closed 2 months ago

tiller1010 commented 2 months ago

Module version(s) affected

4.13

Description

ERROR [Emergency]: Uncaught Symfony\Component\Filesystem\Exception\IOException: Failed to remove directory "/home/vagrant/site-name/silverstripe-cache/vagrant/.graphql-generated/._05C": rmdir(/home/vagrant/site-name/silverstripe-cache/vagrant/.graphql-generated/._05C): Text file busy
IN GET dev/graphql/build
Line 203 in /home/vagrant/site-name/vendor/symfony/filesystem/Filesystem.php

How to reproduce

Possible Solution

No response

Additional Context

I stopped php-fpm and nginx, just in case these files were in use with those, but no luck.

Validations

GuySartorelli commented 2 months ago

I can't reproduce this - but regardless, Silverstripe CMS 4.x has entered its "security fixes only" support phase, which means it won't be getting any new bug fixes. You can find more information about this in the major release policy and the roadmap.

If you discover this affects Silverstripe CMS 5 and can provide steps that can be reliably followed to reproduce the bug, let me know and I'll reopen this issue.