Open lfolco opened 4 years ago
I have seen this too. I am guessing it could be related to this change
which doesn't like the symlink.
The error itself also happens outside of using deployer when running bin/magento setup:di:compile
but the var/cache symlink seems relevant to the getRealPathSafety check.
That looks like a commit for 2.4, but we're on 2.3.6.
@fooman Have you found a workaround? I'm a bit stuck and may need to find an alternative deployment solution if I can't resolve this.
@fooman haven't fully figured it out yet either. Need to double check but I believe just removing those directories worked for me.
set('override_shared_dirs', []);
in your deploy.php
.
When I try to run
files:compile
, I get the following error:The permissions on the symlink are
drwxr-xr-x
and I'm running as the directory owner.We're using absolute symlinks, not sure if that's the issue? Running
files:compile
works when I do it in the context of a full deploy.