-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent Folder creating multiple folders #273
Comments
Hmm, interesting. Which distro/version of Linux are you using on the server you are deploying to? |
Debian Jessie 64 Had it on two different servers now. Could be something I'm doing wrong as the duplicate folder isn't ever used and looks like the default in Laravel (with no cache/session files). |
Interesting, that sounds like exactly the same setup as my test VMs. i'll have a play around this evening and see if I can recreate it |
I believe I tried both Thanks for the swift response 👍 |
Not sure what you've looked into yet but this could be it: https://github.com/REBELinBLUE/deployer/blob/master/resources/scripts/deploy/ShareDirectory.sh#L3 |
Definitely that copy command. Getting this when I set shared folder to nginx user/group.
|
Hey, sorry for the late reply, I have been on holiday the last few weeks without a net connection. I will take a look at this issue this evening |
No problem! It's not made deployments fail but an interesting issue. If you need any logs or info, let me know. |
* master: (42 commits) Updated CHANGELOG Fixes #273 by not copying the shared folder/file from the release if it has already been copied Re-added postgres env Testing only 1 env Test Test Changed cat command for travis Fix code climate issues Changed build image Fixes #275 by checking that the --no-suggest option exists before attempting to use it Fixes #276 - Allows the passphrase for the private key to be set Fixed missing reason of rollback (#270) Updated dependencies Updated dependencies Update README.md Update README.md Update README.md Update README.md Last chance Setting a random JWT ...
Before submitting your issue, please make sure that you've checked all of the checkboxes below.
php -v
composer install --no-dev
from the root of your installation.npm install --production
from the root of your installation.rm -rf bootstrap/cache/*
from the root of your installation.To help us better understand your issue, please answer the following.
Expected behaviour
Symlinks a folder/file (defined) to the shared directory
Actual behaviour
I'm trying to link the storage folder (Laravel) and have it persistent over each release. It seems to be duplicating the folder on each deploy like it's copying it then symlinking.
I have this folder structure;
The symlink works correctly and points to the 1 level deep folder.
Steps to reproduce
Environment info
For both deployer and web servers
Operating System: Debian Jessie 64
PHP Version: PHP 7.0.11-1
The text was updated successfully, but these errors were encountered: