I have a development server where I log in to (through ssh). Apple automatically creates the AppleDouble files/directories, which doesn't work well with Symfony. Every time I want to use a command (mostly doctrine:schema:update). I get AppleDouble errors about classes that don't exist.
Is there any way to tell Symfony to ignore those AppleDouble files?
I saw this issue on GitHub, but it's closed in favor of other issues, but I don't really know how to implement it. (https://github.com/symfony/symfony/issues/5877)
Try to disable this in OSX
itself:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Found on this thread.
The folder is created not by Apple but by NAS which you are using probably. Look at this FAQ
So if you use Netatalk you should probably look at its docs. Same folders are created by RedyNAS. But the common pattern as I understood is to run command from terminal that @Valentas described. And then remove the folders recursively.
If you have to hold folders and make Symfony work you should modify the value of Finder::vcsPatterns
. As the property is static you can add the following code to the app/console
(or bin/console
):
...
Finder::addVCSPattern('.AppleDouble');
$kernel = new AppKernel($env, $debug);
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With